public static class Grid.ColumnReorderEvent extends Component.Event implements HasUserOriginated
source
Constructor and Description |
---|
ColumnReorderEvent(Grid source,
boolean userOriginated) |
Modifier and Type | Method and Description |
---|---|
boolean |
isUserOriginated()
Returns
true if the column reorder was done by the user,
false if not and it was triggered by server side code. |
getComponent
getConnector
getSource, toString
public ColumnReorderEvent(Grid source, boolean userOriginated)
source
- the grid where the event originated fromuserOriginated
- true
if event is a result of user
interaction, false
if from API callpublic boolean isUserOriginated()
true
if the column reorder was done by the user,
false
if not and it was triggered by server side code.isUserOriginated
in interface HasUserOriginated
true
if event is a result of user interactionCopyright © 2018 Vaadin Ltd. All rights reserved.