Package 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
- Author:
- rbair
-
-
Constructor Summary
Constructors Constructor Description Rectangle2DPropertyEditor()
Creates a new instance of Rectangle2DPropertyEditor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAsText()
String
getJavaInitializationString()
Rectangle2D
getValue()
static void
main(String... args)
void
setAsText(String text)
-
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
-
-
-
-
Method Detail
-
getValue
public Rectangle2D getValue()
- Specified by:
getValue
in interfacePropertyEditor
- Overrides:
getValue
in classPropertyEditorSupport
-
getJavaInitializationString
public String getJavaInitializationString()
- Specified by:
getJavaInitializationString
in interfacePropertyEditor
- Overrides:
getJavaInitializationString
in classPropertyEditorSupport
-
setAsText
public void setAsText(String text) throws IllegalArgumentException
- Specified by:
setAsText
in interfacePropertyEditor
- Overrides:
setAsText
in classPropertyEditorSupport
- Throws:
IllegalArgumentException
-
getAsText
public String getAsText()
- Specified by:
getAsText
in interfacePropertyEditor
- Overrides:
getAsText
in classPropertyEditorSupport
-
main
public static void main(String... args)
-
-