Class Table.Column.ClickEvent<E>

java.lang.Object
java.util.EventObject
io.jmix.ui.component.Table.Column.ClickEvent<E>
Type Parameters:
E - an entity class
All Implemented Interfaces:
Serializable
Enclosing interface:
Table.Column<E>

public static class Table.Column.ClickEvent<E> extends EventObject
An event is fired when the user clicks inside the table cell that belongs to the current column.
See Also:
  • Field Details

    • item

      protected final E item
    • isText

      protected final boolean isText
  • Constructor Details

    • ClickEvent

      public ClickEvent(Table.Column<E> source, E item, boolean isText)
      Constructor for a click event.
      Parameters:
      source - the Table column from which this event originates
      item - an entity instance represented by the clicked row
      isText - true if the user clicks on text inside the table cell, false otherwise
  • Method Details

    • getSource

      public Table.Column<E> getSource()
      Overrides:
      getSource in class EventObject
      Returns:
      the Table column from which this event originates
    • getItem

      public E getItem()
      Returns:
      an entity instance represented by the clicked row
    • isText

      public boolean isText()
      Returns:
      true if the user clicks on text inside the table cell, false otherwise