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 |
BaseAttribute
Represents one of a DOM element's attributes as an object.
|
class |
BaseDocument
Represents any web page loaded in the browser and serves as an entry point in the the web page's content, which is the DOM tree.
It provides functionality globally to the document, like how to obtain the page's URL and create new elements in the document. |
class |
BaseElement
Base class from which all element objects (objects that represent elements) in a document inherit.
It only has methods and properties common to all kinds of elements. |
class |
BaseHtmlDocument
Extends the document to include methods and properties that are specific to HTML documents.
|
class |
BaseHtmlElement
Represents any HTML element.
|
class |
BaseNode
A object from which various types of DOM objects inherit, allowing those types to be treated similarly.
|
Modifier and Type | Method and Description |
---|---|
BaseEventTarget |
BaseTouch.getTarget()
Returns the element on which the touch point started when it was first placed on the surface, even if the touch point has since moved outside the interactive area of that
element or even been removed from the document.
|
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.
|
class |
TextNode
Represents the textual content of an element or attribute.
If an element has no markup within its content, it has a single child implementing text node that contains the element's text. |