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
- 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
-
All Implemented Interfaces:
Enclosing class:
public static class ClickableRenderer.RendererClickEvent extends MouseEvents.ClickEvent
An event fired when a button rendered by a ButtonRenderer 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 source, Object itemId, Grid.Column column, MouseEventDetails mouseEventDetails)
-
Method Summary
All Methods Modifier and Type Method Description Grid.Column
getColumn()
Returns the
Grid.Column
where the click event originated.Object
getItemId()
Returns the item ID of the row where the click event originated.
Object
getPropertyId()
Returns the property ID where the click event originated.
-
Methods inherited from class com.vaadin.event.MouseEvents.ClickEvent
getButton, getButtonName, getClientX, getClientY, 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 source, Object itemId, Grid.Column column, MouseEventDetails mouseEventDetails)
-
-
Method Detail
-
getItemId
public Object getItemId()
Returns the item ID of the row where the click event originated.
Returns:
the item ID of the clicked row
-
getColumn
public Grid.Column getColumn()
Returns the
Grid.Column
where the click event originated.Returns:
the column of the click event
-
getPropertyId
public Object getPropertyId()
Returns the property ID where the click event originated.
Returns:
the property ID of the clicked cell
-
-