public class SortEvent extends Component.Event
Container. Fired by
SortNotifiers.SortEvent.SortListener,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static interface |
SortEvent.SortListener
Listener for sort order change events.
|
static interface |
SortEvent.SortNotifier
The interface for adding and removing listeners for
SortEvents. |
source| Constructor and Description |
|---|
SortEvent(Component source,
List<SortOrder> sortOrder,
boolean userOriginated)
Creates a new sort order change event with a sort order list.
|
| Modifier and Type | Method and Description |
|---|---|
List<SortOrder> |
getSortOrder()
Gets the sort order list.
|
boolean |
isUserOriginated()
Returns whether this event originated from actions done by the user.
|
getComponentgetConnectorgetSource, toStringpublic SortEvent(Component source, List<SortOrder> sortOrder, boolean userOriginated)
source - the component from which the event originatessortOrder - the new sort order listuserOriginated - true if event is a result of user interaction,
false if from API callpublic List<SortOrder> getSortOrder()
public boolean isUserOriginated()
Copyright © 2017 Vaadin Ltd. All rights reserved.