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 typeS- the type of the sorting information
- All Implemented Interfaces:
Serializable
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 interfaceSortEvent.SortNotifier<T extends Component,S extends SortOrder<?>> The interface for adding and removing listeners forSortEvents. -
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, unregisterListenerMethods 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-trueif event is a result of user interaction,falseif from API call
-
-
Method Details
-
getSortOrder
Gets the sort order list.- Returns:
- the sort order list
-