Package org.jdesktop.beans.editors
Class ShapePropertyEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- org.jdesktop.beans.editors.ShapePropertyEditor
-
- All Implemented Interfaces:
java.beans.PropertyEditor
public class ShapePropertyEditor extends java.beans.PropertyEditorSupport
-
-
Field Summary
Fields Modifier and Type Field Description (package private) ShapeChooser
chooser
-
Constructor Summary
Constructors Constructor Description ShapePropertyEditor()
Creates a new instance of ShapePropertyEditor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Component
getCustomEditor()
java.awt.Shape
getValue()
boolean
isPaintable()
void
setValue(java.lang.Object value)
boolean
supportsCustomEditor()
-
-
-
Field Detail
-
chooser
ShapeChooser chooser
-
-
Method Detail
-
getValue
public java.awt.Shape getValue()
- Specified by:
getValue
in interfacejava.beans.PropertyEditor
- Overrides:
getValue
in classjava.beans.PropertyEditorSupport
-
setValue
public void setValue(java.lang.Object value)
- Specified by:
setValue
in interfacejava.beans.PropertyEditor
- Overrides:
setValue
in classjava.beans.PropertyEditorSupport
-
isPaintable
public boolean isPaintable()
- Specified by:
isPaintable
in interfacejava.beans.PropertyEditor
- Overrides:
isPaintable
in classjava.beans.PropertyEditorSupport
-
supportsCustomEditor
public boolean supportsCustomEditor()
- Specified by:
supportsCustomEditor
in interfacejava.beans.PropertyEditor
- Overrides:
supportsCustomEditor
in classjava.beans.PropertyEditorSupport
-
getCustomEditor
public java.awt.Component getCustomEditor()
- Specified by:
getCustomEditor
in interfacejava.beans.PropertyEditor
- Overrides:
getCustomEditor
in classjava.beans.PropertyEditorSupport
-
-