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