|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.core.client.JavaScriptObject com.google.gwt.storage.client.StorageEvent
public final class 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).
StorageEvent.Handler
,
W3C Web
Storage - StorageEvent,
Safari
StorageEvent referenceNested Class Summary | |
---|---|
static interface |
StorageEvent.Handler
Represents an Event handler for StorageEvent s. |
Constructor Summary | |
---|---|
protected |
StorageEvent()
|
Method Summary | |
---|---|
java.lang.String |
getKey()
Returns the key being changed. |
java.lang.String |
getNewValue()
Returns the new value of the key being changed. |
java.lang.String |
getOldValue()
Returns the old value of the key being changed. |
Storage |
getStorageArea()
Returns the Storage object that was affected. |
java.lang.String |
getUrl()
Returns the address of the document whose key changed. |
Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
---|
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected StorageEvent()
Method Detail |
---|
public java.lang.String getKey()
public java.lang.String getNewValue()
public java.lang.String getOldValue()
public Storage getStorageArea()
Storage
object that was affected.
Storage
object that was affectedpublic java.lang.String getUrl()
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |