public static class DataGrid.ColumnReorderEvent extends DataGrid.AbstractDataGridEvent implements HasUserOriginated
Modifier and Type | Field and Description |
---|---|
protected boolean |
userOriginated |
Constructor and Description |
---|
ColumnReorderEvent(DataGrid component)
Constructor for a column reorder change event.
|
ColumnReorderEvent(DataGrid component,
boolean userOriginated)
Constructor for a column reorder change event.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isUserOriginated()
Returns whether this event was triggered by user interaction or programmatically.
|
getSource
public ColumnReorderEvent(DataGrid component)
component
- the DataGrid from which this event originatespublic ColumnReorderEvent(DataGrid component, boolean userOriginated)
component
- the DataGrid from which this event originatesuserOriginated
- true
if an event is a result of user interaction,
false
if from the API callpublic boolean isUserOriginated()
HasUserOriginated
isUserOriginated
in interface HasUserOriginated
true
if this event originates by user interaction, false
otherwise.