|
||||||||||
| 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.AbstractParamXEditor
public abstract class AbstractParamXEditor
A AbstractParamXEditor is base class for editors which use special purpose editors for editing a
parameter value. For example, the special purpose editor could be a color chooser or file chooser dialog. The special
purpose editor is invoked by pressing the "..." button usually located to the right of the value display.
| Constructor Summary | |
|---|---|
protected |
AbstractParamXEditor(Parameter parameter,
boolean useDefaultVerifier)
Creates the object with a given parameter. |
| Method Summary | |
|---|---|
protected AbstractButton |
createXEditorButton()
|
JComponent |
getEditorComponent()
Gets the UI component used to edit the parameter's value. |
abstract JComponent |
getEditorComponentChild()
|
protected AbstractButton |
getXEditorButton()
|
protected Icon |
getXEditorIcon()
Gets the "standard" edit icon used for parameter editors. |
protected String |
getXEditorTitle()
|
protected void |
initUI()
Initialized the UI of this editor. |
protected abstract void |
initUIChild()
|
protected abstract void |
invokeXEditor()
|
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 |
|---|
protected AbstractParamXEditor(Parameter parameter,
boolean useDefaultVerifier)
parameter - the Parameter to be edited.useDefaultVerifier - true if a default verifier should be used| Method Detail |
|---|
public JComponent 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()
Note: If you override this method, please call the super class version first.
updateUI in interface ParamEditorupdateUI in class AbstractParamEditorprotected abstract void initUIChild()
public abstract JComponent getEditorComponentChild()
protected abstract void invokeXEditor()
protected AbstractButton getXEditorButton()
protected AbstractButton createXEditorButton()
protected Icon getXEditorIcon()
protected String getXEditorTitle()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||