T
- the event source typeS
- the type of the sorting informationpublic class SortEvent<T extends Component,S extends SortOrder<?>> extends ComponentEvent<T>
DataProvider
. Fired by
SortNotifiers
.SortOrder
,
Serialized FormModifier and Type | Class and Description |
---|---|
static interface |
SortEvent.SortNotifier<T extends Component,S extends SortOrder<?>>
The interface for adding and removing listeners for
SortEvents . |
source
Constructor and Description |
---|
SortEvent(T source,
List<S> sortOrder,
boolean fromClient)
Creates a new sort order change event with a sort order list.
|
Modifier and Type | Method and Description |
---|---|
List<S> |
getSortOrder()
Gets the sort order list.
|
getSource, isFromClient, unregisterListener
toString
public SortEvent(T source, List<S> sortOrder, boolean fromClient)
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 callCopyright © 2020. All rights reserved.