public static class

PlaceHistoryHandler.DefaultHistorian

extends Object
implements PlaceHistoryHandler.Historian
java.lang.Object
   ↳ com.google.gwt.place.shared.PlaceHistoryHandler.DefaultHistorian

Class Overview

Default implementation of PlaceHistoryHandler.DefaultHistorian, based on History.

Summary

Public Constructors
PlaceHistoryHandler.DefaultHistorian()
Public Methods
HandlerRegistration addValueChangeHandler(ValueChangeHandler<String> valueChangeHandler)
Adds a ValueChangeEvent handler to be informed of changes to the browser's history stack.
String getToken()
void newItem(String token, boolean issueEvent)
Adds a new browser history entry.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.gwt.place.shared.PlaceHistoryHandler.Historian

Public Constructors

public PlaceHistoryHandler.DefaultHistorian ()

Public Methods

public HandlerRegistration addValueChangeHandler (ValueChangeHandler<String> valueChangeHandler)

Adds a ValueChangeEvent handler to be informed of changes to the browser's history stack.

Returns
  • the registration used to remove this value change handler

public String getToken ()

public void newItem (String token, boolean issueEvent)

Adds a new browser history entry. Calling this method will cause onValueChange(com.google.gwt.event.logical.shared.ValueChangeEvent) to be called as well.