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