Class GridKeyPressEvent
- java.lang.Object
-
- com.google.web.bindery.event.shared.Event<H>
-
- com.google.gwt.event.shared.GwtEvent<H>
-
- com.google.gwt.event.dom.client.DomEvent<H>
-
- com.google.gwt.event.dom.client.KeyEvent<HANDLER>
-
- com.vaadin.client.widgets.Grid.AbstractGridKeyEvent<AbstractGridKeyEventHandler.GridKeyPressHandler>
-
- com.vaadin.client.widget.grid.events.GridKeyPressEvent
-
- All Implemented Interfaces:
com.google.gwt.event.dom.client.HasNativeEvent
public class GridKeyPressEvent extends Grid.AbstractGridKeyEvent<AbstractGridKeyEventHandler.GridKeyPressHandler>
Represents native key press event in Grid.- Since:
- 7.4
- Author:
- Vaadin Ltd
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.gwt.event.dom.client.DomEvent.Type<AbstractGridKeyEventHandler.GridKeyPressHandler>
TYPE
-
Constructor Summary
Constructors Constructor Description GridKeyPressEvent()
GridKeyPressEvent(Grid<?> grid, CellReference<?> targetCell)
Deprecated.This constructor's arguments are no longer used.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doDispatch(AbstractGridKeyEventHandler.GridKeyPressHandler handler, GridConstants.Section section)
com.google.gwt.event.dom.client.DomEvent.Type<AbstractGridKeyEventHandler.GridKeyPressHandler>
getAssociatedType()
protected String
getBrowserEventType()
char
getCharCode()
Gets the char code for this event.int
getUnicodeCharCode()
Gets the Unicode char code (code point) for this event.String
toDebugString()
-
Methods inherited from class com.vaadin.client.widgets.Grid.AbstractGridKeyEvent
dispatch, getFocusedCell, getGrid
-
Methods inherited from class com.google.gwt.event.dom.client.KeyEvent
isAltKeyDown, isAnyModifierKeyDown, isControlKeyDown, isMetaKeyDown, isShiftKeyDown
-
Methods inherited from class com.google.gwt.event.dom.client.DomEvent
fireNativeEvent, fireNativeEvent, getNativeEvent, getRelativeElement, preventDefault, setNativeEvent, setRelativeElement, stopPropagation
-
-
-
-
Field Detail
-
TYPE
public static final com.google.gwt.event.dom.client.DomEvent.Type<AbstractGridKeyEventHandler.GridKeyPressHandler> TYPE
- Since:
- 7.7.9
-
-
Constructor Detail
-
GridKeyPressEvent
public GridKeyPressEvent()
- Since:
- 7.7.9
-
GridKeyPressEvent
@Deprecated public GridKeyPressEvent(Grid<?> grid, CellReference<?> targetCell)
Deprecated.This constructor's arguments are no longer used. Use the no-args constructor instead.
-
-
Method Detail
-
getAssociatedType
public com.google.gwt.event.dom.client.DomEvent.Type<AbstractGridKeyEventHandler.GridKeyPressHandler> getAssociatedType()
- Specified by:
getAssociatedType
in classcom.google.gwt.event.dom.client.DomEvent<AbstractGridKeyEventHandler.GridKeyPressHandler>
- Since:
- 7.7.9
-
doDispatch
protected void doDispatch(AbstractGridKeyEventHandler.GridKeyPressHandler handler, GridConstants.Section section)
- Specified by:
doDispatch
in classGrid.AbstractGridKeyEvent<AbstractGridKeyEventHandler.GridKeyPressHandler>
-
getBrowserEventType
protected String getBrowserEventType()
- Specified by:
getBrowserEventType
in classGrid.AbstractGridKeyEvent<AbstractGridKeyEventHandler.GridKeyPressHandler>
-
getCharCode
public char getCharCode()
Gets the char code for this event.- Returns:
- the char code
-
getUnicodeCharCode
public int getUnicodeCharCode()
Gets the Unicode char code (code point) for this event.- Returns:
- the Unicode char code
-
toDebugString
public String toDebugString()
- Overrides:
toDebugString
in classcom.google.web.bindery.event.shared.Event<AbstractGridKeyEventHandler.GridKeyPressHandler>
-
-