public class EnumEditor extends java.beans.PropertyEditorSupport
Constructor and Description |
---|
EnumEditor(java.lang.Class cl)
Constructs a property editor for an enumerated type
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAsText() |
java.lang.String[] |
getTags() |
void |
setAsText(java.lang.String s) |
public EnumEditor(java.lang.Class cl)
cl
- the class object for the enumerated typepublic java.lang.String[] getTags()
getTags
in interface java.beans.PropertyEditor
getTags
in class java.beans.PropertyEditorSupport
public java.lang.String getAsText()
getAsText
in interface java.beans.PropertyEditor
getAsText
in class java.beans.PropertyEditorSupport
public void setAsText(java.lang.String s)
setAsText
in interface java.beans.PropertyEditor
setAsText
in class java.beans.PropertyEditorSupport