Package org.pepstock.charba.client.dom
Class DOM
- java.lang.Object
-
- org.pepstock.charba.client.dom.DOM
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BaseHtmlDocument
getDocument()
Returns a reference to the document that the window contains.static BaseLocation
getLocation()
Returns aBaseLocation
object, which contains information about the URL of the document and provides methods for changing that URL and loading another URL.static BaseNavigator
getNavigator()
Returns aBaseNavigator
object, which represents the state and the identity of the user agent.
-
-
-
Method Detail
-
getDocument
@JsProperty public static BaseHtmlDocument getDocument()
Returns a reference to the document that the window contains.- Returns:
- a reference to the document that the window contains
-
getLocation
@JsProperty public static BaseLocation getLocation()
Returns aBaseLocation
object, which contains information about the URL of the document and provides methods for changing that URL and loading another URL.- Returns:
- a
BaseLocation
object, which contains information about the URL of the document and provides methods for changing that URL and loading another URL
-
getNavigator
@JsProperty public static BaseNavigator getNavigator()
Returns aBaseNavigator
object, which represents the state and the identity of the user agent.- Returns:
- a
BaseNavigator
object, which represents the state and the identity of the user agent
-
-