Package ghidra.framework.options
Class PreferenceState
- java.lang.Object
-
- ghidra.framework.options.SaveState
-
- ghidra.framework.options.PreferenceState
-
public class PreferenceState extends SaveState
An implementation of SaveState that exists primarily to signal its intended usage. The SaveState is a generic object for saving program state through plugins. This state object is meant to be used for preferences that are not associated directly with a plugin.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PREFERENCE_STATE_NAME
-
Fields inherited from class ghidra.framework.options.SaveState
DATE_FORMAT
-
-
Constructor Summary
Constructors Constructor Description PreferenceState()
PreferenceState(org.jdom.Element element)
Initializes a new state object from the given element.
-
Method Summary
-
Methods inherited from class ghidra.framework.options.SaveState
clear, createElementFromElement, getBoolean, getBooleans, getByte, getBytes, getColor, getDate, getDouble, getDoubles, getEnum, getFile, getFloat, getFloats, getFont, getInt, getInts, getKeyStroke, getLong, getLongs, getNames, getSaveState, getShort, getShorts, getString, getStrings, getXmlElement, hasValue, isEmpty, putBoolean, putBooleans, putByte, putBytes, putColor, putDate, putDouble, putDoubles, putEnum, putFile, putFloat, putFloats, putFont, putInt, putInts, putKeyStroke, putLong, putLongs, putSaveState, putShort, putShorts, putString, putStrings, putXmlElement, readJsonFile, remove, saveToFile, saveToJson, saveToJsonFile, saveToXml, size, toString
-
-
-
-
Field Detail
-
PREFERENCE_STATE_NAME
public static final java.lang.String PREFERENCE_STATE_NAME
- See Also:
- Constant Field Values
-
-