Package com.google.gwt.place.shared
Class PlaceHistoryHandler
java.lang.Object
com.google.gwt.place.shared.PlaceHistoryHandler
Monitors
PlaceChangeEvents and
History events and keep them in sync.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDefault implementation ofPlaceHistoryHandler.Historian, based onHistory.static interfaceOptional delegate in charge of History related events. -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new PlaceHistoryHandler with aPlaceHistoryHandler.DefaultHistorian.PlaceHistoryHandler(PlaceHistoryMapper mapper, PlaceHistoryHandler.Historian historian) Create a new PlaceHistoryHandler. -
Method Summary
Modifier and TypeMethodDescriptionvoidHandle the current history token.(package private) Loggerlog()Visible for testing.register(PlaceController placeController, EventBus eventBus, Place defaultPlace) Deprecated.register(PlaceController placeController, EventBus eventBus, Place defaultPlace) Initialize this place history handler.
-
Constructor Details
-
Method Details
-
handleCurrentHistory
public void handleCurrentHistory()Handle the current history token. Typically called at application start, to ensure bookmark launches work. -
log
Logger log()Visible for testing.
-
register(PlaceController, EventBus, Place)