public class ComboBoxEditor extends AbstractParamEditor
JComboBox.| Constructor and Description |
|---|
ComboBoxEditor(Parameter parameter) |
| Modifier and Type | Method and Description |
|---|---|
JComboBox |
getComboBox() |
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 |
reconfigureUI()
Tells the UI component to reconfigure itself, since the parameter's properties have changed.
|
void |
updateUI()
Tells the UI to update it's state.
|
checkParameterValue, getComponent, getDefaultActionListener, getDefaultInputVerifier, getExceptionHandler, getLabelComponent, getParameter, getPhysUnitLabelComponent, handleParamException, isEnabled, nameComponent, nameEditorComponent, nameLabelComponent, nameUnitComponent, setDefaultLabelComponent, setDefaultPhysUnitLabelComponent, setEnabled, setLabelComponent, setParameterValue, setPhysUnitLabelComponentpublic ComboBoxEditor(Parameter parameter)
public JComboBox getComboBox()
public JTextComponent getTextComponent()
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()
AbstractParamEditorNote: If you override this method, you should call this base class version first.
updateUI in interface ParamEditorupdateUI in class AbstractParamEditorpublic void reconfigureUI()
AbstractParamEditorThe default implementation simply calls the updateUI method.
reconfigureUI in interface ParamEditorreconfigureUI in class AbstractParamEditorCopyright © 2002–2014 Brockmann Consult GmbH. All rights reserved.