|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.web.bindery.event.shared.Event<H>
com.google.gwt.event.shared.GwtEvent<SortHandler<?>>
com.vaadin.client.widget.grid.sort.SortEvent<T>
public class SortEvent<T>
A sort event, fired by the Grid when it needs its data source to provide data sorted in a specific manner.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
|---|
com.google.gwt.event.shared.GwtEvent.Type<H> |
| Constructor Summary | |
|---|---|
SortEvent(Grid<T> grid,
java.util.List<SortOrder> order,
boolean userOriginated)
Creates a new Sort Event. |
|
| Method Summary | |
|---|---|
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 |
java.util.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. |
| Methods inherited from class com.google.gwt.event.shared.GwtEvent |
|---|
assertLive, isLive, kill, revive |
| Methods inherited from class com.google.web.bindery.event.shared.Event |
|---|
setSource, toDebugString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SortEvent(Grid<T> grid,
java.util.List<SortOrder> order,
boolean userOriginated)
grid - a grid referenceorder - an array dictating the desired sort order of the data sourceoriginator - a value indicating where this event originated from| Method Detail |
|---|
public 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()
public Grid<T> getGrid()
public java.util.List<SortOrder> getOrder()
public boolean isUserOriginated()
protected void dispatch(SortHandler<?> handler)
dispatch in class com.google.gwt.event.shared.GwtEvent<SortHandler<?>>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||