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 StringgetAsText()StringgetJavaInitializationString()Rectangle2DgetValue()static voidmain(String... args)voidsetAsText(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:
getValuein interfacePropertyEditor- Overrides:
getValuein classPropertyEditorSupport
-
getJavaInitializationString
public String getJavaInitializationString()
- Specified by:
getJavaInitializationStringin interfacePropertyEditor- Overrides:
getJavaInitializationStringin classPropertyEditorSupport
-
setAsText
public void setAsText(String text) throws IllegalArgumentException
- Specified by:
setAsTextin interfacePropertyEditor- Overrides:
setAsTextin classPropertyEditorSupport- Throws:
IllegalArgumentException
-
getAsText
public String getAsText()
- Specified by:
getAsTextin interfacePropertyEditor- Overrides:
getAsTextin classPropertyEditorSupport
-
main
public static void main(String... args)
-
-