public abstract static class GeneiousPreferences.GeneiousPreference extends Object
GeneiousPreferences.GeneiousPreference types.
Do not extend this for a custom implementation, only the default
implementations are currently recognized by the program.| Modifier and Type | Method and Description |
|---|---|
void |
addChangelistener(SimpleListener changeListener)
Add a listener to this preference which will get fired whenever the current value
of the preference is changed.
|
String |
getCode()
A unique identifier for this preference.
|
String |
getName()
The label displayed next to the input component (eg.
|
boolean |
isProOnly()
Does this preference requires an active license?
|
void |
removeChangeListener(SimpleListener changeListener) |
void |
setProOnly(boolean proOnly) |
public void addChangelistener(SimpleListener changeListener)
changeListener - to addpublic void removeChangeListener(SimpleListener changeListener)
changeListener - to removepublic boolean isProOnly()
public void setProOnly(boolean proOnly)
proOnly - True if this preference requires an active license,
false otherwisepublic String getName()
public String getCode()