Package com.google.gwt.place.shared
Class PlaceChangeEvent
java.lang.Object
com.google.web.bindery.event.shared.Event<PlaceChangeEvent.Handler>
com.google.gwt.event.shared.GwtEvent<PlaceChangeEvent.Handler>
com.google.gwt.place.shared.PlaceChangeEvent
Event thrown when the user has reached a new location in the app.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Implemented by handlers of PlaceChangeEvent.Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
GwtEvent.Type<H>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final GwtEvent.Type
<PlaceChangeEvent.Handler> A singleton instance of Type<Handler>. -
Constructor Summary
ConstructorDescriptionPlaceChangeEvent
(Place newPlace) Constructs a PlaceChangeEvent for the givenPlace
. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
dispatch
(PlaceChangeEvent.Handler handler) Should only be called byHandlerManager
.Returns theEvent.Type
used to register this event, allowing anEventBus
to find handlers of the appropriate class.Return the newPlace
.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
-
Field Details
-
TYPE
A singleton instance of Type<Handler>.
-
-
Constructor Details
-
Method Details
-
getAssociatedType
Description copied from class:Event
Returns theEvent.Type
used to register this event, allowing anEventBus
to find handlers of the appropriate class.- Specified by:
getAssociatedType
in classGwtEvent<PlaceChangeEvent.Handler>
- Returns:
- the type
-
getNewPlace
Return the newPlace
.- Returns:
- a
Place
instance
-