org.esa.beam.visat.dialogs
Class DateEditor

java.lang.Object
  extended by org.esa.beam.framework.param.AbstractParamEditor
      extended by org.esa.beam.visat.dialogs.DateEditor
All Implemented Interfaces:
ParamEditor, ParamExceptionHandler

public class DateEditor
extends AbstractParamEditor


Constructor Summary
DateEditor(Parameter parameter)
          Creates the object with a given parameter.
 
Method Summary
 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.
 
Methods inherited from class org.esa.beam.framework.param.AbstractParamEditor
checkParameterValue, getComponent, getDefaultActionListener, getDefaultInputVerifier, getExceptionHandler, getLabelComponent, getParameter, getPhysUnitLabelComponent, handleParamException, isEnabled, nameComponent, nameEditorComponent, nameLabelComponent, nameUnitComponent, reconfigureUI, setDefaultLabelComponent, setDefaultPhysUnitLabelComponent, setEnabled, setLabelComponent, setParameterValue, setPhysUnitLabelComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateEditor

public DateEditor(Parameter parameter)
Creates the object with a given parameter.

Parameters:
parameter - the Parameter to be edited.
Method Detail

getEditorComponent

public JComponent getEditorComponent()
Description copied from interface: ParamEditor
Gets the component used to edit the parameter's value.

Returns:
the UI editor component

initUI

protected void initUI()
Description copied from class: AbstractParamEditor
Initialized the UI of this editor. Called only once within this editor's constructor.

The default implementation creates a label component for the parameter's "label" and "physicalUnit" properties.

Overrides:
initUI in class AbstractParamEditor

updateUI

public void updateUI()
Description copied from class: AbstractParamEditor
Tells the UI to update it's state. The default implementations en-/disables the label components (if any) of this editor.

Note: If you override this method, you should call this base class version first.

Specified by:
updateUI in interface ParamEditor
Overrides:
updateUI in class AbstractParamEditor


Copyright © 2002-2013 Brockmann Consult GmbH. All Rights Reserved.