public class SortEvent<T> extends com.google.gwt.event.shared.GwtEvent<SortHandler<?>>
| Constructor and Description |
|---|
SortEvent(Grid<T> grid,
List<SortOrder> order,
boolean userOriginated)
Creates a new Sort Event.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispatch(SortHandler<?> handler) |
com.google.gwt.event.shared.GwtEvent.Type<SortHandler<?>> |
getAssociatedType() |
Grid<T> |
getGrid()
Get access to the Grid that fired this event.
|
List<SortOrder> |
getOrder()
Get the sort ordering that is to be applied to the Grid.
|
Grid<T> |
getSource()
Get access to the Grid that fired this event.
|
static com.google.gwt.event.shared.GwtEvent.Type<SortHandler<?>> |
getType()
Static access to the GWT event type identifier associated with this Event
class.
|
boolean |
isUserOriginated()
Returns whether this event originated from actions done by the user.
|
public SortEvent(Grid<T> grid, List<SortOrder> order, boolean userOriginated)
grid - a grid referenceorder - an array dictating the desired sort order of the data sourceuserOriginated - where this event originated from the user or notpublic com.google.gwt.event.shared.GwtEvent.Type<SortHandler<?>> getAssociatedType()
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<SortHandler<?>>public static com.google.gwt.event.shared.GwtEvent.Type<SortHandler<?>> getType()
public Grid<T> getSource()
getSource in class com.google.gwt.event.shared.GwtEvent<SortHandler<?>>public Grid<T> getGrid()
public List<SortOrder> getOrder()
public boolean isUserOriginated()
protected void dispatch(SortHandler<?> handler)
dispatch in class com.google.gwt.event.shared.GwtEvent<SortHandler<?>>Copyright © 2018 Vaadin Ltd. All rights reserved.