|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.place.shared.PlaceHistoryHandler
public class PlaceHistoryHandler
Monitors PlaceChangeEvent
s and
History
events and keep them in sync.
Nested Class Summary | |
---|---|
static class |
PlaceHistoryHandler.DefaultHistorian
Default implementation of PlaceHistoryHandler.DefaultHistorian , based on History . |
static interface |
PlaceHistoryHandler.Historian
Optional delegate in charge of History related events. |
Constructor Summary | |
---|---|
PlaceHistoryHandler(PlaceHistoryMapper mapper)
Create a new PlaceHistoryHandler with a PlaceHistoryHandler.DefaultHistorian . |
|
PlaceHistoryHandler(PlaceHistoryMapper mapper,
PlaceHistoryHandler.Historian historian)
Create a new PlaceHistoryHandler. |
Method Summary | |
---|---|
void |
handleCurrentHistory()
Handle the current history token. |
(package private) java.util.logging.Logger |
log()
Visible for testing. |
HandlerRegistration |
register(PlaceController placeController,
EventBus eventBus,
Place defaultPlace)
Deprecated. use register(PlaceController, EventBus, Place) |
HandlerRegistration |
register(PlaceController placeController,
EventBus eventBus,
Place defaultPlace)
Initialize this place history handler. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlaceHistoryHandler(PlaceHistoryMapper mapper)
PlaceHistoryHandler.DefaultHistorian
. The
DefaultHistorian is created via a call to GWT.create(), so an alternative
default implementation can be provided through <replace-with> rules
in a gwt.xml
file.
mapper
- a PlaceHistoryMapper
instancepublic PlaceHistoryHandler(PlaceHistoryMapper mapper, PlaceHistoryHandler.Historian historian)
mapper
- a PlaceHistoryMapper
instancehistorian
- a PlaceHistoryHandler.DefaultHistorian
instanceMethod Detail |
---|
public void handleCurrentHistory()
@Deprecated public HandlerRegistration register(PlaceController placeController, EventBus eventBus, Place defaultPlace)
register(PlaceController, EventBus, Place)
EventBus
.
public HandlerRegistration register(PlaceController placeController, EventBus eventBus, Place defaultPlace)
java.util.logging.Logger log()
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |