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