org.jdesktop.swingx.editors
Class Point2DPropertyEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.jdesktop.swingx.editors.Point2DPropertyEditor
- All Implemented Interfaces:
- PropertyEditor
public class Point2DPropertyEditor
- 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 |
Point2DPropertyEditor
public Point2DPropertyEditor()
- Creates a new instance of Point2DPropertyEditor
getValue
public Point2D 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)