public static final class GeneiousPreferences.GeneiousCheckBoxPreference extends GeneiousPreferences.GeneiousPreference
| Constructor and Description |
|---|
GeneiousPreferences.GeneiousCheckBoxPreference(String code,
String name,
boolean defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getCurrentValue() |
void |
setCurrentValue(boolean currentValue)
This change will be
reflected in the preference dialog of the program.
|
addChangelistener, getCode, getName, isProOnly, removeChangeListener, setProOnlypublic GeneiousPreferences.GeneiousCheckBoxPreference(String code, String name, boolean defaultValue)
code - GeneiousPreferences.GeneiousPreference.codename - GeneiousPreferences.GeneiousPreference.namedefaultValue - value for this preference. This is used when the user has not previously
set a value for this preference. The associated CheckBox will be in this selection state
in that case.public boolean getCurrentValue()
public void setCurrentValue(boolean currentValue)
currentValue - the current value of this preference.