Class SortEvent<T extends Component,S extends SortOrder<?>>

Type Parameters:
T - the event source type
S - the type of the sorting information
All Implemented Interfaces:
Serializable

public class SortEvent<T extends Component,S extends SortOrder<?>> extends ComponentEvent<T>
Event describing a change in sorting of a DataProvider. Fired by SortNotifiers.
Since:
1.0
Author:
Vaadin Ltd
See Also:
  • Constructor Details

    • SortEvent

      public SortEvent(T source, List<S> sortOrder, boolean fromClient)
      Creates a new sort order change event with a sort order list.
      Parameters:
      source - the component from which the event originates
      sortOrder - the new sort order list
      fromClient - true if event is a result of user interaction, false if from API call
  • Method Details

    • getSortOrder

      public List<S> getSortOrder()
      Gets the sort order list.
      Returns:
      the sort order list