@PropertyEditorFor(value=javafx.scene.paint.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 double |
getMapValue(Map<?,?> map,
String key,
double defaultValue) |
protected void |
handleAsList(List<?> list) |
protected void |
handleAsMap(Map<?,?> map) |
protected void |
handleAsNumber(Number value) |
protected void |
handleAsString(String str) |
protected double |
parse(Number val) |
protected double |
parse(String val) |
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, getCustomEditor, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, 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
protected void handleAsString(String str)
protected void handleAsList(List<?> list)
protected void handleAsMap(Map<?,?> map)
protected double parse(String val)
protected double parse(Number val)
protected void handleAsNumber(Number value)