public class CellSelectionChangedEvent extends BrowserEvent<CellSelectionChangedHandler> implements Cancellable
GwtEvent.Type<H>
jsObj
Constructor and Description |
---|
CellSelectionChangedEvent(JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Calling this method will prevent the GridRenderer styling from being updated to reflect the selection
change.
|
protected void |
dispatch(CellSelectionChangedHandler handler) |
static <S extends HasCellSelectionChangedHandlers & 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<CellSelectionChangedHandler> |
getAssociatedType() |
int[][] |
getCellList()
Array of cells whos selected state was modified.
|
static GwtEvent.Type<CellSelectionChangedHandler> |
getType()
Gets the type associated with this event.
|
boolean |
isCancelled() |
getX, getY, isAltKeyDown, isCtrlKeyDown, isLeftButtonDown, isRightButtonDown
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
public CellSelectionChangedEvent(JavaScriptObject jsObj)
public static <S extends HasCellSelectionChangedHandlers & HasHandlers> void fire(S source, JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static GwtEvent.Type<CellSelectionChangedHandler> getType()
protected void dispatch(CellSelectionChangedHandler handler)
dispatch
in class GwtEvent<CellSelectionChangedHandler>
public final GwtEvent.Type<CellSelectionChangedHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<CellSelectionChangedHandler>
public void cancel()
cancel
in interface Cancellable
public boolean isCancelled()
isCancelled
in interface Cancellable
public int[][] getCellList()