public class IlvColorModelPropertyEditor extends PropertyEditorSupport
Constructor and Description |
---|
IlvColorModelPropertyEditor()
Constructs an
IlvColorModelPropertyEditor |
Modifier and Type | Method and Description |
---|---|
String |
getAsText() |
Component |
getCustomEditor()
Returns the component to use in editing the current Color Model value.
|
String |
getJavaInitializationString() |
Object |
getValue()
Returns the current value of the editor.
|
boolean |
isPaintable()
This property editor supports painting.
|
void |
paintValue(Graphics gfx,
Rectangle box)
Displays a label to indicate that edition is possible.
|
void |
setValue(Object value) |
boolean |
supportsCustomEditor()
This property editor supports a custom editor.
|
addPropertyChangeListener, firePropertyChange, getSource, getTags, removePropertyChangeListener, setAsText, setSource
public IlvColorModelPropertyEditor()
IlvColorModelPropertyEditor
public String getAsText()
getAsText
in interface PropertyEditor
getAsText
in class PropertyEditorSupport
PropertyEditorSupport.getAsText()
public Component getCustomEditor()
IlvIntervalColorModelEditor
or an
IlvIndexColorModelEditor
getCustomEditor
in interface PropertyEditor
getCustomEditor
in class PropertyEditorSupport
PropertyEditorSupport.getCustomEditor()
,
IlvColorModelEditor.getComponent()
public String getJavaInitializationString()
getJavaInitializationString
in interface PropertyEditor
getJavaInitializationString
in class PropertyEditorSupport
PropertyEditorSupport.getJavaInitializationString()
public Object getValue()
getValue
in interface PropertyEditor
getValue
in class PropertyEditorSupport
public boolean isPaintable()
isPaintable
in interface PropertyEditor
isPaintable
in class PropertyEditorSupport
true
.public void paintValue(Graphics gfx, Rectangle box)
paintValue
in interface PropertyEditor
paintValue
in class PropertyEditorSupport
PropertyEditorSupport.paintValue(java.awt.Graphics,
java.awt.Rectangle)
public void setValue(Object value)
setValue
in interface PropertyEditor
setValue
in class PropertyEditorSupport
PropertyEditorSupport.setValue(java.lang.Object)
public boolean supportsCustomEditor()
supportsCustomEditor
in interface PropertyEditor
supportsCustomEditor
in class PropertyEditorSupport
true
.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.