We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
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:
public static class Grid.ColumnReorderEvent extends Component.Event 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
Constructors Constructor Description ColumnReorderEvent​(Grid<?> source, boolean userOriginated)
-
Method Summary
All Methods Modifier and Type Method 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.-
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
-true
if event is a result of user interaction,false
if from API call
-
-
Method Detail
-
isUserOriginated
public boolean isUserOriginated()
Returns
true
if the column reorder was done by the user,false
if not and it was triggered by server side code.Specified by:
isUserOriginated
in interfaceHasUserOriginated
Returns:
true
if event is a result of user interaction
-
-