public abstract class BaseEnumEditor
extends java.beans.PropertyEditorSupport
| Constructor and Description |
|---|
BaseEnumEditor() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAsText() |
java.awt.Component |
getCustomEditor() |
protected abstract java.lang.String |
getEnumName() |
java.lang.String |
getJavaInitializationString() |
abstract java.lang.String[] |
getTags() |
boolean |
isPaintable() |
void |
paintValue(java.awt.Graphics gfx,
java.awt.Rectangle box) |
void |
setAsText(java.lang.String txt) |
void |
setValue(java.lang.Object o) |
boolean |
supportsCustomEditor() |
public java.lang.String getJavaInitializationString()
getJavaInitializationString in interface java.beans.PropertyEditorgetJavaInitializationString in class java.beans.PropertyEditorSupportpublic java.awt.Component getCustomEditor()
getCustomEditor in interface java.beans.PropertyEditorgetCustomEditor in class java.beans.PropertyEditorSupportpublic boolean supportsCustomEditor()
supportsCustomEditor in interface java.beans.PropertyEditorsupportsCustomEditor in class java.beans.PropertyEditorSupportpublic boolean isPaintable()
isPaintable in interface java.beans.PropertyEditorisPaintable in class java.beans.PropertyEditorSupportpublic void paintValue(java.awt.Graphics gfx,
java.awt.Rectangle box)
paintValue in interface java.beans.PropertyEditorpaintValue in class java.beans.PropertyEditorSupportpublic void setValue(java.lang.Object o)
setValue in interface java.beans.PropertyEditorsetValue in class java.beans.PropertyEditorSupportpublic void setAsText(java.lang.String txt)
setAsText in interface java.beans.PropertyEditorsetAsText in class java.beans.PropertyEditorSupportpublic java.lang.String getAsText()
getAsText in interface java.beans.PropertyEditorgetAsText in class java.beans.PropertyEditorSupportpublic abstract java.lang.String[] getTags()
getTags in interface java.beans.PropertyEditorgetTags in class java.beans.PropertyEditorSupportprotected abstract java.lang.String getEnumName()