Package org.esa.snap.core.param.editors
Class ColorEditor
java.lang.Object
org.esa.snap.core.param.AbstractParamEditor
org.esa.snap.core.param.AbstractParamXEditor
org.esa.snap.core.param.editors.ColorEditor
- All Implemented Interfaces:
ParamEditor,ParamExceptionHandler
An editor which uses a coloured
JComponent if, when clicked, opens a JColorChooser.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.esa.snap.core.param.editors.ColorEditor.ColorDisplayprotected voidprotected voidvoidupdateUI()Tells the UI to update it's state.Methods inherited from class org.esa.snap.core.param.AbstractParamXEditor
createXEditorButton, getEditorComponent, getXEditorButton, getXEditorIcon, getXEditorTitle, initUIMethods inherited from class org.esa.snap.core.param.AbstractParamEditor
checkParameterValue, getComponent, getDefaultActionListener, getDefaultInputVerifier, getExceptionHandler, getLabelComponent, getParameter, getPhysUnitLabelComponent, handleParamException, isEnabled, nameComponent, nameEditorComponent, nameLabelComponent, nameUnitComponent, reconfigureUI, setDefaultLabelComponent, setDefaultPhysUnitLabelComponent, setEnabled, setLabelComponent, setParameterValue, setPhysUnitLabelComponent
-
Constructor Details
-
ColorEditor
-
-
Method Details
-
getColorDisplay
public org.esa.snap.core.param.editors.ColorEditor.ColorDisplay getColorDisplay() -
getEditorComponentChild
- Specified by:
getEditorComponentChildin classAbstractParamXEditor
-
initUIChild
protected void initUIChild()- Specified by:
initUIChildin classAbstractParamXEditor
-
updateUI
public void updateUI()Description copied from class:AbstractParamXEditorTells the UI to update it's state.Note: If you override this method, please call the super class version first.
- Specified by:
updateUIin interfaceParamEditor- Overrides:
updateUIin classAbstractParamXEditor
-
invokeXEditor
protected void invokeXEditor()- Specified by:
invokeXEditorin classAbstractParamXEditor
-