The storage web API. Used by Local/SessionStorage.
Public Member Functions | |
Storage (HtmlDocument document) | |
string | key (int i) |
The key at index i. More... | |
string | saveKeySet () |
Builds a key set as a string. More... | |
virtual string | getItem (string key) |
Gets the item with the given key. More... | |
virtual void | setItem (string key, string data) |
Sets the item with the given key. More... | |
virtual void | removeItem (string key) |
Removes the item with the given key. More... | |
virtual void | clear () |
Removes all the items. More... | |
Public Attributes | |
List< string > | KeyList |
The available keys for this domain. More... | |
Dictionary< string, bool > | KeyLookup |
The available keys for this domain. More... | |
Package Functions | |
void | loadKeySet (string keys) |
Loads a key set. More... | |
bool | hasItem (string key) |
True if the given key is set. More... | |
void | AddKey (string key) |
Adds a key to the lookups. More... | |
void | RemoveKey (string key) |
Removes a key from the lookups. More... | |
Package Attributes | |
string | origin |
The storage origin. More... | |
|
inline |
|
inlinepackage |
Adds a key to the lookups.
|
inlinevirtual |
Removes all the items.
Reimplemented in PowerUI.SessionStorage, and PowerUI.LocalStorage.
|
inlinevirtual |
Gets the item with the given key.
Reimplemented in PowerUI.SessionStorage, and PowerUI.LocalStorage.
|
inlinepackage |
True if the given key is set.
|
inline |
The key at index i.
|
inlinepackage |
Loads a key set.
|
inlinevirtual |
Removes the item with the given key.
Reimplemented in PowerUI.SessionStorage, and PowerUI.LocalStorage.
|
inlinepackage |
Removes a key from the lookups.
|
inline |
Builds a key set as a string.
|
inlinevirtual |
Sets the item with the given key.
Reimplemented in PowerUI.SessionStorage, and PowerUI.LocalStorage.
List<string> PowerUI.Storage.KeyList |
The available keys for this domain.
Dictionary<string,bool> PowerUI.Storage.KeyLookup |
The available keys for this domain.
|
package |
The storage origin.