Package org.jdesktop.swingx.editors
Class ShapePropertyEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- org.jdesktop.swingx.editors.ShapePropertyEditor
-
- All Implemented Interfaces:
PropertyEditor
public class ShapePropertyEditor extends PropertyEditorSupport
- Author:
- joshy
-
-
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 Component
getCustomEditor()
Shape
getValue()
boolean
isPaintable()
void
setValue(Object value)
boolean
supportsCustomEditor()
-
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getJavaInitializationString, getSource, getTags, paintValue, removePropertyChangeListener, setAsText, setSource
-
-
-
-
Method Detail
-
getValue
public Shape getValue()
- Specified by:
getValue
in interfacePropertyEditor
- Overrides:
getValue
in classPropertyEditorSupport
-
setValue
public void setValue(Object value)
- Specified by:
setValue
in interfacePropertyEditor
- Overrides:
setValue
in classPropertyEditorSupport
-
isPaintable
public boolean isPaintable()
- Specified by:
isPaintable
in interfacePropertyEditor
- Overrides:
isPaintable
in classPropertyEditorSupport
-
supportsCustomEditor
public boolean supportsCustomEditor()
- Specified by:
supportsCustomEditor
in interfacePropertyEditor
- Overrides:
supportsCustomEditor
in classPropertyEditorSupport
-
getCustomEditor
public Component getCustomEditor()
- Specified by:
getCustomEditor
in interfacePropertyEditor
- Overrides:
getCustomEditor
in classPropertyEditorSupport
-
-