|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SettingsStorage
Interface providing functions to store and retrieve settings for an object.
Method Summary | ||
---|---|---|
|
getSetting(Settings.Key key)
Returns the setting with the specified key. |
|
|
removeSetting(Settings.Key key)
Removes the setting with the specified key. |
|
|
removeSettingDefault(Settings.Key key)
Removes the default setting with the specified key. |
|
|
setSetting(Settings.Key key,
T value)
Sets the setting with the specified key to the specified value. |
|
|
setSettingDefault(Settings.Key key,
T value)
Sets a default value for the setting with the specified key. |
Method Detail |
---|
<T> T getSetting(Settings.Key key)
T
- Type of setting.key
- Key.
<T> void setSetting(Settings.Key key, T value)
T
- Type of setting.key
- Key.value
- Value to be set.<T> void removeSetting(Settings.Key key)
T
- Type of setting.key
- Key.<T> void setSettingDefault(Settings.Key key, T value)
T
- Type of setting.key
- Key.value
- Value to be set.<T> void removeSettingDefault(Settings.Key key)
T
- Type of setting.key
- Key.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |