Class PaintPropertyEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.jdesktop.beans.editors.PaintPropertyEditor
- All Implemented Interfaces:
PropertyEditor
Two parts to this property editor. The first part is a simple dropdown.
The second part is a complicated UI for constructing multiple "layers" of
various different Painters, including gradient paints.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getSource, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
-
Field Details
-
DEFAULT_PAINTS
-
-
Constructor Details
-
PaintPropertyEditor
public PaintPropertyEditor()Creates a new instance of PainterPropertyEditor
-
-
Method Details
-
getTags
- Specified by:
getTagsin interfacePropertyEditor- Overrides:
getTagsin classPropertyEditorSupport
-
getValue
- Specified by:
getValuein interfacePropertyEditor- Overrides:
getValuein 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
-