public class ItemChangeEvent extends BrowserEvent<ItemChangeHandler> implements Cancellable
jsObj
Constructor and Description |
---|
ItemChangeEvent(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Call this method to cancel the change
|
protected void |
dispatch(ItemChangeHandler handler) |
static <S extends HasItemChangeHandlers & com.google.gwt.event.shared.HasHandlers> |
fire(S source,
com.google.gwt.core.client.JavaScriptObject jsObj)
Fires a open event on all registered handlers in the handler manager.If no
such handlers exist, this method will do nothing.
|
com.google.gwt.event.shared.GwtEvent.Type<ItemChangeHandler> |
getAssociatedType() |
FormItem |
getItem()
the FormItem where the change event occurred
|
java.lang.Object |
getNewValue()
new value for the FormItem
|
java.lang.Object |
getOldValue()
value the FormItem had previous to this change() event
|
static com.google.gwt.event.shared.GwtEvent.Type<ItemChangeHandler> |
getType()
Gets the type associated with this event.
|
boolean |
isCancelled() |
getX, getY, isAltKeyDown, isCtrlKeyDown, isLeftButtonDown, isRightButtonDown
assertLive, getSource, isLive, kill, revive
public ItemChangeEvent(com.google.gwt.core.client.JavaScriptObject jsObj)
public static <S extends HasItemChangeHandlers & com.google.gwt.event.shared.HasHandlers> void fire(S source, com.google.gwt.core.client.JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static com.google.gwt.event.shared.GwtEvent.Type<ItemChangeHandler> getType()
protected void dispatch(ItemChangeHandler handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<ItemChangeHandler>
public final com.google.gwt.event.shared.GwtEvent.Type<ItemChangeHandler> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<ItemChangeHandler>
public void cancel()
cancel
in interface Cancellable
public boolean isCancelled()
isCancelled
in interface Cancellable
public FormItem getItem()
public java.lang.Object getNewValue()
public java.lang.Object getOldValue()