Package VASSAL.preferences
Class ReadOnlyPrefs
java.lang.Object
VASSAL.preferences.ReadOnlyPrefs
A simple preferences class which permits reading stored values.
- Since:
- 3.1.0
- Author:
- Joel Uckelman
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ReadOnlyPrefs
Return the module-independent global preferences.getStoredValue
(String key) Return the value of a given preference.
-
Field Details
-
storedValues
-
-
Constructor Details
-
ReadOnlyPrefs
- Parameters:
name
- the module name of the preferences to read
-
ReadOnlyPrefs
-
-
Method Details
-
getStoredValue
-
getGlobalPrefs
Return the module-independent global preferences.- Returns:
- a global preferences object
-