public static class DataGrid.ItemClickEvent<E> extends DataGrid.DataGridClickEvent
DataGrid| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
columnId |
protected E |
item |
protected java.lang.Object |
itemId |
details| Constructor and Description |
|---|
ItemClickEvent(DataGrid component,
MouseEventDetails details,
E item,
java.lang.Object itemId,
java.lang.String columnId)
Constructor for a item click event.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getColumnId() |
E |
getItem() |
java.lang.Object |
getItemId() |
getButton, getClientX, getClientY, getRelativeX, getRelativeY, isAltKey, isCtrlKey, isDoubleClick, isMetaKey, isShiftKeygetSourceprotected E item
protected java.lang.Object itemId
protected java.lang.String columnId
public ItemClickEvent(DataGrid component, MouseEventDetails details, E item, java.lang.Object itemId, java.lang.String columnId)
component - the DataGrid from which this event originatesdetails - an instance of MouseEventDetails with information about mouse event detailsitem - an entity instance represented by the clicked rowitemId - an item IdcolumnId - id of the clicked DataGrid columnpublic E getItem()
public java.lang.Object getItemId()
public java.lang.String getColumnId()