|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.beans.PropertyEditorSupport
adams.gui.goe.AbstractPropertyEditorSupport
adams.gui.goe.MOAClassOptionEditor
public class MOAClassOptionEditor
An editor for MOA ClassOption objects.
ClassOption| Field Summary | |
|---|---|
protected Component |
m_CustomEditor
the custom editor. |
protected moa.gui.ClassOptionEditComponent |
m_EditComponent
the component for editing. |
| Fields inherited from class adams.gui.goe.AbstractPropertyEditorSupport |
|---|
APPROVE_OPTION, CANCEL_OPTION, m_ChosenOption, m_WindowAdapter |
| Constructor Summary | |
|---|---|
MOAClassOptionEditor()
|
|
| Method Summary | |
|---|---|
protected JComponent |
createCustomEditor()
Creates the custom editor. |
boolean |
isPaintable()
Returns true since this editor is paintable. |
static String |
toString(AbstractOption option,
Object object)
Returns the color as string. |
static Object |
valueOf(AbstractOption option,
String str)
Returns a color generated from the string. |
| Methods inherited from class adams.gui.goe.AbstractPropertyEditorSupport |
|---|
addWindowAdapter, cleanUp, closeDialog, createPopup, createWindowAdapter, getChosenOption, getCustomEditor, initForDisplay, initialize, resetChosenOption, setValue, supportsCustomEditor |
| Methods inherited from class java.beans.PropertyEditorSupport |
|---|
addPropertyChangeListener, firePropertyChange, getAsText, getJavaInitializationString, getSource, getTags, getValue, paintValue, removePropertyChangeListener, setAsText, setSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Component m_CustomEditor
protected moa.gui.ClassOptionEditComponent m_EditComponent
| Constructor Detail |
|---|
public MOAClassOptionEditor()
| Method Detail |
|---|
public boolean isPaintable()
isPaintable in interface PropertyEditorisPaintable in class AbstractPropertyEditorSupportprotected JComponent createCustomEditor()
createCustomEditor in class AbstractPropertyEditorSupport
public static String toString(AbstractOption option,
Object object)
option - the current optionobject - the color object to convert
public static Object valueOf(AbstractOption option,
String str)
option - the current optionstr - the string to convert to a color
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||