T
- The row type of the grid. The row type is the POJO type from where
the data is retrieved into the column cells.public class ColumnReorderEvent<T> extends com.google.gwt.event.shared.GwtEvent<ColumnReorderHandler<T>>
Constructor and Description |
---|
ColumnReorderEvent(List<Grid.Column<?,T>> oldColumnOrder,
List<Grid.Column<?,T>> newColumnOrder,
boolean userOriginated) |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(ColumnReorderHandler<T> handler) |
com.google.gwt.event.shared.GwtEvent.Type<ColumnReorderHandler<T>> |
getAssociatedType() |
List<Grid.Column<?,T>> |
getNewColumnOrder()
Gets the new ordering of columns.
|
List<Grid.Column<?,T>> |
getOldColumnOrder()
Gets the ordering of columns prior to this event.
|
static com.google.gwt.event.shared.GwtEvent.Type<ColumnReorderHandler<?>> |
getType() |
boolean |
isUserOriginated()
Check whether this event originated from the user reordering columns or
via API call.
|
assertLive, getSource, isLive, kill, revive
public ColumnReorderEvent(List<Grid.Column<?,T>> oldColumnOrder, List<Grid.Column<?,T>> newColumnOrder, boolean userOriginated)
public static final com.google.gwt.event.shared.GwtEvent.Type<ColumnReorderHandler<?>> getType()
public List<Grid.Column<?,T>> getOldColumnOrder()
public List<Grid.Column<?,T>> getNewColumnOrder()
public boolean isUserOriginated()
true
if columns were reordered by the user, false
if notpublic com.google.gwt.event.shared.GwtEvent.Type<ColumnReorderHandler<T>> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<ColumnReorderHandler<T>>
protected void dispatch(ColumnReorderHandler<T> handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<ColumnReorderHandler<T>>
Copyright © 2018 Vaadin Ltd. All rights reserved.