public class GridKeyUpEvent extends Grid.AbstractGridKeyEvent<AbstractGridKeyEventHandler.GridKeyUpHandler>
| Constructor and Description |
|---|
GridKeyUpEvent(Grid<?> grid,
CellReference<?> targetCell) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDispatch(AbstractGridKeyEventHandler.GridKeyUpHandler handler,
GridConstants.Section section) |
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, getAssociatedType, getFocusedCell, getGridisAltKeyDown, isAnyModifierKeyDown, isControlKeyDown, isMetaKeyDown, isShiftKeyDownfireNativeEvent, fireNativeEvent, getNativeEvent, getRelativeElement, preventDefault, setNativeEvent, setRelativeElement, stopPropagationpublic GridKeyUpEvent(Grid<?> grid, CellReference<?> targetCell)
protected void doDispatch(AbstractGridKeyEventHandler.GridKeyUpHandler handler, GridConstants.Section section)
doDispatch in class Grid.AbstractGridKeyEvent<AbstractGridKeyEventHandler.GridKeyUpHandler>protected String getBrowserEventType()
getBrowserEventType in class Grid.AbstractGridKeyEvent<AbstractGridKeyEventHandler.GridKeyUpHandler>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.GridKeyUpHandler>Copyright © 2016 Vaadin Ltd. All rights reserved.