We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.ui.renderers.
Class ClickableRenderer.RendererClickEvent<T>
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.event.ConnectorEvent
-
- com.vaadin.ui.Component.Event
-
- com.vaadin.event.MouseEvents.ClickEvent
-
- com.vaadin.ui.renderers.ClickableRenderer.RendererClickEvent<T>
-
Type Parameters:
T
- the item type associated with this click eventAll Implemented Interfaces:
Enclosing class:
public static class ClickableRenderer.RendererClickEvent<T> extends MouseEvents.ClickEvent
An event fired when a clickable widget rendered by a ClickableRenderer is clicked.
See Also:
-
-
Field Summary
-
Fields inherited from class com.vaadin.event.MouseEvents.ClickEvent
BUTTON_LEFT, BUTTON_MIDDLE, BUTTON_RIGHT
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RendererClickEvent(Grid<T> source, T item, Grid.Column<T,?> column, MouseEventDetails mouseEventDetails)
-
Method Summary
All Methods Modifier and Type Method 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.
-
Methods inherited from class com.vaadin.event.MouseEvents.ClickEvent
getButton, getButtonName, getClientX, getClientY, getMouseEventDetails, getRelativeX, getRelativeY, isAltKey, isCtrlKey, isDoubleClick, isMetaKey, isShiftKey
-
Methods inherited from class com.vaadin.ui.Component.Event
getComponent
-
Methods inherited from class com.vaadin.event.ConnectorEvent
getConnector
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
RendererClickEvent
protected RendererClickEvent(Grid<T> source, T item, Grid.Column<T,?> column, MouseEventDetails mouseEventDetails)
-
-
Method Detail
-
getItem
public T getItem()
Returns the item of the row where the click event originated.
Returns:
the item of the clicked row
Since:
8.0
-
getColumn
public Grid.Column<T,?> getColumn()
Returns the
Grid.Column
where the click event originated.Returns:
the column of the click event
-
-