public class StorageChangeEvent extends com.google.gwt.event.shared.GwtEvent<StorageChangeEvent.Handler>
A Storage Change Event is fired when a storage area changes
Note: If the StorageExt.eventLevel is set to StorageChangeEvent.Level.STRING,
the value returned by getOldValue() could be null, if it wasn't cached before
StorageChangeEvent.Handler| Modifier and Type | Class and Description |
|---|---|
static class |
StorageChangeEvent.ChangeType
Type of Storage Change
|
static interface |
StorageChangeEvent.Handler
Represents an Event handler for
StorageChangeEvents. |
static class |
StorageChangeEvent.Level
Level of Storage Change Event information
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispatch(StorageChangeEvent.Handler handler) |
com.google.gwt.event.shared.GwtEvent.Type<StorageChangeEvent.Handler> |
getAssociatedType() |
StorageChangeEvent.ChangeType |
getChangeType()
Returns the change type
|
String |
getData()
Returns the new serialized string value of the key being changed.
|
StorageKey<?> |
getKey()
Returns the key being changed.
|
String |
getOldData()
Returns the old serialized string value of the key being changed.
|
Object |
getOldValue()
Returns the old value of the key being changed.
|
static com.google.gwt.event.shared.GwtEvent.Type<StorageChangeEvent.Handler> |
getType() |
Object |
getValue()
Returns the new value of the key being changed.
|
assertLive, getSource, isLive, kill, revivepublic static com.google.gwt.event.shared.GwtEvent.Type<StorageChangeEvent.Handler> getType()
public com.google.gwt.event.shared.GwtEvent.Type<StorageChangeEvent.Handler> getAssociatedType()
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<StorageChangeEvent.Handler>public StorageChangeEvent.ChangeType getChangeType()
public String getData()
public StorageKey<?> getKey()
public String getOldData()
public Object getOldValue()
public Object getValue()
protected void dispatch(StorageChangeEvent.Handler handler)
dispatch in class com.google.gwt.event.shared.GwtEvent<StorageChangeEvent.Handler>Copyright © 2018 seanchenxi.com. All rights reserved.