Package org.pepstock.charba.client.dom
Class DOM
- java.lang.Object
-
- org.pepstock.charba.client.dom.DOM
-
@JsType(isNative=true, namespace="<global>", name="window") public final class DOM extends ObjectThe DOM object provide a static reference to the document attached in the window.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BaseHtmlDocumentgetDocument()Returns a reference to the document that the window contains.static BaseLocationgetLocation()Returns aBaseLocationobject, which contains information about the URL of the document and provides methods for changing that URL and loading another URL.static BaseNavigatorgetNavigator()Returns aBaseNavigatorobject, 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 aBaseLocationobject, which contains information about the URL of the document and provides methods for changing that URL and loading another URL.- Returns:
- a
BaseLocationobject, 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 aBaseNavigatorobject, which represents the state and the identity of the user agent.- Returns:
- a
BaseNavigatorobject, which represents the state and the identity of the user agent
-
-