Class GeneiousPreferences.GeneiousPreference
- java.lang.Object
-
- com.biomatters.geneious.publicapi.plugin.GeneiousPreferences.GeneiousPreference
-
- Direct Known Subclasses:
GeneiousPreferences.GeneiousCheckBoxPreference
,GeneiousPreferences.GeneiousComboBoxPreference
,GeneiousPreferences.GeneiousDependentPreference
,GeneiousPreferences.GeneiousRadioButtonPreference
,GeneiousPreferences.GeneiousStringPreference
- Enclosing interface:
- GeneiousPreferences
public abstract static class GeneiousPreferences.GeneiousPreference extends java.lang.Object
Super class for allGeneiousPreferences.GeneiousPreference
types. Do not extend this for a custom implementation, only the default implementations are currently recognized by the program.
-
-
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)
-
-
-
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.
-
-