T
- the item type associated with this click eventpublic static class ClickableRenderer.RendererClickEvent<T> extends MouseEvents.ClickEvent
BUTTON_LEFT, BUTTON_MIDDLE, BUTTON_RIGHT
source
Modifier | Constructor and Description |
---|---|
protected |
RendererClickEvent(Grid<T> source,
T item,
Grid.Column<T,?> column,
MouseEventDetails mouseEventDetails) |
Modifier and Type | Method and Description |
---|---|
Grid.Column<T,?> |
getColumn()
Returns the
Grid.Column where the click event originated. |
T |
getItem()
Returns the item of the row where the click event originated.
|
getButton, getButtonName, getClientX, getClientY, getRelativeX, getRelativeY, isAltKey, isCtrlKey, isDoubleClick, isMetaKey, isShiftKey
getComponent
getConnector
getSource, toString
protected RendererClickEvent(Grid<T> source, T item, Grid.Column<T,?> column, MouseEventDetails mouseEventDetails)
public T getItem()
public Grid.Column<T,?> getColumn()
Grid.Column
where the click event originated.Copyright © 2017 Vaadin Ltd. All rights reserved.