Package com.vaadin.featurepack.ui
Class FGrid.ColumnReorderEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<com.vaadin.flow.component.Component>
com.vaadin.featurepack.ui.Event
com.vaadin.featurepack.ui.FGrid.ColumnReorderEvent
- All Implemented Interfaces:
Serializable
- Enclosing class:
FGrid
An event that is fired when the columns are reordered.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturnstrueif the column reorder was done by the user,falseif not and it was triggered by server side code.Methods inherited from class com.vaadin.featurepack.ui.Event
getComponentMethods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, getUI, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
ColumnReorderEvent
- Parameters:
source- the grid where the event originated fromuserOriginated-trueif event is a result of user interaction,falseif from API call
-
-
Method Details
-
isUserOriginated
public boolean isUserOriginated()Returnstrueif the column reorder was done by the user,falseif not and it was triggered by server side code.- Returns:
trueif event is a result of user interaction
-