Class ColorPropertyEditor
- java.lang.Object
-
- org.pentaho.reporting.libraries.designtime.swing.propertyeditors.ColorPropertyEditor
-
- All Implemented Interfaces:
PropertyEditor
public class ColorPropertyEditor extends Object implements PropertyEditor
-
-
Constructor Summary
Constructors Constructor Description ColorPropertyEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPropertyChangeListener(PropertyChangeListener listener)
String
getAsText()
Component
getCustomEditor()
String
getJavaInitializationString()
String[]
getTags()
Object
getValue()
boolean
isPaintable()
void
paintValue(Graphics gfx, Rectangle box)
void
removePropertyChangeListener(PropertyChangeListener listener)
void
setAsText(String text)
void
setValue(Object value)
boolean
supportsCustomEditor()
-
-
-
Method Detail
-
setValue
public void setValue(Object value)
- Specified by:
setValue
in interfacePropertyEditor
-
getValue
public Object getValue()
- Specified by:
getValue
in interfacePropertyEditor
-
isPaintable
public boolean isPaintable()
- Specified by:
isPaintable
in interfacePropertyEditor
-
paintValue
public void paintValue(Graphics gfx, Rectangle box)
- Specified by:
paintValue
in interfacePropertyEditor
-
getJavaInitializationString
public String getJavaInitializationString()
- Specified by:
getJavaInitializationString
in interfacePropertyEditor
-
getAsText
public String getAsText()
- Specified by:
getAsText
in interfacePropertyEditor
-
setAsText
public void setAsText(String text) throws IllegalArgumentException
- Specified by:
setAsText
in interfacePropertyEditor
- Throws:
IllegalArgumentException
-
getTags
public String[] getTags()
- Specified by:
getTags
in interfacePropertyEditor
-
getCustomEditor
public Component getCustomEditor()
- Specified by:
getCustomEditor
in interfacePropertyEditor
-
supportsCustomEditor
public boolean supportsCustomEditor()
- Specified by:
supportsCustomEditor
in interfacePropertyEditor
-
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
- Specified by:
addPropertyChangeListener
in interfacePropertyEditor
-
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
- Specified by:
removePropertyChangeListener
in interfacePropertyEditor
-
-