java.beans.PropertyEditor
public abstract class EnumerationValuePropertyEditor
extends java.beans.PropertyEditorSupport
Constructor | Description |
---|---|
EnumerationValuePropertyEditor(EnumerationValue defaultEnum,
EnumerationValue... enums) |
Creates a new instance of EnumerationValuePropertyEditor
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getAsText() |
|
java.lang.String |
getJavaInitializationString() |
|
java.lang.String[] |
getTags() |
|
void |
setAsText(java.lang.String text) |
public EnumerationValuePropertyEditor(EnumerationValue defaultEnum, EnumerationValue... enums)
public java.lang.String getJavaInitializationString()
getJavaInitializationString
in interface java.beans.PropertyEditor
getJavaInitializationString
in class java.beans.PropertyEditorSupport
public 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 text) throws java.lang.IllegalArgumentException
setAsText
in interface java.beans.PropertyEditor
setAsText
in class java.beans.PropertyEditorSupport
java.lang.IllegalArgumentException