com.vaadin.flow.data.event.

Interface SortEvent.SortNotifier<T extends Component,S extends SortOrder<?>>

  • Type Parameters:

    T - the event source type

    S - the type of the sorting information

    All Superinterfaces:

    Serializable

    All Known Implementing Classes:

    Grid

    Enclosing class:

    SortEvent<T extends Component,S extends SortOrder<?>>

    Functional Interface:

    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.


    @FunctionalInterface
    public static interface SortEvent.SortNotifier<T extends Component,S extends SortOrder<?>>
    extends Serializable

    The interface for adding and removing listeners for SortEvents.

    • Method Detail

      • addSortListener

        Registration addSortListener(ComponentEventListener<SortEvent<T,S>> listener)

        Adds a sort order change listener that gets notified when the sort order changes.

        Parameters:

        listener - the sort order change listener to add

        Returns:

        a registration object for removing the listener