Package org.loboevolution.html.dom
Interface History
- All Known Implementing Classes:
HistoryImpl
public interface History
Allows manipulation of the browser session history, that is the pages visited
in the tab or frame that the current page is loaded in.
-
Method Summary
Modifier and TypeMethodDescriptionvoidback()back.voidforward()forward.intgetLength.getScrollRestoration.voidgo()go.voidgo(int delta) go.voidpushState.voidpushState.voidreplaceState(Object data, String title) replaceState.voidreplaceState(Object data, String title, String url) replaceState.voidsetScrollRestoration(ScrollRestoration scrollRestoration) setScrollRestoration.
-
Method Details
-
getLength
int getLength()getLength.
- Returns:
- a
Integerobject.
-
getScrollRestoration
ScrollRestoration getScrollRestoration()getScrollRestoration.
- Returns:
- a
ScrollRestorationobject.
-
setScrollRestoration
setScrollRestoration.
- Parameters:
scrollRestoration- aScrollRestorationobject.
-
back
void back()back.
-
forward
void forward()forward.
-
go
void go(int delta) go.
- Parameters:
delta- aIntegerobject.
-
go
void go()go.
-
pushState
pushState.
-
pushState
pushState.
-
replaceState
replaceState.
-
replaceState
replaceState.
-