Interface SortEvent.SortNotifier<T extends com.vaadin.flow.component.Component,S extends SortOrder<?>>

Type Parameters:
T - the event source type
S - the type of the sorting information
All Superinterfaces:
Serializable
Enclosing class:
SortEvent<T extends com.vaadin.flow.component.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 com.vaadin.flow.component.Component,S extends SortOrder<?>> extends Serializable
The interface for adding and removing listeners for SortEvents.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.vaadin.flow.shared.Registration
    addSortListener(com.vaadin.flow.component.ComponentEventListener<SortEvent<T,S>> listener)
    Adds a sort order change listener that gets notified when the sort order changes.
  • Method Details

    • addSortListener

      com.vaadin.flow.shared.Registration addSortListener(com.vaadin.flow.component.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