Package com.vaadin.flow.data.event
Interface SortEvent.SortNotifier<T extends Component,S extends SortOrder<?>>
-
- Type Parameters:
T
- the event source typeS
- the type of the sorting information
- All Superinterfaces:
Serializable
- 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 forSortEvents
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Registration
addSortListener(ComponentEventListener<SortEvent<T,S>> listener)
Adds a sort order change listener that gets notified when the sort order changes.
-
-
-
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
-
-