public class PlaceChangeEvent extends GwtEvent<PlaceChangeEvent.Handler>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PlaceChangeEvent.Handler
Implemented by handlers of PlaceChangeEvent.
|
GwtEvent.Type<H>| Modifier and Type | Field and Description |
|---|---|
static GwtEvent.Type<PlaceChangeEvent.Handler> |
TYPE
A singleton instance of Type<Handler>.
|
| Constructor and Description |
|---|
PlaceChangeEvent(Place newPlace)
Constructs a PlaceChangeEvent for the given
Place. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispatch(PlaceChangeEvent.Handler handler)
Should only be called by
HandlerManager. |
GwtEvent.Type<PlaceChangeEvent.Handler> |
getAssociatedType()
Returns the
Event.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class. |
Place |
getNewPlace()
Return the new
Place. |
assertLive, getSource, isLive, kill, revivesetSource, toDebugString, toStringpublic static final GwtEvent.Type<PlaceChangeEvent.Handler> TYPE
public GwtEvent.Type<PlaceChangeEvent.Handler> getAssociatedType()
EventEvent.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class.getAssociatedType in class GwtEvent<PlaceChangeEvent.Handler>protected void dispatch(PlaceChangeEvent.Handler handler)
GwtEventHandlerManager. In other words, do not use
or call.dispatch in class GwtEvent<PlaceChangeEvent.Handler>handler - handlerEventBus.dispatchEvent(Event, Object)