Class PushStateHistorianImpl
- java.lang.Object
-
- com.wallissoftware.pushstate.client.PushStateHistorianImpl
-
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasValueChangeHandlers<String>,com.google.gwt.event.shared.HasHandlers,com.google.gwt.place.shared.PlaceHistoryHandler.Historian
public class PushStateHistorianImpl extends Object implements com.google.gwt.place.shared.PlaceHistoryHandler.Historian, com.google.gwt.event.logical.shared.HasValueChangeHandlers<String>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gwt.event.shared.HandlerRegistrationaddValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<String> pvalueChangeHandler)voidfireEvent(com.google.gwt.event.shared.GwtEvent<?> pevent)StringgetToken()voidnewItem(String ptoken, boolean pissueEvent)voidnewItem(String ptoken, boolean pissueEvent, boolean preplaceState)add new item.
-
-
-
Method Detail
-
getToken
public final String getToken()
- Specified by:
getTokenin interfacecom.google.gwt.place.shared.PlaceHistoryHandler.Historian
-
newItem
public void newItem(String ptoken, boolean pissueEvent)
- Specified by:
newItemin interfacecom.google.gwt.place.shared.PlaceHistoryHandler.Historian
-
newItem
public void newItem(String ptoken, boolean pissueEvent, boolean preplaceState)
add new item.- Parameters:
ptoken- token of the pagepissueEvent- issue eventpreplaceState- replace state
-
fireEvent
public void fireEvent(com.google.gwt.event.shared.GwtEvent<?> pevent)
- Specified by:
fireEventin interfacecom.google.gwt.event.shared.HasHandlers
-
addValueChangeHandler
public com.google.gwt.event.shared.HandlerRegistration addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<String> pvalueChangeHandler)
- Specified by:
addValueChangeHandlerin interfacecom.google.gwt.event.logical.shared.HasValueChangeHandlers<String>- Specified by:
addValueChangeHandlerin interfacecom.google.gwt.place.shared.PlaceHistoryHandler.Historian
-
-