Package adams.gui.goe
Class MOAClassOptionEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- adams.gui.goe.AbstractPropertyEditorSupport
-
- adams.gui.goe.MOAClassOptionEditor
-
- All Implemented Interfaces:
adams.core.HelpProvider
,PropertyEditor
public class MOAClassOptionEditor extends adams.gui.goe.AbstractPropertyEditorSupport
An editor for MOA ClassOption objects.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
ClassOption
-
-
Field Summary
Fields Modifier and Type Field Description protected Component
m_CustomEditor
the custom editor.protected com.github.javacliparser.gui.ClassOptionEditComponent
m_EditComponent
the component for editing.
-
Constructor Summary
Constructors Constructor Description MOAClassOptionEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected JComponent
createCustomEditor()
Creates the custom editor.boolean
isPaintable()
Returns true since this editor is paintable.-
Methods inherited from class adams.gui.goe.AbstractPropertyEditorSupport
addWindowAdapter, cleanUp, closeDialog, createPopup, createTipText, createWindowAdapter, getChosenOption, getCustomEditor, getHelpDescription, getHelpIcon, getHelpTitle, getHelpURL, getParentDialog, getParentFrame, initForDisplay, initialize, resetChosenOption, setValue, supportsCustomEditor
-
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getJavaInitializationString, getSource, getTags, getValue, paintValue, removePropertyChangeListener, setAsText, setSource
-
-
-
-
Field Detail
-
m_CustomEditor
protected Component m_CustomEditor
the custom editor.
-
m_EditComponent
protected com.github.javacliparser.gui.ClassOptionEditComponent m_EditComponent
the component for editing.
-
-
Method Detail
-
isPaintable
public boolean isPaintable()
Returns true since this editor is paintable.- Specified by:
isPaintable
in interfacePropertyEditor
- Overrides:
isPaintable
in classadams.gui.goe.AbstractPropertyEditorSupport
- Returns:
- always true.
-
createCustomEditor
protected JComponent createCustomEditor()
Creates the custom editor.- Specified by:
createCustomEditor
in classadams.gui.goe.AbstractPropertyEditorSupport
- Returns:
- the editor
-
-