Class Paint2PropertyEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.jdesktop.beans.editors.Paint2PropertyEditor
- All Implemented Interfaces:
PropertyEditor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetValue()booleanvoidpaintValue(Graphics g, Rectangle box) voidvoidbooleanMethods inherited from class PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getSource, getTags, removePropertyChangeListener, setSource
-
Field Details
-
paint
Paint paint -
picker
PaintPicker picker
-
-
Constructor Details
-
Paint2PropertyEditor
public Paint2PropertyEditor()Creates a new instance of Paint2PropertyEditor
-
-
Method Details
-
getValue
- Specified by:
getValuein interfacePropertyEditor- Overrides:
getValuein classPropertyEditorSupport
-
setValue
- Specified by:
setValuein interfacePropertyEditor- Overrides:
setValuein classPropertyEditorSupport
-
getJavaInitializationString
- Specified by:
getJavaInitializationStringin interfacePropertyEditor- Overrides:
getJavaInitializationStringin classPropertyEditorSupport
-
setAsText
- Specified by:
setAsTextin interfacePropertyEditor- Overrides:
setAsTextin classPropertyEditorSupport- Throws:
IllegalArgumentException
-
getAsText
- Specified by:
getAsTextin interfacePropertyEditor- Overrides:
getAsTextin classPropertyEditorSupport
-
paintValue
- Specified by:
paintValuein interfacePropertyEditor- Overrides:
paintValuein classPropertyEditorSupport
-
isPaintable
public boolean isPaintable()- Specified by:
isPaintablein interfacePropertyEditor- Overrides:
isPaintablein classPropertyEditorSupport
-
supportsCustomEditor
public boolean supportsCustomEditor()- Specified by:
supportsCustomEditorin interfacePropertyEditor- Overrides:
supportsCustomEditorin classPropertyEditorSupport
-
getCustomEditor
- Specified by:
getCustomEditorin interfacePropertyEditor- Overrides:
getCustomEditorin classPropertyEditorSupport
-