Module org.autogui
Package org.autogui.base.mapping
Class GuiPreferences.HistoryValueEntryJsonSupported
java.lang.Object
org.autogui.base.mapping.GuiPreferences.HistoryValueEntry
org.autogui.base.mapping.GuiPreferences.HistoryValueEntryJsonSupported
- Enclosing class:
GuiPreferences
public static class GuiPreferences.HistoryValueEntryJsonSupported
extends GuiPreferences.HistoryValueEntry
JSON entry for JSON support object
- Since:
- 1.5
-
Field Summary
Fields inherited from class org.autogui.base.mapping.GuiPreferences.HistoryValueEntry
index, keyIndex, preferences, time, value, valueStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
protected Object
toValueInit
(Object rawObject) called from the constructorMethods inherited from class org.autogui.base.mapping.GuiPreferences.HistoryValueEntry
fromJsonSource, getIndex, getKeyIndex, getParent, getStoredJsonValue, getTime, getValue, getValueStore, load, loadAsCurrentValue, match, remove, setIndex, setKeyIndexWithLoadOrStore, setTime, setValue, store, storeAsCurrentValue, storeValue
-
Constructor Details
-
HistoryValueEntryJsonSupported
-
-
Method Details
-
toValueInit
Description copied from class:GuiPreferences.HistoryValueEntry
called from the constructor- Overrides:
toValueInit
in classGuiPreferences.HistoryValueEntry
- Parameters:
rawObject
- the constructor argument- Returns:
- stored value as a prefs entry
-
isJsonValue
public boolean isJsonValue()- Overrides:
isJsonValue
in classGuiPreferences.HistoryValueEntry
- Returns:
- if false, the value holds a raw-object which might be a non-JSON object, and then the associated representation can create a new value from a JSON source without any raw-object.
-