org.jdesktop.swingx.editors
Class DimensionPropertyEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.jdesktop.swingx.editors.DimensionPropertyEditor
- All Implemented Interfaces:
- PropertyEditor
public class DimensionPropertyEditor
- extends PropertyEditorSupport
Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getCustomEditor, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DimensionPropertyEditor
public DimensionPropertyEditor()
getValue
public Dimension getValue()
- Specified by:
getValue
in interface PropertyEditor
- Overrides:
getValue
in class PropertyEditorSupport
getJavaInitializationString
public String getJavaInitializationString()
- Specified by:
getJavaInitializationString
in interface PropertyEditor
- Overrides:
getJavaInitializationString
in class PropertyEditorSupport
setAsText
public void setAsText(String text)
throws IllegalArgumentException
- Specified by:
setAsText
in interface PropertyEditor
- Overrides:
setAsText
in class PropertyEditorSupport
- Throws:
IllegalArgumentException
getAsText
public String getAsText()
- Specified by:
getAsText
in interface PropertyEditor
- Overrides:
getAsText
in class PropertyEditorSupport