public class PreferenceContainer extends UserConfiguration
T-Plan Robot Enterprise, (C) 2009-2022 T-Plan Limited. All rights reserved.
WATCH_DOG_LIST_KEY
Constructor and Description |
---|
PreferenceContainer()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
Map |
getMap()
Get the internal preference map.
|
Map |
getOverrideMap()
Get the second level preference map for temporary override values.
|
void |
put(String name,
String value)
Raw "put" method similar to the one of
Map . |
void |
remove(String configKey)
Remove a preference from the container.
|
String |
toString() |
checkSecurity, getCopy, getDefaultConfiguration, getDefaultValue, getDefaultValueAsArrayOfColors, getDefaultValueAsColor, getDefaultValueAsDouble, getDefaultValueAsListOfNumbers, getInstance, getKeyStroke, getOverrideTable, getPreferenceNames, getRawValue, load, loadDefaults, propertyChange, putRawValues, resetToDefaults, save, saveConfiguration, setColors, setOverrideTable, startWatchDog, updateListOfRecents, updateListOfRecents
addConfigurationListener, addConfigurationListener, convertToListOfNumbers, fireConfigurationChanged, getArrayOfBytes, getArrayOfInts, getBoolean, getBooleanStrict, getColor, getColors, getDouble, getDoubleStrict, getInteger, getIntegerStrict, getListOfNumbers, getListOfStrings, getString, isModified, removeConfigurationListener, setBoolean, setDouble, setHTMLColor, setHTMLColorArray, setInteger, setListOfNumbers, setListOfObjects, setString
public void put(String name, String value)
Map
.name
- preference name (key).value
- preference value.public void remove(String configKey)
remove
in class UserConfiguration
configKey
- preference name (key).public Map getMap()
public Map getOverrideMap()
UserConfiguration.setOverrideTable(java.util.Map)
method for more.