public class GridKeyUpEvent extends Grid.AbstractGridKeyEvent<AbstractGridKeyEventHandler.GridKeyUpHandler>
| Modifier and Type | Field and Description |
|---|---|
static com.google.gwt.event.dom.client.DomEvent.Type<AbstractGridKeyEventHandler.GridKeyUpHandler> |
TYPE
DOM event type.
|
| Constructor and Description |
|---|
GridKeyUpEvent() |
GridKeyUpEvent(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.GridKeyUpHandler handler,
GridConstants.Section section)
The given handler processes the event if the handler type matches the
given section.
|
com.google.gwt.event.dom.client.DomEvent.Type<AbstractGridKeyEventHandler.GridKeyUpHandler> |
getAssociatedType() |
protected String |
getBrowserEventType()
Returns the
BrowserEvents type that corresponds with this
event. |
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, getGridisAltKeyDown, isAnyModifierKeyDown, isControlKeyDown, isMetaKeyDown, isShiftKeyDownfireNativeEvent, fireNativeEvent, getNativeEvent, getRelativeElement, preventDefault, setNativeEvent, setRelativeElement, stopPropagationpublic static final com.google.gwt.event.dom.client.DomEvent.Type<AbstractGridKeyEventHandler.GridKeyUpHandler> TYPE
public GridKeyUpEvent()
@Deprecated public GridKeyUpEvent(Grid<?> grid, CellReference<?> targetCell)
grid - the grid the event occurred in, not usedtargetCell - the cell the event targets, not usedprotected void doDispatch(AbstractGridKeyEventHandler.GridKeyUpHandler handler, GridConstants.Section section)
Grid.AbstractGridKeyEventdoDispatch in class Grid.AbstractGridKeyEvent<AbstractGridKeyEventHandler.GridKeyUpHandler>handler - handlersection - the section where the target element is locatedpublic com.google.gwt.event.dom.client.DomEvent.Type<AbstractGridKeyEventHandler.GridKeyUpHandler> getAssociatedType()
getAssociatedType in class com.google.gwt.event.dom.client.DomEvent<AbstractGridKeyEventHandler.GridKeyUpHandler>protected String getBrowserEventType()
Grid.AbstractGridKeyEventBrowserEvents type that corresponds with this
event.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 © 2023 Vaadin Ltd. All rights reserved.