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, values
Fields 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) int
getKeys()
boolean
hasEntryKey
(String key) boolean
hasNodeKey
(String key) void
void
void
void
erase the node, but it might not remove the node from the parentMethods inherited from class org.autogui.base.mapping.GuiPreferences.GuiValueStoreOnMemory
putChild, toJson
Methods 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:
putString
in classGuiPreferences.GuiValueStoreOnMemory
-
getString
- Overrides:
getString
in classGuiPreferences.GuiValueStoreOnMemory
-
putInt
- Overrides:
putInt
in classGuiPreferences.GuiValueStoreOnMemory
-
getInt
- Overrides:
getInt
in classGuiPreferences.GuiValueStoreOnMemory
-
getChild
- Overrides:
getChild
in classGuiPreferences.GuiValueStoreOnMemory
-
hasEntryKey
- Overrides:
hasEntryKey
in classGuiPreferences.GuiValueStoreOnMemory
-
hasNodeKey
- Overrides:
hasNodeKey
in classGuiPreferences.GuiValueStoreOnMemory
-
getKeys
- Overrides:
getKeys
in 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:
remove
in classGuiPreferences.GuiValueStoreOnMemory
-
removeThisNode
public void removeThisNode()Description copied from class:GuiPreferences.GuiValueStore
erase the node, but it might not remove the node from the parent- Overrides:
removeThisNode
in classGuiPreferences.GuiValueStoreOnMemory
-
copyInitAsRoot
- Overrides:
copyInitAsRoot
in classGuiPreferences.GuiValueStoreOnMemory
-
getChild
- Overrides:
getChild
in classGuiPreferences.GuiValueStore
-