@PropertyEditorFor(value=java.awt.Color.class) public class ColorPropertyEditor extends AbstractPropertyEditor
Constructor and Description |
---|
ColorPropertyEditor() |
Modifier and Type | Method and Description |
---|---|
static String |
format(Color color) |
String |
getAsText() |
protected Formatter<Color> |
resolveFormatter() |
protected void |
setValueInternal(Object value) |
getAsTextInternal, getFormat, getFormattedValue, getValueInternal, illegalValue, illegalValue, setAsText, setAsTextInternal, setFormat, setFormattedValue, setValue
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
public String getAsText()
getAsText
in interface PropertyEditor
getAsText
in class AbstractPropertyEditor
protected void setValueInternal(Object value)
setValueInternal
in class AbstractPropertyEditor
protected Formatter<Color> resolveFormatter()
resolveFormatter
in class AbstractPropertyEditor