Package com.vaadin.v7.client.widgets
Class Grid.AbstractGridKeyEvent<HANDLER extends AbstractGridKeyEventHandler>
- 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.v7.client.widgets.Grid.AbstractGridKeyEvent<HANDLER>
-
- All Implemented Interfaces:
com.google.gwt.event.dom.client.HasNativeEvent
- Direct Known Subclasses:
GridKeyDownEvent,GridKeyPressEvent,GridKeyUpEvent
public abstract static class Grid.AbstractGridKeyEvent<HANDLER extends AbstractGridKeyEventHandler> extends com.google.gwt.event.dom.client.KeyEvent<HANDLER>
-
-
Constructor Summary
Constructors Constructor Description AbstractGridKeyEvent()AbstractGridKeyEvent(Grid<?> grid, CellReference<?> targetCell)Deprecated.This constructor's arguments are no longer used.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voiddispatch(HANDLER handler)protected abstract voiddoDispatch(HANDLER handler, GridConstants.Section section)protected abstract StringgetBrowserEventType()CellReference<?>getFocusedCell()Gets the reference of target cell for this event, if this event originated from a Grid.Grid<?>getGrid()Gets the Grid instance for this event, if it originated from a Grid.-
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, getAssociatedType, getNativeEvent, getRelativeElement, preventDefault, setNativeEvent, setRelativeElement, stopPropagation
-
Methods inherited from class com.google.gwt.event.shared.GwtEvent
assertLive, getSource, isLive, kill, revive
-
-
-
-
Constructor Detail
-
AbstractGridKeyEvent
public AbstractGridKeyEvent()
- Since:
- 7.7.9
-
AbstractGridKeyEvent
@Deprecated public AbstractGridKeyEvent(Grid<?> grid, CellReference<?> targetCell)
Deprecated.This constructor's arguments are no longer used. Use the no-args constructor instead.
-
-
Method Detail
-
getBrowserEventType
protected abstract String getBrowserEventType()
-
getGrid
public Grid<?> getGrid()
Gets the Grid instance for this event, if it originated from a Grid.- Returns:
- the grid this event originated from, or
nullif this event did not originate from a grid
-
getFocusedCell
public CellReference<?> getFocusedCell()
Gets the reference of target cell for this event, if this event originated from a Grid.- Returns:
- target cell, or
nullif this event did not originate from a grid
-
dispatch
protected void dispatch(HANDLER handler)
- Specified by:
dispatchin classcom.google.gwt.event.shared.GwtEvent<HANDLER extends AbstractGridKeyEventHandler>
-
doDispatch
protected abstract void doDispatch(HANDLER handler, GridConstants.Section section)
-
-