public class PushStateHistorian extends Object implements com.google.gwt.place.shared.PlaceHistoryHandler.Historian, com.google.gwt.event.logical.shared.HasValueChangeHandlers<String>
| Constructor and Description |
|---|
PushStateHistorian() |
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.event.shared.HandlerRegistration |
addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<String> pvalueChangeHandler) |
void |
fireEvent(com.google.gwt.event.shared.GwtEvent<?> pevent) |
static String |
getRelativePath() |
String |
getToken() |
void |
newItem(String ptoken,
boolean pissueEvent) |
static void |
replaceItem(String pnewToken,
boolean pfireEvent) |
static void |
setRelativePath(String prelativePath)
Call this method in your entry point or bootstrapper to set the relative path of your
application.
|
public static void setRelativePath(String prelativePath)
prelativePath - - the relative path of your app.public static String getRelativePath()
public void fireEvent(com.google.gwt.event.shared.GwtEvent<?> pevent)
fireEvent in interface com.google.gwt.event.shared.HasHandlerspublic com.google.gwt.event.shared.HandlerRegistration addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<String> pvalueChangeHandler)
addValueChangeHandler in interface com.google.gwt.event.logical.shared.HasValueChangeHandlers<String>addValueChangeHandler in interface com.google.gwt.place.shared.PlaceHistoryHandler.Historianpublic String getToken()
getToken in interface com.google.gwt.place.shared.PlaceHistoryHandler.Historianpublic void newItem(String ptoken, boolean pissueEvent)
newItem in interface com.google.gwt.place.shared.PlaceHistoryHandler.Historianpublic static void replaceItem(String pnewToken, boolean pfireEvent)
Copyright © 2016. All rights reserved.