public class ChangeEvent extends AbstractSmartEvent<ChangeHandler> implements Cancellable
GwtEvent.Type<H>
jsObj
Constructor and Description |
---|
ChangeEvent(JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
The change may be cancelled
|
protected void |
dispatch(ChangeHandler handler) |
static <S extends HasChangeHandlers & HasHandlers> |
fire(S source,
JavaScriptObject jsObj)
Fires a open event on all registered handlers in the handler manager.If no
such handlers exist, this method will do nothing.
|
GwtEvent.Type<ChangeHandler> |
getAssociatedType() |
int |
getColNum()
column number of the cell
|
DynamicForm |
getForm()
the managing DynamicForm instance
|
FormItem |
getItem()
the editor (form item) itself (also available as "this").
|
java.lang.Object |
getOldValue()
The previous value of the form item
|
int |
getRowNum()
row number for the cell
|
static GwtEvent.Type<ChangeHandler> |
getType()
Gets the type associated with this event.
|
java.lang.Object |
getValue()
The new value of the form item
|
boolean |
isCancelled() |
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
public ChangeEvent(JavaScriptObject jsObj)
public static <S extends HasChangeHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static GwtEvent.Type<ChangeHandler> getType()
protected void dispatch(ChangeHandler handler)
dispatch
in class GwtEvent<ChangeHandler>
public final GwtEvent.Type<ChangeHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<ChangeHandler>
public void cancel()
cancel
in interface Cancellable
public boolean isCancelled()
isCancelled
in interface Cancellable
public DynamicForm getForm()
public FormItem getItem()
item.grid
]item.colNum
]item.rowNum
]item.grid
]item.colNum
]item.rowNum
]public java.lang.Object getValue()
public java.lang.Object getOldValue()
public int getRowNum()
public int getColNum()