Class TreeItems.SelectedItemChangeEvent<T>

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

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

    • selectedItem

      protected final T selectedItem
  • Constructor Details

    • SelectedItemChangeEvent

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

    • getSource

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

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