public class ChangeEvent extends AbstractSmartEvent<ChangeHandler> implements Cancellable
jsObj
Constructor and Description |
---|
ChangeEvent(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
The change may be cancelled
|
protected void |
dispatch(ChangeHandler handler) |
static <S extends HasChangeHandlers & 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<ChangeHandler> |
getAssociatedType() |
int |
getColNum()
column number of the cell
|
DataClass |
getFiringDataClass()
Returns the
DataClass firing the event. |
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 com.google.gwt.event.shared.GwtEvent.Type<ChangeHandler> |
getType()
Gets the type associated with this event.
|
java.lang.Object |
getValue()
The new value of the form item
|
boolean |
isCancelled() |
getFiringInstanceAsJavaScriptObject
assertLive, getSource, isLive, kill, revive
public ChangeEvent(com.google.gwt.core.client.JavaScriptObject jsObj)
public DataClass getFiringDataClass()
DataClass
firing the event.public static <S extends HasChangeHandlers & 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<ChangeHandler> getType()
protected void dispatch(ChangeHandler handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<ChangeHandler>
public final com.google.gwt.event.shared.GwtEvent.Type<ChangeHandler> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.shared.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()