The LocalStorage Web API.
Public Member Functions | |
| LocalStorage (HtmlDocument d) | |
| override string | getItem (string key) |
| Gets the item with the given key. More... | |
| override void | setItem (string key, string data) |
| Sets the item with the given key. More... | |
| override void | removeItem (string key) |
| Removes the item with the given key. More... | |
| override void | clear () |
| Removes all the items. More... | |
Public Member Functions inherited from PowerUI.Storage | |
| Storage (HtmlDocument document) | |
| string | key (int i) |
| The key at index i. More... | |
| string | saveKeySet () |
| Builds a key set as a string. More... | |
Private Member Functions | |
| void | Load () |
Private Attributes | |
| bool | loaded |
| True if it's been loaded. More... | |
Additional Inherited Members | |
Public Attributes inherited from PowerUI.Storage | |
| List< string > | KeyList |
| The available keys for this domain. More... | |
| Dictionary< string, bool > | KeyLookup |
| The available keys for this domain. More... | |
Package Functions inherited from PowerUI.Storage | |
| 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 inherited from PowerUI.Storage | |
| string | origin |
| The storage origin. More... | |
|
inline |
|
inlinevirtual |
Removes all the items.
Reimplemented from PowerUI.Storage.
|
inlinevirtual |
Gets the item with the given key.
Reimplemented from PowerUI.Storage.
|
inlineprivate |
|
inlinevirtual |
Removes the item with the given key.
Reimplemented from PowerUI.Storage.
|
inlinevirtual |
Sets the item with the given key.
Reimplemented from PowerUI.Storage.
|
private |
True if it's been loaded.