@PropertyEditorFor(value=java.awt.LinearGradientPaint.class) public class LinearGradientPaintPropertyEditor extends AbstractPropertyEditor
Constructor and Description |
---|
LinearGradientPaintPropertyEditor() |
Modifier and Type | Method and Description |
---|---|
protected String |
formatColors(Color[] colors) |
protected String |
formatFractions(float[] fractions) |
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 Color[] |
parseColors(Object source,
List<?> list) |
protected Color[] |
parseColors(Object source,
Object obj) |
protected Color[] |
parseColors(Object source,
String str) |
protected MultipleGradientPaint.CycleMethod |
parseCyclicMethod(Object source,
String str) |
protected float[] |
parseFractions(Object source,
List<?> list) |
protected float[] |
parseFractions(Object source,
Object obj) |
protected float[] |
parseFractions(Object source,
String str) |
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 String formatFractions(float[] fractions)
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 MultipleGradientPaint.CycleMethod parseCyclicMethod(Object source, String str)
protected float parse(String val)
protected float parseValue(Object value)
protected float parse(Number val)