@PropertyEditorFor(value=javafx.scene.paint.Color.class) public class ColorPropertyEditor extends AbstractPropertyEditor
Constructor and Description |
---|
ColorPropertyEditor() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
format(javafx.scene.paint.Color color) |
java.lang.String |
getAsText() |
protected double |
getMapValue(java.util.Map<?,?> map,
java.lang.String key,
double defaultValue) |
protected void |
handleAsList(java.util.List<?> list) |
protected void |
handleAsMap(java.util.Map<?,?> map) |
protected void |
handleAsNumber(java.lang.Number value) |
protected void |
handleAsString(java.lang.String str) |
protected double |
parse(java.lang.Number val) |
protected double |
parse(java.lang.String val) |
protected Formatter<javafx.scene.paint.Color> |
resolveFormatter() |
protected void |
setValueInternal(java.lang.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 static java.lang.String format(javafx.scene.paint.Color color)
public java.lang.String getAsText()
getAsText
in interface java.beans.PropertyEditor
getAsText
in class AbstractPropertyEditor
protected void setValueInternal(java.lang.Object value)
setValueInternal
in class AbstractPropertyEditor
protected Formatter<javafx.scene.paint.Color> resolveFormatter()
resolveFormatter
in class AbstractPropertyEditor
protected void handleAsString(java.lang.String str)
protected void handleAsList(java.util.List<?> list)
protected void handleAsMap(java.util.Map<?,?> map)
protected double parse(java.lang.String val)
protected double parse(java.lang.Number val)
protected double getMapValue(java.util.Map<?,?> map, java.lang.String key, double defaultValue)
protected void handleAsNumber(java.lang.Number value)