T
- the grid bean typepublic static class Grid.ItemClick<T> extends ConnectorEvent
source
Constructor and Description |
---|
ItemClick(Grid<T> source,
Grid.Column<T,?> column,
T item,
MouseEventDetails mouseEventDetails,
int rowIndex)
Creates a new
ItemClick event containing the given item and
Column originating from the given Grid. |
Modifier and Type | Method and Description |
---|---|
Grid.Column<T,?> |
getColumn()
Returns the clicked column.
|
T |
getItem()
Returns the clicked item.
|
MouseEventDetails |
getMouseEventDetails()
Returns the mouse event details.
|
int |
getRowIndex()
Returns the clicked rowIndex.
|
Grid<T> |
getSource()
Returns the source Grid.
|
getConnector
toString
public ItemClick(Grid<T> source, Grid.Column<T,?> column, T item, MouseEventDetails mouseEventDetails, int rowIndex)
ItemClick
event containing the given item and
Column originating from the given Grid.public T getItem()
public Grid.Column<T,?> getColumn()
public Grid<T> getSource()
getSource
in class EventObject
public MouseEventDetails getMouseEventDetails()
public int getRowIndex()
Copyright © 2018 Vaadin Ltd. All rights reserved.