Package com.google.gwt.place.shared
Class PlaceHistoryHandler
java.lang.Object
com.google.gwt.place.shared.PlaceHistoryHandler
Monitors
PlaceChangeEvent
s and
History
events and keep them in sync.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Default implementation ofPlaceHistoryHandler.Historian
, based onHistory
.static interface
Optional delegate in charge of History related events. -
Constructor Summary
ConstructorDescriptionCreate a new PlaceHistoryHandler with aPlaceHistoryHandler.DefaultHistorian
.PlaceHistoryHandler
(PlaceHistoryMapper mapper, PlaceHistoryHandler.Historian historian) Create a new PlaceHistoryHandler. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Handle the current history token.(package private) Logger
log()
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)