public static interface

PlaceHistoryHandler.Historian

com.google.gwt.place.shared.PlaceHistoryHandler.Historian
Known Indirect Subclasses

Class Overview

Optional delegate in charge of History related events. Provides nice isolation for unit testing, and allows pre- or post-processing of tokens. Methods correspond to the like named methods on History.

Summary

Public Methods
abstract HandlerRegistration addValueChangeHandler(ValueChangeHandler<String> valueChangeHandler)
Adds a ValueChangeEvent handler to be informed of changes to the browser's history stack.
abstract String getToken()
abstract void newItem(String token, boolean issueEvent)
Adds a new browser history entry.

Public Methods

public abstract 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 abstract String getToken ()

Returns
  • the current history token.

public abstract 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.