Class ColorPropertyEditor
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.extensions.legacy.charts.propertyeditor.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 voidaddPropertyChangeListener(PropertyChangeListener listener)StringgetAsText()ComponentgetCustomEditor()StringgetJavaInitializationString()String[]getTags()ObjectgetValue()booleanisPaintable()voidpaintValue(Graphics gfx, Rectangle box)voidremovePropertyChangeListener(PropertyChangeListener listener)voidsetAsText(String text)voidsetValue(Object value)booleansupportsCustomEditor()
-
-
-
Method Detail
-
setValue
public void setValue(Object value)
- Specified by:
setValuein interfacePropertyEditor
-
getValue
public Object getValue()
- Specified by:
getValuein interfacePropertyEditor
-
isPaintable
public boolean isPaintable()
- Specified by:
isPaintablein interfacePropertyEditor
-
paintValue
public void paintValue(Graphics gfx, Rectangle box)
- Specified by:
paintValuein interfacePropertyEditor
-
getJavaInitializationString
public String getJavaInitializationString()
- Specified by:
getJavaInitializationStringin interfacePropertyEditor
-
getAsText
public String getAsText()
- Specified by:
getAsTextin interfacePropertyEditor
-
setAsText
public void setAsText(String text) throws IllegalArgumentException
- Specified by:
setAsTextin interfacePropertyEditor- Throws:
IllegalArgumentException
-
getTags
public String[] getTags()
- Specified by:
getTagsin interfacePropertyEditor
-
getCustomEditor
public Component getCustomEditor()
- Specified by:
getCustomEditorin interfacePropertyEditor
-
supportsCustomEditor
public boolean supportsCustomEditor()
- Specified by:
supportsCustomEditorin interfacePropertyEditor
-
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
- Specified by:
addPropertyChangeListenerin interfacePropertyEditor
-
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
- Specified by:
removePropertyChangeListenerin interfacePropertyEditor
-
-