public class GridKeyDownEvent extends Grid.AbstractGridKeyEvent<AbstractGridKeyEventHandler.GridKeyDownHandler>
Modifier and Type | Field and Description |
---|---|
static com.google.gwt.event.dom.client.DomEvent.Type<AbstractGridKeyEventHandler.GridKeyDownHandler> |
TYPE |
Constructor and Description |
---|
GridKeyDownEvent() |
GridKeyDownEvent(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 |
doDispatch(AbstractGridKeyEventHandler.GridKeyDownHandler handler,
GridConstants.Section section) |
com.google.gwt.event.dom.client.DomEvent.Type<AbstractGridKeyEventHandler.GridKeyDownHandler> |
getAssociatedType() |
protected String |
getBrowserEventType() |
int |
getNativeKeyCode()
Gets the native key code.
|
static boolean |
isArrow(int keyCode)
Does the key code represent an arrow key?
|
boolean |
isDownArrow()
Is this a key down arrow?
|
boolean |
isLeftArrow()
Is this a left arrow?
|
boolean |
isRightArrow()
Is this a right arrow?
|
boolean |
isUpArrow()
Is this a up arrow?
|
String |
toDebugString() |
dispatch, getFocusedCell, getGrid
isAltKeyDown, isAnyModifierKeyDown, isControlKeyDown, isMetaKeyDown, isShiftKeyDown
fireNativeEvent, fireNativeEvent, getNativeEvent, getRelativeElement, preventDefault, setNativeEvent, setRelativeElement, stopPropagation
public static final com.google.gwt.event.dom.client.DomEvent.Type<AbstractGridKeyEventHandler.GridKeyDownHandler> TYPE
public GridKeyDownEvent()
@Deprecated public GridKeyDownEvent(Grid<?> grid, CellReference<?> targetCell)
public com.google.gwt.event.dom.client.DomEvent.Type<AbstractGridKeyEventHandler.GridKeyDownHandler> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.dom.client.DomEvent<AbstractGridKeyEventHandler.GridKeyDownHandler>
protected void doDispatch(AbstractGridKeyEventHandler.GridKeyDownHandler handler, GridConstants.Section section)
doDispatch
in class Grid.AbstractGridKeyEvent<AbstractGridKeyEventHandler.GridKeyDownHandler>
protected String getBrowserEventType()
getBrowserEventType
in class Grid.AbstractGridKeyEvent<AbstractGridKeyEventHandler.GridKeyDownHandler>
public static boolean isArrow(int keyCode)
keyCode
- the key codepublic int getNativeKeyCode()
KeyCodes
class.public boolean isDownArrow()
public boolean isLeftArrow()
public boolean isRightArrow()
public boolean isUpArrow()
public String toDebugString()
toDebugString
in class com.google.web.bindery.event.shared.Event<AbstractGridKeyEventHandler.GridKeyDownHandler>
Copyright © 2018 Vaadin Ltd. All rights reserved.