Package megamek.common.preference
Class PreferenceManager
java.lang.Object
megamek.common.preference.PreferenceManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
protected ClientPreferences
protected megamek.common.preference.PreferenceStore
static final String
protected static PreferenceManager
static final String
protected Hashtable<String,
IPreferenceStore> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClientPreferences
static PreferenceManager
getPreferenceStore
(String name) protected void
load()
protected void
void
save()
void
-
Field Details
-
DEFAULT_CFG_FILE_NAME
- See Also:
-
CFG_FILE_OPTION_NAME
- See Also:
-
ROOT_NODE_NAME
- See Also:
-
CLIENT_SETTINGS_STORE_NAME
- See Also:
-
stores
-
clientPreferences
-
clientPreferenceStore
protected megamek.common.preference.PreferenceStore clientPreferenceStore -
instance
-
-
Constructor Details
-
PreferenceManager
protected PreferenceManager()
-
-
Method Details
-
getInstance
-
getClientPreferences
-
getPreferenceStore
-
load
protected void load() -
load
-
save
public void save() -
save
-