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 for
SortEvents
.-
Method Summary
Modifier and TypeMethodDescriptionaddSortListener
(ComponentEventListener<SortEvent<T, S>> listener) Adds a sort order change listener that gets notified when the sort order changes.
-
Method Details
-
addSortListener
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
-