Package com.google.gwt.place.shared
Class PlaceChangeEvent
java.lang.Object
com.google.web.bindery.event.shared.Event<H>
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
Nested ClassesModifier and TypeClassDescriptionstatic interfaceImplemented by handlers of PlaceChangeEvent.Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
GwtEvent.Type<H> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GwtEvent.Type<PlaceChangeEvent.Handler>A singleton instance of Type<Handler>. -
Constructor Summary
ConstructorsConstructorDescriptionPlaceChangeEvent(Place newPlace) Constructs a PlaceChangeEvent for the givenPlace. -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddispatch(PlaceChangeEvent.Handler handler) Should only be called byHandlerManager.Returns theEvent.Typeused to register this event, allowing anEventBusto find handlers of the appropriate class.Return the newPlace.Methods inherited from class com.google.gwt.event.shared.GwtEvent
assertLive, getSource, isLive, kill, reviveMethods 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:EventReturns theEvent.Typeused to register this event, allowing anEventBusto find handlers of the appropriate class.- Specified by:
getAssociatedTypein classGwtEvent<PlaceChangeEvent.Handler>- Returns:
- the type
-
getNewPlace
Return the newPlace.- Returns:
- a
Placeinstance
-