public class DateEditor extends AbstractParamEditor
Constructor and Description |
---|
DateEditor(Parameter parameter)
Creates the object with a given parameter.
|
Modifier and Type | Method and Description |
---|---|
JComponent |
getEditorComponent()
Gets the 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 DateEditor(Parameter parameter)
parameter
- the Parameter
to be edited.public JComponent getEditorComponent()
ParamEditor
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.