Package | Description |
---|---|
org.pepstock.charba.client.commons |
Core classes to manage the inter-operations with java script code.
|
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.
|
org.pepstock.charba.client.utils |
Contains some utilities to use in Charba, like HTML annotation builder, and other java script utilities useful for debugging.
|
Modifier and Type | Method and Description |
---|---|
protected BaseHtmlElement |
NativeObjectContainer.getElement(Key key)
Returns a value (BaseHtmlElement) in the embedded JavaScript object at specific property.
|
Modifier and Type | Method and Description |
---|---|
protected void |
NativeObjectContainer.setElement(Key key,
BaseHtmlElement value)
Sets a value (BaseHtmlElement) in the embedded JavaScript object at specific property.
|
protected void |
AbstractNode.setElementAndAddToParent(Key key,
BaseHtmlElement value)
Sets a value (BaseHtmlElement) in the embedded JavaScript object at specific property.
|
Modifier and Type | Method and Description |
---|---|
<T extends BaseHtmlElement> |
BaseDocument.createElement(String tagName)
Creates the HTML element specified by tag name.
|
Modifier and Type | Method and Description |
---|---|
BaseHtmlElement |
BaseHtmlElement.getParentHtmlElement()
Returns an HTML element that is the parent of this element.
If the element has no parent, or if that parent is not an element, returns null . |
BaseHtmlElement |
BaseNativeEvent.getRelatedTarget()
Returns the secondary target for the event, if there is one.
|
Modifier and Type | Method and Description |
---|---|
List<BaseHtmlElement> |
MutationRecord.getAddedElements()
Returns the elements added.
Will be an empty element list if no elements were added. |
List<BaseHtmlElement> |
MutationRecord.getRemovedElements()
Returns the elements removed.
Will be an empty element list if no elements were removed. |
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.
|
Modifier and Type | Method and Description |
---|---|
static Img |
AnnotationBuilder.build(BaseHtmlElement htmlXmlContent,
double width,
double height)
Creates an image to apply to canvas with the HTML content (passed as DOM element) and width and height of the resulted image.
|