Package io.jmix.ui.component
Class DataGrid.ColumnReorderEvent
java.lang.Object
java.util.EventObject
io.jmix.ui.component.DataGrid.AbstractDataGridEvent
io.jmix.ui.component.DataGrid.ColumnReorderEvent
- All Implemented Interfaces:
HasUserOriginated
,Serializable
public static class DataGrid.ColumnReorderEvent
extends DataGrid.AbstractDataGridEvent
implements HasUserOriginated
An event that is fired when the columns are reordered.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionColumnReorderEvent
(DataGrid component) Constructor for a column reorder change event.ColumnReorderEvent
(DataGrid component, boolean userOriginated) Constructor for a column reorder change event. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns whether this event was triggered by user interaction or programmatically.Methods inherited from class io.jmix.ui.component.DataGrid.AbstractDataGridEvent
getSource
Methods inherited from class java.util.EventObject
toString
-
Field Details
-
userOriginated
protected final boolean userOriginated
-
-
Constructor Details
-
ColumnReorderEvent
Constructor for a column reorder change event.- Parameters:
component
- the DataGrid from which this event originates
-
ColumnReorderEvent
Constructor for a column reorder change event.- Parameters:
component
- the DataGrid from which this event originatesuserOriginated
-true
if an event is a result of user interaction,false
if from the API call
-
-
Method Details
-
isUserOriginated
public boolean isUserOriginated()Description copied from interface:HasUserOriginated
Returns whether this event was triggered by user interaction or programmatically.- Specified by:
isUserOriginated
in interfaceHasUserOriginated
- Returns:
true
if this event originates by user interaction,false
otherwise.
-