com.vaadin.client.widget.grid.events
Class GridKeyPressEvent

java.lang.Object
  extended by 
      extended by com.vaadin.client.widgets.Grid.AbstractGridKeyEvent<AbstractGridKeyEventHandler.GridKeyPressHandler>
          extended by com.vaadin.client.widget.grid.events.GridKeyPressEvent

public class GridKeyPressEvent
extends Grid.AbstractGridKeyEvent<AbstractGridKeyEventHandler.GridKeyPressHandler>

Represents native key press event in Grid.

Since:
7.4
Author:
Vaadin Ltd

Constructor Summary
GridKeyPressEvent(Grid<?> grid, CellReference<?> targetCell)
           
 
Method Summary
protected  void doDispatch(AbstractGridKeyEventHandler.GridKeyPressHandler handler, com.vaadin.shared.ui.grid.GridConstants.Section section)
           
protected  java.lang.String getBrowserEventType()
           
 char getCharCode()
          Gets the char code for this event.
 int getUnicodeCharCode()
          Gets the Unicode char code (code point) for this event.
 java.lang.String toDebugString()
           
 
Methods inherited from class com.vaadin.client.widgets.Grid.AbstractGridKeyEvent
dispatch, getAssociatedType, getFocusedCell, getGrid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridKeyPressEvent

public GridKeyPressEvent(Grid<?> grid,
                         CellReference<?> targetCell)
Method Detail

doDispatch

protected void doDispatch(AbstractGridKeyEventHandler.GridKeyPressHandler handler,
                          com.vaadin.shared.ui.grid.GridConstants.Section section)
Specified by:
doDispatch in class Grid.AbstractGridKeyEvent<AbstractGridKeyEventHandler.GridKeyPressHandler>

getBrowserEventType

protected java.lang.String getBrowserEventType()
Specified by:
getBrowserEventType in class Grid.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 java.lang.String toDebugString()


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.