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) ShapeChooserchooser
-
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.ComponentgetCustomEditor()java.awt.ShapegetValue()booleanisPaintable()voidsetValue(java.lang.Object value)booleansupportsCustomEditor()
-
-
-
Field Detail
-
chooser
ShapeChooser chooser
-
-
Method Detail
-
getValue
public java.awt.Shape getValue()
- Specified by:
getValuein interfacejava.beans.PropertyEditor- Overrides:
getValuein classjava.beans.PropertyEditorSupport
-
setValue
public void setValue(java.lang.Object value)
- Specified by:
setValuein interfacejava.beans.PropertyEditor- Overrides:
setValuein classjava.beans.PropertyEditorSupport
-
isPaintable
public boolean isPaintable()
- Specified by:
isPaintablein interfacejava.beans.PropertyEditor- Overrides:
isPaintablein classjava.beans.PropertyEditorSupport
-
supportsCustomEditor
public boolean supportsCustomEditor()
- Specified by:
supportsCustomEditorin interfacejava.beans.PropertyEditor- Overrides:
supportsCustomEditorin classjava.beans.PropertyEditorSupport
-
getCustomEditor
public java.awt.Component getCustomEditor()
- Specified by:
getCustomEditorin interfacejava.beans.PropertyEditor- Overrides:
getCustomEditorin classjava.beans.PropertyEditorSupport
-
-