|
GWT 2.7.0 | |||||||
| 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<RowCountChangeEvent.Handler>
com.google.gwt.view.client.RowCountChangeEvent
public class RowCountChangeEvent
Represents a row count change event.
| Nested Class Summary | |
|---|---|
static interface |
RowCountChangeEvent.Handler
Handler interface for RowCountChangeEvent events. |
| Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
|---|
GwtEvent.Type<H> |
| Constructor Summary | |
|---|---|
protected |
RowCountChangeEvent(int rowCount,
boolean isExact)
Creates a RowCountChangeEvent. |
| Method Summary | |
|---|---|
protected void |
dispatch(RowCountChangeEvent.Handler handler)
Should only be called by HandlerManager. |
static void |
fire(HasRows source,
int rowCount,
boolean isExact)
Fires a RowCountChangeEvent on all registered handlers in the
handler manager. |
GwtEvent.Type<RowCountChangeEvent.Handler> |
getAssociatedType()
Returns the Event.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class. |
int |
getNewRowCount()
Gets the new row count. |
static GwtEvent.Type<RowCountChangeEvent.Handler> |
getType()
Gets the type associated with this event. |
boolean |
isNewRowCountExact()
Check if the new row count is exact. |
java.lang.String |
toDebugString()
This is a method used primarily for debugging. |
| 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, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected RowCountChangeEvent(int rowCount,
boolean isExact)
RowCountChangeEvent.
rowCount - the new row countisExact - true if the row count is exact| Method Detail |
|---|
public static void fire(HasRows source,
int rowCount,
boolean isExact)
RowCountChangeEvent on all registered handlers in the
handler manager. If no such handlers exist, this method will do nothing.
source - the source of the handlersrowCount - the new rowCountisExact - true if rowCount is an exact countpublic static GwtEvent.Type<RowCountChangeEvent.Handler> getType()
public final GwtEvent.Type<RowCountChangeEvent.Handler> getAssociatedType()
EventEvent.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class.
getAssociatedType in class GwtEvent<RowCountChangeEvent.Handler>public int getNewRowCount()
public boolean isNewRowCountExact()
public java.lang.String toDebugString()
Event
toDebugString in class Event<RowCountChangeEvent.Handler>protected void dispatch(RowCountChangeEvent.Handler handler)
GwtEventHandlerManager. In other words, do not use
or call.
dispatch in class GwtEvent<RowCountChangeEvent.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 | |||||||