Package org.pepstock.charba.client.dom
Class BaseHtmlDocument
- java.lang.Object
- 
- org.pepstock.charba.client.dom.BaseEventTarget
- 
- org.pepstock.charba.client.dom.BaseNode
- 
- org.pepstock.charba.client.dom.BaseDocument
- 
- org.pepstock.charba.client.dom.BaseHtmlDocument
 
 
 
 
- 
 @JsType(isNative=true, name="HTMLDocument", namespace="<global>") public final class BaseHtmlDocument extends BaseDocumentExtends the document to include methods and properties that are specific to HTML documents.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.pepstock.charba.client.dom.BaseEventTargetBaseEventTarget.EventListenerCallback
 
- 
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseHtmlElementgetActiveElement()Returns the element within the DOM that currently has focus.BodygetBody()Returns the <body> or <frameset> node of the current document, ornullif no such element exists.- 
Methods inherited from class org.pepstock.charba.client.dom.BaseDocumentcreateElement, createTextNode, getChildElementCount, getDocumentElement, getElementById, getElementsByTagName, getFirstElementChild, getHead, getLastElementChild, getScrollingElement
 - 
Methods inherited from class org.pepstock.charba.client.dom.BaseNodeappendChild, cloneNode, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, getTextContent, hasChildNodes, insertBefore, removeAllChildren, removeChild, setNodeValue, setTextContent
 - 
Methods inherited from class org.pepstock.charba.client.dom.BaseEventTargetaddEventListener, addEventListener, dispatchEvent, dispatchEvent, removeEventListener, removeEventListener
 
- 
 
- 
- 
- 
Method Detail- 
getActiveElement@JsProperty public BaseHtmlElement getActiveElement() Returns the element within the DOM that currently has focus.- Returns:
- the element within the DOM that currently has focus
 
 - 
getBody@JsProperty public Body getBody() Returns the <body> or <frameset> node of the current document, ornullif no such element exists.- Returns:
- the <body> or <frameset> node of the current document, or nullif no such element exists
 
 
- 
 
-