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
Class SortEvent<T extends Component,S extends SortOrder<?>>
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<T>
com.vaadin.flow.data.event.SortEvent<T,S>
Type Parameters:
T
- the event source type
S
- the type of the sorting information
All Implemented Interfaces:
Event describing a change in sorting of a DataProvider
. Fired by
SortNotifiers
.
Since:
1.0
Author:
Vaadin Ltd
See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
SortEvent.SortNotifier<T extends Component,
S extends SortOrder<?>> The interface for adding and removing listeners for
SortEvents
. -
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
SortEvent
Creates a new sort order change event with a sort order list.
Parameters:
source
- the component from which the event originatessortOrder
- the new sort order listfromClient
-true
if event is a result of user interaction,false
if from API call
-
-
Method Details
-
getSortOrder
Gets the sort order list.
Returns:
the sort order list
-