public abstract static class Grid.AbstractGridKeyEvent<HANDLER extends AbstractGridKeyEventHandler>
extends com.google.gwt.event.dom.client.KeyEvent<HANDLER>
Constructor and Description |
---|
AbstractGridKeyEvent() |
AbstractGridKeyEvent(Grid<?> grid,
CellReference<?> targetCell)
Deprecated.
This constructor's arguments are no longer used. Use the
no-args constructor instead.
|
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(HANDLER handler) |
protected abstract void |
doDispatch(HANDLER handler,
GridConstants.Section section) |
protected abstract String |
getBrowserEventType() |
CellReference<?> |
getFocusedCell()
Gets the reference of target cell for this event, if this event
originated from a Grid.
|
Grid<?> |
getGrid()
Gets the Grid instance for this event, if it originated from a Grid.
|
isAltKeyDown, isAnyModifierKeyDown, isControlKeyDown, isMetaKeyDown, isShiftKeyDown
fireNativeEvent, fireNativeEvent, getAssociatedType, getNativeEvent, getRelativeElement, preventDefault, setNativeEvent, setRelativeElement, stopPropagation
assertLive, getSource, isLive, kill, revive
public AbstractGridKeyEvent()
@Deprecated public AbstractGridKeyEvent(Grid<?> grid, CellReference<?> targetCell)
protected abstract String getBrowserEventType()
public Grid<?> getGrid()
null
if this
event did not originate from a gridpublic CellReference<?> getFocusedCell()
null
if this event did not originate
from a gridprotected void dispatch(HANDLER handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<HANDLER extends AbstractGridKeyEventHandler>
protected abstract void doDispatch(HANDLER handler, GridConstants.Section section)
Copyright © 2018 Vaadin Ltd. All rights reserved.