public class SortEvent extends Component.Event
Container
. Fired by
SortNotifiers
.SortEvent.SortListener
,
Serialized FormModifier 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.
|
getComponent
getConnector
getSource, toString
public 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 © 2019 Vaadin Ltd. All rights reserved.