|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ParamEditor
A ParamEditor provides a UI component which is used to modify the value of a parameter.
| Method Summary | |
|---|---|
JComponent |
getComponent()
Gets the component used in the GUI. |
JComponent |
getEditorComponent()
Gets the component used to edit the parameter's value. |
ParamExceptionHandler |
getExceptionHandler()
Returns an optional exception handler for this editor. |
JLabel |
getLabelComponent()
Gets the label component. |
Parameter |
getParameter()
Gets the parameter to which this editor belongs to. |
JLabel |
getPhysUnitLabelComponent()
Gets the physical unit label component. |
boolean |
isEnabled()
Checks whether or not the editor is enabled, |
void |
reconfigureUI()
Tells the UI to reconfigure itself, since the parameter's properties have changed. |
void |
setEnabled(boolean enabled)
Enables/disables this editor. |
void |
setLabelComponent(JLabel label)
Sets the label component. |
void |
setPhysUnitLabelComponent(JLabel label)
Sets the physical unit component. |
void |
updateUI()
Tells the UI to update it's state. |
| Method Detail |
|---|
Parameter getParameter()
JLabel getLabelComponent()
void setLabelComponent(JLabel label)
JLabel getPhysUnitLabelComponent()
void setPhysUnitLabelComponent(JLabel label)
JComponent getEditorComponent()
JComponent getComponent()
getEditorComponent() method. For example, the editor component could be a JTextArea, whereas
the actual component used in the GUI is a JScrollPane which decorates the text area field. In
most cases this method will simply return the editor component.
getEditorComponent()boolean isEnabled()
void setEnabled(boolean enabled)
void updateUI()
void reconfigureUI()
ParamExceptionHandler getExceptionHandler()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||