Class ClickableRenderer.RendererClickEvent

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<com.vaadin.flow.component.Component>
com.vaadin.featurepack.ui.Event
com.vaadin.featurepack.event.MouseEvents.AbstractClickEvent
com.vaadin.featurepack.ui.renderers.ClickableRenderer.RendererClickEvent
All Implemented Interfaces:
Serializable
Enclosing class:
ClickableRenderer<T>

@DomEvent("click") public static class ClickableRenderer.RendererClickEvent extends MouseEvents.AbstractClickEvent
An event fired when a button rendered by a ButtonRenderer is clicked.
See Also:
  • Field Details

  • Constructor Details

    • RendererClickEvent

      public RendererClickEvent(com.vaadin.flow.component.Component source, boolean fromClient, @EventData("event.clientX") int clientX, @EventData("event.clientY") int clientY, @EventData("event.detail") int clickCount, @EventData("event.button") int button, @EventData("event.ctrlKey") boolean ctrlKey, @EventData("event.shiftKey") boolean shiftKey, @EventData("event.altKey") boolean altKey, @EventData("event.metaKey") boolean metaKey, @EventData("event.clientX - element.getBoundingClientRect().x") int relativeX, @EventData("event.clientY - element.getBoundingClientRect().y") int relativeY)
    • RendererClickEvent

      protected RendererClickEvent(FGrid source, Object itemId, FGrid.Column column, MouseEventDetails mouseEventDetails)
  • Method Details

    • 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 FGrid.Column getColumn()
      Returns the FGrid.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