Package gda.spring.propertyeditors
Class DimensionPropertyEditor
java.lang.Object
java.beans.PropertyEditorSupport
gda.spring.propertyeditors.DimensionPropertyEditor
- All Implemented Interfaces:
PropertyEditor
A
PropertyEditor for Dimension objects. Strings must be in the format "x, y"; for example,
"640, 480".-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
-
Constructor Details
-
DimensionPropertyEditor
public DimensionPropertyEditor()
-
-
Method Details
-
setAsText
- Specified by:
setAsTextin interfacePropertyEditor- Overrides:
setAsTextin classPropertyEditorSupport- Throws:
IllegalArgumentException
-
getValue
- Specified by:
getValuein interfacePropertyEditor- Overrides:
getValuein classPropertyEditorSupport
-