Package org.jdesktop.beans.editors
Class Point2DPropertyEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- org.jdesktop.beans.editors.Point2DPropertyEditor
-
- All Implemented Interfaces:
java.beans.PropertyEditor
public class Point2DPropertyEditor extends java.beans.PropertyEditorSupport
-
-
Constructor Summary
Constructors Constructor Description Point2DPropertyEditor()
Creates a new instance of Point2DPropertyEditor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAsText()
java.lang.String
getJavaInitializationString()
java.awt.geom.Point2D
getValue()
static void
main(java.lang.String... args)
void
setAsText(java.lang.String text)
private static void
test(java.lang.String input)
-
-
-
Method Detail
-
getValue
public java.awt.geom.Point2D getValue()
- Specified by:
getValue
in interfacejava.beans.PropertyEditor
- Overrides:
getValue
in classjava.beans.PropertyEditorSupport
-
getJavaInitializationString
public java.lang.String getJavaInitializationString()
- Specified by:
getJavaInitializationString
in interfacejava.beans.PropertyEditor
- Overrides:
getJavaInitializationString
in classjava.beans.PropertyEditorSupport
-
setAsText
public void setAsText(java.lang.String text) throws java.lang.IllegalArgumentException
- Specified by:
setAsText
in interfacejava.beans.PropertyEditor
- Overrides:
setAsText
in classjava.beans.PropertyEditorSupport
- Throws:
java.lang.IllegalArgumentException
-
getAsText
public java.lang.String getAsText()
- Specified by:
getAsText
in interfacejava.beans.PropertyEditor
- Overrides:
getAsText
in classjava.beans.PropertyEditorSupport
-
main
public static void main(java.lang.String... args)
-
test
private static void test(java.lang.String input)
-
-