Package org.loboevolution.html.js
Class HistoryImpl
java.lang.Object
org.loboevolution.js.AbstractScriptableDelegate
org.loboevolution.html.js.HistoryImpl
- All Implemented Interfaces:
History,ScriptableDelegate
The History class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidback()back.voidforward()forward.intgetLength.getScrollRestoration.voidgo()go.voidgo(int offset) go.voidpushState.voidpushState.voidreplaceState(Object data, String title) replaceState.voidreplaceState(Object data, String title, String url) replaceState.voidsetScrollRestoration(ScrollRestoration scrollRestoration) setScrollRestoration.toString()Methods inherited from class org.loboevolution.js.AbstractScriptableDelegate
getScriptable, setScriptable
-
Constructor Details
-
HistoryImpl
-
-
Method Details
-
back
public void back()back.
-
forward
public void forward()forward.
-
getLength
public int getLength()getLength.
-
go
public void go(int offset) go.
-
getScrollRestoration
getScrollRestoration.
- Specified by:
getScrollRestorationin interfaceHistory- Returns:
- a
ScrollRestorationobject.
-
setScrollRestoration
setScrollRestoration.
- Specified by:
setScrollRestorationin interfaceHistory- Parameters:
scrollRestoration- aScrollRestorationobject.
-
go
public void go()go.
-
pushState
pushState.
-
pushState
pushState.
-
replaceState
replaceState.
- Specified by:
replaceStatein interfaceHistory- Parameters:
data- aObjectobject.title- aStringobject.url- aStringobject.
-
replaceState
replaceState.
- Specified by:
replaceStatein interfaceHistory- Parameters:
data- aObjectobject.title- aStringobject.
-
toString
-