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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
back()
back.void
forward()
forward.int
getLength.getScrollRestoration.void
go()
go.void
go
(int offset) 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.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:
getScrollRestoration
in interfaceHistory
- Returns:
- a
ScrollRestoration
object.
-
setScrollRestoration
setScrollRestoration.
- Specified by:
setScrollRestoration
in interfaceHistory
- Parameters:
scrollRestoration
- aScrollRestoration
object.
-
go
public void go()go.
-
pushState
pushState.
-
pushState
pushState.
-
replaceState
replaceState.
- Specified by:
replaceState
in interfaceHistory
- Parameters:
data
- aObject
object.title
- aString
object.url
- aString
object.
-
replaceState
replaceState.
- Specified by:
replaceState
in interfaceHistory
- Parameters:
data
- aObject
object.title
- aString
object.
-
toString
-