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