Package org.jdesktop.beans.editors
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 java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getSource, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
-
Field Details
-
en
-
set
-
-
Constructor Details
-
EnumPropertyEditor
Creates a new instance of EnumPropertyEditor
-
-
Method Details
-
getTags
- Specified by:
getTags
in interfacePropertyEditor
- Overrides:
getTags
in classPropertyEditorSupport
-
getAsText
- Specified by:
getAsText
in interfacePropertyEditor
- Overrides:
getAsText
in classPropertyEditorSupport
-
setAsText
- Specified by:
setAsText
in interfacePropertyEditor
- Overrides:
setAsText
in classPropertyEditorSupport
- Throws:
IllegalArgumentException
-
getJavaInitializationString
- Specified by:
getJavaInitializationString
in interfacePropertyEditor
- Overrides:
getJavaInitializationString
in classPropertyEditorSupport
-