AbstractAreaPainterBeanInfo.StylePropertyEditor, AbstractLayoutPainterBeanInfo.HorizontalAlignmentPropertyEditor, AbstractLayoutPainterBeanInfo.VerticalAlignmentPropertyEditor, AbstractPainterBeanInfo.InterpolationPropertyEditor, GlossPainterBeanInfo.GlossPositionPropertyEditor, ImagePainterBeanInfo.ScaleTypePropertyEditor, JXCollapsiblePaneBeanInfo.DirectionPropertyEditor, JXFrameBeanInfo.StartPositionPropertyEditor, JXHeaderBeanInfo.IconPositionPropertyEditor, NeonBorderEffectBeanInfo.BorderPositionPropertyEditorpublic class EnumPropertyEditor<E extends java.lang.Enum<E>>
extends java.beans.PropertyEditorSupport
| Constructor | Description |
|---|---|
EnumPropertyEditor(java.lang.Class<E> en) |
Creates a new instance of EnumPropertyEditor
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getAsText() |
|
java.lang.String |
getJavaInitializationString() |
|
java.lang.String[] |
getTags() |
|
void |
setAsText(java.lang.String text) |
public EnumPropertyEditor(java.lang.Class<E> en)
public java.lang.String[] getTags()
getTags in class java.beans.PropertyEditorSupportpublic java.lang.String getAsText()
getAsText in class java.beans.PropertyEditorSupportpublic void setAsText(java.lang.String text)
throws java.lang.IllegalArgumentException
setAsText in class java.beans.PropertyEditorSupportjava.lang.IllegalArgumentExceptionpublic java.lang.String getJavaInitializationString()
getJavaInitializationString in class java.beans.PropertyEditorSupport