|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.beans.PropertyEditorSupport
atg.core.util.Enum.EnumEditor
public abstract static class Enum.EnumEditor
Utility class to allow Enum objects to be used as properties of JavaBeans; the editor exposes tag values equal to the Enum values' logical names.
| Constructor Summary | |
|---|---|
Enum.EnumEditor()
|
|
| Method Summary | |
|---|---|
protected abstract java.lang.Class |
getEnumClass()
|
java.lang.String[] |
getTags()
|
void |
setAsText(java.lang.String n)
Set the current value using the Enum subclass object's name. |
| Methods inherited from class java.beans.PropertyEditorSupport |
|---|
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Enum.EnumEditor()
| Method Detail |
|---|
protected abstract java.lang.Class getEnumClass()
public java.lang.String[] getTags()
getTags in interface java.beans.PropertyEditorgetTags in class java.beans.PropertyEditorSupportpublic void setAsText(java.lang.String n)
setAsText in interface java.beans.PropertyEditorsetAsText in class java.beans.PropertyEditorSupport
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||