Class EnumPropertyEditor<E extends Enum<E>>
java.lang.Object
java.beans.PropertyEditorSupport
org.jdesktop.beans.editors.EnumPropertyEditor<E>
- All Implemented Interfaces:
PropertyEditor
- Direct Known Subclasses:
AbstractAreaPainterBeanInfo.StylePropertyEditor, AbstractLayoutPainterBeanInfo.HorizontalAlignmentPropertyEditor, AbstractLayoutPainterBeanInfo.VerticalAlignmentPropertyEditor, AbstractPainterBeanInfo.InterpolationPropertyEditor, BusyPainterBeanInfo.DirectionPropertyEditor, GlossPainterBeanInfo.GlossPositionPropertyEditor, ImagePainterBeanInfo.ScaleTypePropertyEditor, JXCollapsiblePaneBeanInfo.DirectionPropertyEditor, JXFrameBeanInfo.StartPositionPropertyEditor, JXHeaderBeanInfo.IconPositionPropertyEditor, NeonBorderEffectBeanInfo.BorderPositionPropertyEditor
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEnumPropertyEditor(Class<E> en) Creates a new instance of EnumPropertyEditor -
Method Summary
Methods inherited from class PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getSource, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
-
Field Details
-
en
-
set
-
-
Constructor Details
-
EnumPropertyEditor
-
-
Method Details
-
getTags
- Specified by:
getTagsin interfacePropertyEditor- Overrides:
getTagsin classPropertyEditorSupport
-
getAsText
- Specified by:
getAsTextin interfacePropertyEditor- Overrides:
getAsTextin classPropertyEditorSupport
-
setAsText
- Specified by:
setAsTextin interfacePropertyEditor- Overrides:
setAsTextin classPropertyEditorSupport- Throws:
IllegalArgumentException
-
getJavaInitializationString
- Specified by:
getJavaInitializationStringin interfacePropertyEditor- Overrides:
getJavaInitializationStringin classPropertyEditorSupport
-