Class DataGridItems.SelectedItemChangeEvent<T>

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

public static class DataGridItems.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(DataGridItems<T> source, @Nullable T selectedItem)
  • Method Details

    • getSource

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

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