PowerUI.SessionStorage Class Reference

Detailed Description

The SessionStorage Web API.

Inheritance diagram for PowerUI.SessionStorage:
PowerUI.Storage

Public Member Functions

 SessionStorage (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 Attributes

Dictionary< string, string > Store =new Dictionary<string,string>()
 The key/value store. 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...
 

Constructor & Destructor Documentation

PowerUI.SessionStorage.SessionStorage ( HtmlDocument  d)
inline

Member Function Documentation

override void PowerUI.SessionStorage.clear ( )
inlinevirtual

Removes all the items.

Reimplemented from PowerUI.Storage.

override string PowerUI.SessionStorage.getItem ( string  key)
inlinevirtual

Gets the item with the given key.

Reimplemented from PowerUI.Storage.

override void PowerUI.SessionStorage.removeItem ( string  key)
inlinevirtual

Removes the item with the given key.

Reimplemented from PowerUI.Storage.

override void PowerUI.SessionStorage.setItem ( string  key,
string  data 
)
inlinevirtual

Sets the item with the given key.

Reimplemented from PowerUI.Storage.

Member Data Documentation

Dictionary<string,string> PowerUI.SessionStorage.Store =new Dictionary<string,string>()
private

The key/value store.