Package org.jdesktop.beans.editors
Class EnumPropertyEditor<E extends java.lang.Enum<E>>
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- org.jdesktop.beans.editors.EnumPropertyEditor<E>
-
- All Implemented Interfaces:
java.beans.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
public class EnumPropertyEditor<E extends java.lang.Enum<E>> extends java.beans.PropertyEditorSupport
-
-
Constructor Summary
Constructors Constructor Description EnumPropertyEditor(java.lang.Class<E> en)Creates a new instance of EnumPropertyEditor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAsText()java.lang.StringgetJavaInitializationString()java.lang.String[]getTags()voidsetAsText(java.lang.String text)
-
-
-
Constructor Detail
-
EnumPropertyEditor
public EnumPropertyEditor(java.lang.Class<E> en)
Creates a new instance of EnumPropertyEditor
-
-
Method Detail
-
getTags
public java.lang.String[] getTags()
- Specified by:
getTagsin interfacejava.beans.PropertyEditor- Overrides:
getTagsin classjava.beans.PropertyEditorSupport
-
getAsText
public java.lang.String getAsText()
- Specified by:
getAsTextin interfacejava.beans.PropertyEditor- Overrides:
getAsTextin classjava.beans.PropertyEditorSupport
-
setAsText
public void setAsText(java.lang.String text) throws java.lang.IllegalArgumentException- Specified by:
setAsTextin interfacejava.beans.PropertyEditor- Overrides:
setAsTextin classjava.beans.PropertyEditorSupport- Throws:
java.lang.IllegalArgumentException
-
getJavaInitializationString
public java.lang.String getJavaInitializationString()
- Specified by:
getJavaInitializationStringin interfacejava.beans.PropertyEditor- Overrides:
getJavaInitializationStringin classjava.beans.PropertyEditorSupport
-
-