public class BooleanEditor extends AbstractParamEditor
JCheckBox
.Constructor and Description |
---|
BooleanEditor(Parameter parameter) |
Modifier and Type | Method and Description |
---|---|
JCheckBox |
getCheckBox() |
JComponent |
getEditorComponent()
Gets the UI component used to edit the parameter's value.
|
protected void |
initUI()
Initialized the UI of this editor.
|
void |
updateUI()
Tells the UI to update it's state.
|
checkParameterValue, getComponent, getDefaultActionListener, getDefaultInputVerifier, getExceptionHandler, getLabelComponent, getParameter, getPhysUnitLabelComponent, handleParamException, isEnabled, nameComponent, nameEditorComponent, nameLabelComponent, nameUnitComponent, reconfigureUI, setDefaultLabelComponent, setDefaultPhysUnitLabelComponent, setEnabled, setLabelComponent, setParameterValue, setPhysUnitLabelComponent
public BooleanEditor(Parameter parameter)
public JCheckBox getCheckBox()
public JComponent getEditorComponent()
protected void initUI()
AbstractParamEditor
The default implementation creates a label component for the parameter's "label" and "physicalUnit" properties.
initUI
in class AbstractParamEditor
public void updateUI()
AbstractParamEditor
Note: If you override this method, you should call this base class version first.
updateUI
in interface ParamEditor
updateUI
in class AbstractParamEditor
Copyright © 2002–2014 Brockmann Consult GmbH. All rights reserved.