java.lang.Object
org.autogui.base.mapping.GuiPreferences.GuiValueStore
org.autogui.base.mapping.GuiPreferences.GuiValueStoreOnMemory
org.autogui.base.mapping.GuiPreferences.GuiValueStoreImmutable
- Enclosing class:
GuiPreferences
public static class GuiPreferences.GuiValueStoreImmutable
extends GuiPreferences.GuiValueStoreOnMemory
-
Field Summary
FieldsFields inherited from class org.autogui.base.mapping.GuiPreferences.GuiValueStoreOnMemory
parent, valuesFields inherited from class org.autogui.base.mapping.GuiPreferences.GuiValueStore
preferences -
Constructor Summary
ConstructorsConstructorDescriptionGuiValueStoreImmutable(Set<String> availableEntryKeys) GuiValueStoreImmutable(GuiPreferences preferences, Set<String> availableEntryKeys) GuiValueStoreImmutable(GuiPreferences preferences, GuiPreferences.GuiValueStoreOnMemory parent, Set<String> availableEntryKeys) -
Method Summary
Modifier and TypeMethodDescriptiongetChild(GuiPreferences preferences) getChild(GuiPreferences preferences, String key) intgetKeys()booleanhasEntryKey(String key) booleanhasNodeKey(String key) voidvoidvoidvoiderase the node, but it might not remove the node from the parentMethods inherited from class org.autogui.base.mapping.GuiPreferences.GuiValueStoreOnMemory
putChild, toJsonMethods inherited from class org.autogui.base.mapping.GuiPreferences.GuiValueStore
flush, getChild, getPreferences, setPreferences
-
Field Details
-
availableEntryKeys
-
-
Constructor Details
-
GuiValueStoreImmutable
public GuiValueStoreImmutable() -
GuiValueStoreImmutable
-
GuiValueStoreImmutable
-
GuiValueStoreImmutable
public GuiValueStoreImmutable(GuiPreferences preferences, GuiPreferences.GuiValueStoreOnMemory parent, Set<String> availableEntryKeys)
-
-
Method Details
-
putString
- Overrides:
putStringin classGuiPreferences.GuiValueStoreOnMemory
-
getString
- Overrides:
getStringin classGuiPreferences.GuiValueStoreOnMemory
-
putInt
- Overrides:
putIntin classGuiPreferences.GuiValueStoreOnMemory
-
getInt
- Overrides:
getIntin classGuiPreferences.GuiValueStoreOnMemory
-
getChild
- Overrides:
getChildin classGuiPreferences.GuiValueStoreOnMemory
-
hasEntryKey
- Overrides:
hasEntryKeyin classGuiPreferences.GuiValueStoreOnMemory
-
hasNodeKey
- Overrides:
hasNodeKeyin classGuiPreferences.GuiValueStoreOnMemory
-
getKeys
- Overrides:
getKeysin classGuiPreferences.GuiValueStoreOnMemory- Returns:
- list of a key which might be different from a given key for put(k,...)
because of the max key length,
converted by
GuiPreferences.toStoreKey(String). such key will be acceptable as an argument for other methods.
-
remove
- Overrides:
removein classGuiPreferences.GuiValueStoreOnMemory
-
removeThisNode
public void removeThisNode()Description copied from class:GuiPreferences.GuiValueStoreerase the node, but it might not remove the node from the parent- Overrides:
removeThisNodein classGuiPreferences.GuiValueStoreOnMemory
-
copyInitAsRoot
- Overrides:
copyInitAsRootin classGuiPreferences.GuiValueStoreOnMemory
-
getChild
- Overrides:
getChildin classGuiPreferences.GuiValueStore
-