PropertyEditorpublic abstract class EnumerationValuePropertyEditor extends PropertyEditorSupport
| Constructor | Description |
|---|---|
EnumerationValuePropertyEditor(EnumerationValue defaultEnum,
EnumerationValue... enums) |
Creates a new instance of EnumerationValuePropertyEditor
|
| Modifier and Type | Method | Description |
|---|---|---|
String |
getAsText() |
|
String |
getJavaInitializationString() |
|
String[] |
getTags() |
|
void |
setAsText(String text) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, 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 © 2018. All rights reserved.