Package org.esa.snap.core.param.editors
Class TextFieldXEditor
- java.lang.Object
-
- org.esa.snap.core.param.AbstractParamEditor
-
- org.esa.snap.core.param.AbstractParamXEditor
-
- org.esa.snap.core.param.editors.TextFieldXEditor
-
- All Implemented Interfaces:
ParamEditor
,ParamExceptionHandler
- Direct Known Subclasses:
FileEditor
public abstract class TextFieldXEditor extends AbstractParamXEditor
An editor which uses aJTextField
orJTextArea
and anotherJComponent
used to invoke an extra editor which lets the user edit the value in the text field.
-
-
Constructor Summary
Constructors Constructor Description TextFieldXEditor(Parameter parameter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JComponent
getEditorComponentChild()
JTextComponent
getTextComponent()
protected void
initUIChild()
void
updateUI()
Tells the UI to update it's state.-
Methods inherited from class org.esa.snap.core.param.AbstractParamXEditor
createXEditorButton, getEditorComponent, getXEditorButton, getXEditorIcon, getXEditorTitle, initUI, invokeXEditor
-
Methods inherited from class org.esa.snap.core.param.AbstractParamEditor
checkParameterValue, getComponent, getDefaultActionListener, getDefaultInputVerifier, getExceptionHandler, getLabelComponent, getParameter, getPhysUnitLabelComponent, handleParamException, isEnabled, nameComponent, nameEditorComponent, nameLabelComponent, nameUnitComponent, reconfigureUI, setDefaultLabelComponent, setDefaultPhysUnitLabelComponent, setEnabled, setLabelComponent, setParameterValue, setPhysUnitLabelComponent
-
-
-
-
Constructor Detail
-
TextFieldXEditor
public TextFieldXEditor(Parameter parameter)
-
-
Method Detail
-
getTextComponent
public JTextComponent getTextComponent()
-
getEditorComponentChild
public JComponent getEditorComponentChild()
- Specified by:
getEditorComponentChild
in classAbstractParamXEditor
-
updateUI
public void updateUI()
Description copied from class:AbstractParamXEditor
Tells the UI to update it's state.Note: If you override this method, please call the super class version first.
- Specified by:
updateUI
in interfaceParamEditor
- Overrides:
updateUI
in classAbstractParamXEditor
-
initUIChild
protected void initUIChild()
- Specified by:
initUIChild
in classAbstractParamXEditor
-
-