Class ClickableRenderer.RendererClickEvent<T>

  • Type Parameters:
    T - the item type associated with this click event
    All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    ClickableRenderer<T,​V>

    public static class ClickableRenderer.RendererClickEvent<T>
    extends MouseEvents.ClickEvent
    An event fired when a clickable widget rendered by a ClickableRenderer is clicked.
    See Also:
    Serialized Form
    • Constructor Detail

      • RendererClickEvent

        protected RendererClickEvent​(Grid<T> source,
                                     T item,
                                     Grid.Column<T,​?> column,
                                     com.vaadin.shared.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