Class GridDataItems.SelectedItemChangeEvent<T>

java.lang.Object
java.util.EventObject
io.jmix.flowui.data.grid.GridDataItems.SelectedItemChangeEvent<T>
Type Parameters:
T - row item type
All Implemented Interfaces:
Serializable
Enclosing interface:
GridDataItems<T>

public static class GridDataItems.SelectedItemChangeEvent<T> extends EventObject
An event that is fired when selected item is changed.
See Also:
  • Field Details

    • selectedItem

      protected final T selectedItem
  • Constructor Details

    • SelectedItemChangeEvent

      public SelectedItemChangeEvent(GridDataItems<T> source, @Nullable T selectedItem)
  • Method Details

    • getSource

      public GridDataItems<T> getSource()
      Overrides:
      getSource in class EventObject
    • getSelectedItem

      @Nullable public T getSelectedItem()
      Returns:
      a new selected item