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, supportsCustomEditor
public EnumerationValuePropertyEditor(EnumerationValue defaultEnum, EnumerationValue... enums)
public String getJavaInitializationString()
getJavaInitializationString
in interface PropertyEditor
getJavaInitializationString
in class PropertyEditorSupport
public String[] getTags()
getTags
in interface PropertyEditor
getTags
in class PropertyEditorSupport
public String getAsText()
getAsText
in interface PropertyEditor
getAsText
in class PropertyEditorSupport
public void setAsText(String text) throws IllegalArgumentException
setAsText
in interface PropertyEditor
setAsText
in class PropertyEditorSupport
IllegalArgumentException
Copyright © 2019. All rights reserved.