Package com.google.gwt.storage.client
Class StorageEvent
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
com.google.gwt.storage.client.StorageEvent
Represents a Storage Event.
Experimental API: This API is still under development and is subject to change.
A Storage Event is fired when a storage area changes, as described in these two sections (for session storage, for local storage).
- See Also:
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
-
Constructor Details
-
StorageEvent
protected StorageEvent()
-
-
Method Details
-
getKey
Returns the key being changed.- Returns:
- the key being changed
- See Also:
-
getNewValue
Returns the new value of the key being changed.- Returns:
- the new value of the key being changed
- See Also:
-
getOldValue
Returns the old value of the key being changed.- Returns:
- the old value of the key being changed
- See Also:
-
getStorageArea
Returns theStorage
object that was affected.- Returns:
- the
Storage
object that was affected - See Also:
-
getUrl
Returns the address of the document whose key changed.- Returns:
- the address of the document whose key changed
- See Also:
-