@PropertyEditorFor(value=java.awt.GradientPaint.class) public class GradientPaintPropertyEditor extends AbstractPropertyEditor
Constructor and Description |
---|
GradientPaintPropertyEditor() |
Modifier and Type | Method and Description |
---|---|
String |
getAsText() |
protected Object |
getMapValue(Map<?,?> map,
String key,
Object defaultValue) |
protected void |
handleAsList(List<?> list) |
protected void |
handleAsMap(Map<?,?> map) |
protected void |
handleAsString(String str) |
protected float |
parse(Number val) |
protected float |
parse(String val) |
protected boolean |
parseBoolean(String val) |
protected float |
parseValue(Object value) |
protected void |
setValueInternal(Object value) |
getAsTextInternal, getFormat, getFormattedValue, getValueInternal, illegalValue, illegalValue, resolveFormatter, 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 void handleAsString(String str)
protected void handleAsList(List<?> list)
protected void handleAsMap(Map<?,?> map)
protected float parse(String val)
protected boolean parseBoolean(String val)
protected float parseValue(Object value)
protected float parse(Number val)