Interface SelectionChangeNotifier<C extends com.vaadin.flow.component.Component,T>

Type Parameters:
C - the component type
T - the type of the items to select
All Known Implementing Classes:
DataGrid, JmixGrid, JmixTreeGrid, Kanban, TreeDataGrid

public interface SelectionChangeNotifier<C extends com.vaadin.flow.component.Component,T>
Interface to be implemented by UI components that support adding items selection listeners.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.vaadin.flow.shared.Registration
    addSelectionListener(com.vaadin.flow.data.selection.SelectionListener<C,T> listener)
    Adds a selection listener to the component.
  • Method Details

    • addSelectionListener

      com.vaadin.flow.shared.Registration addSelectionListener(com.vaadin.flow.data.selection.SelectionListener<C,T> listener)
      Adds a selection listener to the component.
      Parameters:
      listener - the listener to add
      Returns:
      a registration handle to remove the listener