Class GeneiousPreferences.GeneiousPreference

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addChangelistener​(org.virion.jam.util.SimpleListener changeListener)
      Add a listener to this preference which will get fired whenever the current value of the preference is changed.
      java.lang.String getCode()
      A unique identifier for this preference.
      java.lang.String getName()
      The label displayed next to the input component (eg.
      boolean isProOnly()
      Does this preference requires an active license?
      void removeChangeListener​(org.virion.jam.util.SimpleListener changeListener)  
      void setProOnly​(boolean proOnly)  
      • Methods inherited from class java.lang.Object

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

      • addChangelistener

        public void addChangelistener​(org.virion.jam.util.SimpleListener changeListener)
        Add a listener to this preference which will get fired whenever the current value of the preference is changed.
        Parameters:
        changeListener - to add
      • removeChangeListener

        public void removeChangeListener​(org.virion.jam.util.SimpleListener changeListener)
        Parameters:
        changeListener - to remove
      • isProOnly

        public boolean isProOnly()
        Does this preference requires an active license?
        Returns:
        True if requires an active license, false otherwise
      • setProOnly

        public void setProOnly​(boolean proOnly)
        Parameters:
        proOnly - True if this preference requires an active license, false otherwise
      • getName

        public java.lang.String getName()
        The label displayed next to the input component (eg. TextField) for this preference.
        Returns:
        The preference's name.
      • getCode

        public java.lang.String getCode()
        A unique identifier for this preference.
        Returns:
        The preference's code.