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