Package com.vaadin.ui
Class Grid.ColumnReorderEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.event.ConnectorEvent
-
- com.vaadin.ui.Component.Event
-
- com.vaadin.ui.Grid.ColumnReorderEvent
-
- All Implemented Interfaces:
HasUserOriginated,Serializable
public static class Grid.ColumnReorderEvent extends Component.Event implements HasUserOriginated
An event that is fired when the columns are reordered.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description ColumnReorderEvent(Grid<?> source, boolean userOriginated)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisUserOriginated()Returnstrueif the column reorder was done by the user,falseif not and it was triggered by server side code.-
Methods inherited from class com.vaadin.ui.Component.Event
getComponent
-
Methods inherited from class com.vaadin.event.ConnectorEvent
getConnector
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
ColumnReorderEvent
public ColumnReorderEvent(Grid<?> source, boolean userOriginated)
- Parameters:
source- the grid where the event originated fromuserOriginated-trueif event is a result of user interaction,falseif from API call
-
-
Method Detail
-
isUserOriginated
public boolean isUserOriginated()
Returnstrueif the column reorder was done by the user,falseif not and it was triggered by server side code.- Specified by:
isUserOriginatedin interfaceHasUserOriginated- Returns:
trueif event is a result of user interaction
-
-