org.jdesktop.swingx.editors
Class Rectangle2DPropertyEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.jdesktop.swingx.editors.Rectangle2DPropertyEditor
- All Implemented Interfaces:
- PropertyEditor
public class Rectangle2DPropertyEditor
- 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 |
Rectangle2DPropertyEditor
public Rectangle2DPropertyEditor()
- Creates a new instance of Rectangle2DPropertyEditor
getValue
public Rectangle2D 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
main
public static void main(String... args)