We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.data.event.
Package 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:
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 addReturns:
a registration object for removing the listener
-