org.esa.beam.framework.param.editors
Class ColorEditor

java.lang.Object
  extended by org.esa.beam.framework.param.AbstractParamEditor
      extended by org.esa.beam.framework.param.AbstractParamXEditor
          extended by org.esa.beam.framework.param.editors.ColorEditor
All Implemented Interfaces:
ParamEditor, ParamExceptionHandler

public class ColorEditor
extends AbstractParamXEditor

An editor which uses a coloured JComponent if, when clicked, opens a JColorChooser.


Constructor Summary
ColorEditor(Parameter parameter)
           
 
Method Summary
 org.esa.beam.framework.param.editors.ColorEditor.ColorDisplay getColorDisplay()
           
 JComponent getEditorComponentChild()
           
protected  void initUIChild()
           
protected  void invokeXEditor()
           
 void updateUI()
          Tells the UI to update it's state.
 
Methods inherited from class org.esa.beam.framework.param.AbstractParamXEditor
createXEditorButton, getEditorComponent, getXEditorButton, getXEditorIcon, getXEditorTitle, initUI
 
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

ColorEditor

public ColorEditor(Parameter parameter)
Method Detail

getColorDisplay

public org.esa.beam.framework.param.editors.ColorEditor.ColorDisplay getColorDisplay()

getEditorComponentChild

public JComponent getEditorComponentChild()
Specified by:
getEditorComponentChild in class AbstractParamXEditor

initUIChild

protected void initUIChild()
Specified by:
initUIChild in class AbstractParamXEditor

updateUI

public void updateUI()
Description copied from class: AbstractParamXEditor
Tells the UI to update it's state.

Note: If you override this method, please call the super class version first.

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

invokeXEditor

protected void invokeXEditor()
Specified by:
invokeXEditor in class AbstractParamXEditor


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