| Package | Description | 
|---|---|
| org.pepstock.charba.client.dom | 
 Contains all classes needed to work with DOM tree, base classes of a DOM tree. 
 | 
| org.pepstock.charba.client.dom.elements | 
 Contains a set of DOM elements that Charba is using. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
BaseHtmlElement
Represents any HTML element. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
BaseElement | 
BaseDocument.getDocumentElement()
Returns the element that is a direct child of the document. 
This is normally the object representing the document's <html< element.  | 
BaseElement | 
BaseDocument.getElementById(String id)
Returns an element object representing the element whose id property matches the specified string. 
 | 
BaseElement | 
BaseElement.getFirstElementChild()
Returns the first node which is both a child of this element and is also an element, or  
null if there is none. | 
BaseElement | 
BaseDocument.getFirstElementChild()
Returns the first node which is both a child of this parent node and is also an element, or  
null if there is none. | 
BaseElement | 
BaseElement.getLastElementChild()
Returns the last node which is both a child of this element and is an element, or  
null if there is none. | 
BaseElement | 
BaseDocument.getLastElementChild()
Returns the last node which is both a child of this parent node and is an element, or  
null if there is none. | 
BaseElement | 
BaseElement.getNextElementSibling()
Returns the element immediately following the given one in the tree, or  
null if there's no sibling node. | 
BaseElement | 
BaseHtmlElement.getOffsetParent()
Returns a element that is the element from which all offset calculations are currently computed. 
 | 
BaseElement | 
BaseNode.getParentElement()
Returns an element that is the parent of this node. 
If the node has no parent, or if that parent is not an element, returns null. | 
BaseElement | 
BaseElement.getPreviousElementSibling()
Returns the element immediately preceding the given one in the tree, or  
null if there is no sibling element. | 
BaseElement | 
BaseDocument.getScrollingElement()
Returns a reference to the element that scrolls the document. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
NodeList<BaseElement> | 
BaseElement.getElementsByTagName(String tagname)
Returns a list containing all descendant elements, of a particular tag name, from the current element. 
 | 
NodeList<BaseElement> | 
BaseDocument.getElementsByTagName(String tagName)
Returns an list of elements with the given tag name. 
The complete document is searched, including the root node.  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
Body
Represents the content of an HTML document. 
There can be only one body element in a document.  | 
class  | 
Canvas
Represents a DOM element that enables drawing graphics and animations with own the canvas scripting API. 
 | 
class  | 
Context2dItem
DOM object which provides the 2D rendering context for the drawing surface of a canvas element. 
It is used for drawing shapes, text, images, and other objects.  | 
class  | 
Div
Provides a <div> DOM HTML element. 
 | 
class  | 
Head
Contains the descriptive information, or metadata, for a document. 
 | 
class  | 
Heading
Represents <h3> levels of section heading. 
Used internally only to highlight when canvas is not supported.  | 
class  | 
Img
Represents an HTML <img> element, providing the properties and methods used to manipulate image elements. 
 | 
class  | 
LineBreak
Produces a line break in text (carriage-return). 
 | 
class  | 
Meta
Represents an HTML <meta> element which contains descriptive metadata about a document. 
 | 
class  | 
Script
Provides special properties and methods for manipulating the behavior and execution of <script> elements 
 | 
class  | 
Span
Represents a generic inline container for phrasing content, which does not inherently represent anything. 
 | 
class  | 
Style
Represents a <style> and doesn't allow to manipulate the CSS it contains. 
 | 
class  | 
Table
Provides special properties and methods for manipulating the layout and presentation of tables in an HTML document. 
 | 
class  | 
TableCell
Provides special properties and methods for manipulating the layout and presentation of table cells, either header or data cells, in an HTML document. 
 | 
class  | 
TableRow
Provides special properties and methods for manipulating the layout and presentation of rows in an HTML table. 
 |