com.vaadin.client.widgets
Class Grid.GridEvent<T>

java.lang.Object
  extended by com.vaadin.client.widgets.Grid.GridEvent<T>
Type Parameters:
T - The row type of the grid
Direct Known Subclasses:
Grid.EditorDomEvent
Enclosing class:
Grid<T>

public static class Grid.GridEvent<T>
extends java.lang.Object

A wrapper for native DOM events originating from Grid. In addition to the native event, contains a CellReference instance specifying which cell the event originated from.

Since:
7.6

Constructor Summary
protected Grid.GridEvent(Event event, EventCellReference<T> cell)
           
 
Method Summary
 EventCellReference<T> getCell()
          Returns the Grid cell this event originated from.
 Event getDomEvent()
          Returns the wrapped DOM event.
 Grid<T> getGrid()
          Returns the Grid instance this event originated from.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Grid.GridEvent

protected Grid.GridEvent(Event event,
                         EventCellReference<T> cell)
Method Detail

getDomEvent

public Event getDomEvent()
Returns the wrapped DOM event.

Returns:
the DOM event

getCell

public EventCellReference<T> getCell()
Returns the Grid cell this event originated from.

Returns:
the event cell

getGrid

public Grid<T> getGrid()
Returns the Grid instance this event originated from.

Returns:
the grid


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