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 TypeMethodDescriptionvoid
back()
back.void
forward()
forward.int
getLength.getScrollRestoration.void
go()
go.void
go
(int delta) go.void
pushState.void
pushState.void
replaceState
(Object data, String title) replaceState.void
replaceState
(Object data, String title, String url) replaceState.void
setScrollRestoration
(ScrollRestoration scrollRestoration) setScrollRestoration.
-
Method Details
-
getLength
int getLength()getLength.
- Returns:
- a
Integer
object.
-
getScrollRestoration
ScrollRestoration getScrollRestoration()getScrollRestoration.
- Returns:
- a
ScrollRestoration
object.
-
setScrollRestoration
setScrollRestoration.
- Parameters:
scrollRestoration
- aScrollRestoration
object.
-
back
void back()back.
-
forward
void forward()forward.
-
go
void go(int delta) go.
- Parameters:
delta
- aInteger
object.
-
go
void go()go.
-
pushState
pushState.
-
pushState
pushState.
-
replaceState
replaceState.
-
replaceState
replaceState.
-