Class EnumEditor

  • All Implemented Interfaces:
    java.beans.PropertyEditor

    public class EnumEditor
    extends java.beans.PropertyEditorSupport
    • Constructor Summary

      Constructors 
      Constructor Description
      EnumEditor()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAsText()  
      java.lang.Enum<?>[] getEnums()  
      java.lang.String[] getTags()  
      java.lang.Object getValue()  
      void setAsText​(java.lang.String s)  
      void setValue​(java.lang.Object o)  
      • Methods inherited from class java.beans.PropertyEditorSupport

        addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EnumEditor

        public EnumEditor()
    • Method Detail

      • setValue

        public void setValue​(java.lang.Object o)
        Specified by:
        setValue in interface java.beans.PropertyEditor
        Overrides:
        setValue in class java.beans.PropertyEditorSupport
        See Also:
        PropertyEditor.setValue(java.lang.Object)
      • getValue

        public java.lang.Object getValue()
        Specified by:
        getValue in interface java.beans.PropertyEditor
        Overrides:
        getValue in class java.beans.PropertyEditorSupport
        See Also:
        PropertyEditor.getValue()
      • getTags

        public java.lang.String[] getTags()
        Specified by:
        getTags in interface java.beans.PropertyEditor
        Overrides:
        getTags in class java.beans.PropertyEditorSupport
        See Also:
        PropertyEditor.getTags()
      • getEnums

        public java.lang.Enum<?>[] getEnums()
      • getAsText

        public java.lang.String getAsText()
        Specified by:
        getAsText in interface java.beans.PropertyEditor
        Overrides:
        getAsText in class java.beans.PropertyEditorSupport
        See Also:
        PropertyEditor.getAsText()
      • setAsText

        public void setAsText​(java.lang.String s)
        Specified by:
        setAsText in interface java.beans.PropertyEditor
        Overrides:
        setAsText in class java.beans.PropertyEditorSupport
        See Also:
        PropertyEditor.setAsText(java.lang.String)