public static class DataGrid.RendererClickEvent<T extends Entity> extends DataGrid.DataGridClickEvent
DataGrid.HasRendererClickListener
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
columnId |
protected T |
item |
details
Constructor and Description |
---|
RendererClickEvent(DataGrid<T> component,
MouseEventDetails details,
T item,
java.lang.String columnId)
Constructor for a renderer click event.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getColumnId() |
T |
getItem() |
java.lang.Object |
getItemId()
Deprecated.
use
getItem() instead |
getButton, getClientX, getClientY, getRelativeX, getRelativeY, isAltKey, isCtrlKey, isDoubleClick, isMetaKey, isShiftKey
getSource
public RendererClickEvent(DataGrid<T> component, MouseEventDetails details, T item, java.lang.String columnId)
component
- the DataGrid from which this event originatesdetails
- an instance of MouseEventDetails
with information about mouse event detailsitem
- an itemcolumnId
- id of the DataGrid column