|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.web.bindery.event.shared.Event<H> com.google.gwt.event.shared.GwtEvent<ColumnSortEvent.Handler> com.google.gwt.user.cellview.client.ColumnSortEvent
public class ColumnSortEvent
Represents a column sort event.
Nested Class Summary | |
---|---|
static class |
ColumnSortEvent.AsyncHandler
A default handler used with views attached to asynchronous data providers such as AsyncDataProvider . |
static interface |
ColumnSortEvent.Handler
Handler for ColumnSortEvent . |
static class |
ColumnSortEvent.ListHandler<T>
A default handler used to sort a List backing a table. |
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
---|
GwtEvent.Type<H> |
Constructor Summary | |
---|---|
protected |
ColumnSortEvent(ColumnSortList sortList)
Construct a new ColumnSortEvent . |
Method Summary | |
---|---|
protected void |
dispatch(ColumnSortEvent.Handler handler)
Should only be called by HandlerManager . |
static ColumnSortEvent |
fire(HasHandlers source,
ColumnSortList sortList)
Fires a column sort event on all registered handlers in the handler manager. |
GwtEvent.Type<ColumnSortEvent.Handler> |
getAssociatedType()
Returns the Event.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class. |
Column<?,?> |
getColumn()
Get the Column that was sorted. |
ColumnSortList |
getColumnSortList()
Get the ColumnSortList that contains the ordered list of sorted
columns. |
static GwtEvent.Type<ColumnSortEvent.Handler> |
getType()
Gets the type associated with this event. |
boolean |
isSortAscending()
Check if the Column is sorted in ascending order. |
Methods inherited from class com.google.gwt.event.shared.GwtEvent |
---|
assertLive, getSource, 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 |
---|
protected ColumnSortEvent(ColumnSortList sortList)
ColumnSortEvent
.
sortList
- the ColumnSortList
Method Detail |
---|
public static ColumnSortEvent fire(HasHandlers source, ColumnSortList sortList)
source
- the source of the eventsortList
- the ColumnSortList
of sorted columns
ColumnSortEvent
that was firedpublic static GwtEvent.Type<ColumnSortEvent.Handler> getType()
public GwtEvent.Type<ColumnSortEvent.Handler> getAssociatedType()
Event
Event.Type
used to register this event, allowing an
EventBus
to find handlers of the appropriate class.
getAssociatedType
in class GwtEvent<ColumnSortEvent.Handler>
public Column<?,?> getColumn()
Column
that was sorted.
Column
, or null if not sortedpublic ColumnSortList getColumnSortList()
ColumnSortList
that contains the ordered list of sorted
columns.
ColumnSortList
public boolean isSortAscending()
Column
is sorted in ascending order.
protected void dispatch(ColumnSortEvent.Handler handler)
GwtEvent
HandlerManager
. In other words, do not use
or call.
dispatch
in class GwtEvent<ColumnSortEvent.Handler>
handler
- handlerEventBus.dispatchEvent(Event, Object)
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |