|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.esa.beam.framework.param.AbstractParamEditor
org.esa.beam.framework.param.editors.TextFieldEditor
public class TextFieldEditor
An editor which uses a JTextField or JTextArea.
| Constructor Summary | |
|---|---|
TextFieldEditor(Parameter parameter)
|
|
| Method Summary | |
|---|---|
JComponent |
getComponent()
Gets a JTextField componet or a JTextArea wrapped with e.g. |
JComponent |
getEditorComponent()
Gets the UI component used to edit the parameter's value. |
JTextComponent |
getTextComponent()
|
protected void |
initUI()
Initialized the UI of this editor. |
void |
updateUI()
Tells the UI to update it's state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextFieldEditor(Parameter parameter)
| Method Detail |
|---|
public JTextComponent getTextComponent()
public JComponent getEditorComponent()
public JComponent getComponent()
JTextField componet or a JTextArea wrapped with e.g. a JScrollPane.
getComponent in interface ParamEditorgetComponent in class AbstractParamEditorJTextField componet or a JTextArea wrapped with e.g. a JScrollPane.getEditorComponent()protected void initUI()
AbstractParamEditorThe default implementation creates a label component for the parameter's "label" and "physicalUnit" properties.
initUI in class AbstractParamEditorpublic void updateUI()
AbstractParamEditorNote: If you override this method, you should call this base class version first.
updateUI in interface ParamEditorupdateUI in class AbstractParamEditor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||