public abstract class EnumerationValuePropertyEditor extends PropertyEditorSupport
| Constructor and Description |
|---|
EnumerationValuePropertyEditor(EnumerationValue defaultEnum,
EnumerationValue... enums)
Creates a new instance of EnumerationValuePropertyEditor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAsText() |
String |
getJavaInitializationString() |
String[] |
getTags() |
void |
setAsText(String text) |
addPropertyChangeListener, firePropertyChange, getCustomEditor, getSource, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditorpublic EnumerationValuePropertyEditor(EnumerationValue defaultEnum, EnumerationValue... enums)
public String getJavaInitializationString()
getJavaInitializationString in interface PropertyEditorgetJavaInitializationString in class PropertyEditorSupportpublic String[] getTags()
getTags in interface PropertyEditorgetTags in class PropertyEditorSupportpublic String getAsText()
getAsText in interface PropertyEditorgetAsText in class PropertyEditorSupportpublic void setAsText(String text) throws IllegalArgumentException
setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupportIllegalArgumentExceptionCopyright © 2017. All Rights Reserved.