public interface BrowserNavigation extends ClientService
Modifier and Type | Method and Description |
---|---|
void |
addBrowserNavigationListener(BrowserNavigationListener listener)
Adds a listener to the browser navigation.
|
void |
pushState(java.lang.String state,
java.lang.String title)
Creates an entry in the browser history.
|
void |
removeBrowserNavigationListener(BrowserNavigationListener listener)
Removes a listener from the navigation support.
|
void pushState(java.lang.String state, java.lang.String title)
state
- an unique id to identify the history entry, used in the fragment part of the
URL. Must neither be null
nor emptytitle
- a human-readable text to identify the history entry in the browser's UI or
null
void addBrowserNavigationListener(BrowserNavigationListener listener)
listener
- the listener to add, must not be null
void removeBrowserNavigationListener(BrowserNavigationListener listener)
listener
- the listener to remove, must not be null
Copyright (c) EclipseSource and others 2002, 2016.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0