Class EnumerationValuePropertyEditor

  • All Implemented Interfaces:
    java.beans.PropertyEditor

    public abstract class EnumerationValuePropertyEditor
    extends java.beans.PropertyEditorSupport
    • Constructor Detail

      • EnumerationValuePropertyEditor

        public EnumerationValuePropertyEditor​(EnumerationValue defaultEnum,
                                              EnumerationValue... enums)
        Creates a new instance of EnumerationValuePropertyEditor
    • Method Detail

      • getJavaInitializationString

        public java.lang.String getJavaInitializationString()
        Specified by:
        getJavaInitializationString in interface java.beans.PropertyEditor
        Overrides:
        getJavaInitializationString in class java.beans.PropertyEditorSupport
      • getTags

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

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

        public void setAsText​(java.lang.String text)
                       throws java.lang.IllegalArgumentException
        Specified by:
        setAsText in interface java.beans.PropertyEditor
        Overrides:
        setAsText in class java.beans.PropertyEditorSupport
        Throws:
        java.lang.IllegalArgumentException
      • getValueByName

        private EnumerationValue getValueByName​(java.lang.String name)