| Package | Description |
|---|---|
| cat.inspiracio.dom | |
| cat.inspiracio.html | |
| cat.inspiracio.html.host |
This package contains the classes that may be used in javascript
as host objects.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
HTMLCollection<T extends HTMLElement>
Spec
Also implements java.lang.Iterable for convenient for-loop.
|
class |
HTMLCollectionImp<T extends HTMLElement>
Simple implementation of HTMLCollection, backed by a list.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
HTMLCollectionImp.Filter.accept(HTMLElement e) |
| Constructor and Description |
|---|
DOMSettableTokenListImp(HTMLElement e,
String attribute) |
DOMTokenListImp(HTMLElement element,
String key)
Makes a token list for this element, for this attribute.
|
HTMLCollectionImp(HTMLElement element,
HTMLCollectionImp.Filter f)
Fills the collection with all descendant elements of the element
that satisfy the filter.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
HTMLAnchorElement
spec
The methods of URLUtils are not implemented.
|
interface |
HTMLAreaElement
spec
The methods of URLUtils are not implemented.
|
interface |
HTMLArticleElement
spec
This interface is not in spec.
|
interface |
HTMLAudioElement
|
interface |
HTMLBaseElement
|
interface |
HTMLBodyElement
|
interface |
HTMLBRElement
|
interface |
HTMLButtonElement
|
interface |
HTMLCanvasElement
|
interface |
HTMLDataElement
|
interface |
HTMLDataListElement
|
interface |
HTMLDivElement
|
interface |
HTMLDListElement
|
interface |
HTMLEmbedElement
spec
An embed element may have arbitrary additional methods.
|
interface |
HTMLFieldSetElement
|
interface |
HTMLFormElement
Spec
Javascript-array style access and javascript-map-style access are not implemented.
|
interface |
HTMLHeadElement
|
interface |
HTMLHRElement
|
interface |
HTMLHtmlElement
|
interface |
HTMLIFrameElement
|
interface |
HTMLImageElement
|
interface |
HTMLInputElement
|
interface |
HTMLKeygenElement
|
interface |
HTMLLabelElement
|
interface |
HTMLLegendElement
|
interface |
HTMLLIElement
|
interface |
HTMLLinkElement
|
interface |
HTMLMapElement
|
interface |
HTMLMediaElement
|
interface |
HTMLMetaElement
|
interface |
HTMLMeterElement
|
interface |
HTMLModElement
|
interface |
HTMLObjectElement
spec
An object element may have arbitrary additional methods.
|
interface |
HTMLOListElement
|
interface |
HTMLOptGroupElement
|
interface |
HTMLOptionElement
|
interface |
HTMLOutputElement
|
interface |
HTMLParagraphElement
|
interface |
HTMLParamElement
|
interface |
HTMLPictureElement
The picture element, which is still in draft spec.
|
interface |
HTMLPreElement
|
interface |
HTMLProgressElement
|
interface |
HTMLQuoteElement
|
interface |
HTMLScriptElement
|
interface |
HTMLSelectElement
Spec
The select element should also act as array of option elements:
select[index] = option;
option = select[index]
This interface extends ScriptArray<HTMLOptionElement> in order to
signal that it wants array notation to work.
|
interface |
HTMLSourceElement
|
interface |
HTMLSpanElement
|
interface |
HTMLStyleElement
spec
For interface LinkStyle see http://dev.w3.org/csswg/cssom/.
|
interface |
HTMLTableCaptionElement
|
interface |
HTMLTableCellElement
|
interface |
HTMLTableColElement
|
interface |
HTMLTableDataCellElement
|
interface |
HTMLTableElement
|
interface |
HTMLTableHeaderCellElement
|
interface |
HTMLTableRowElement
|
interface |
HTMLTableSectionElement
Represents thead, tbody, tfoot elements.
|
interface |
HTMLTemplateElement
|
interface |
HTMLTextAreaElement
|
interface |
HTMLTimeElement
|
interface |
HTMLTitleElement
|
interface |
HTMLTrackElement
|
interface |
HTMLUListElement
|
interface |
HTMLUnknownElement
spec
The HTMLUnknownElement interface must be used for HTML elements that are
not defined by this specification (or other applicable specifications).
|
interface |
HTMLVideoElement
|
(package private) interface |
cat.inspiracio.html.LabelableElement
spec
Some elements, not all of them form-associated, are categorised as labelable
elements.
|
(package private) interface |
cat.inspiracio.html.ListedElement
Listed elements:
Denotes elements that are listed in the form.elements and fieldset.elements APIs.
|
(package private) interface |
cat.inspiracio.html.ResettableElement
Denotes elements that can be affected when a form element is reset.
|
(package private) interface |
cat.inspiracio.html.SubmittableElement
Denotes elements that can be used for constructing the form data set when a form element is submitted.
|
| Modifier and Type | Class and Description |
|---|---|
class |
HTMLAudioElementImp |
class |
HTMLImageElementImp
Implementation class for image elements.
|
class |
HTMLMetaElementImp |
class |
HTMLOptionElementImp
Public visibility so that it can be extended by Option.
|
| Modifier and Type | Method and Description |
|---|---|
protected <T extends HTMLElement> |
HTMLElementImp.createElement(Class<T> c)
Factory method for convenience:
Creates an element of this interface.
|
<T extends HTMLElement> |
HTMLDocument.createElement(Class<T> c)
Create an element of this interface.
|
<T extends HTMLElement> |
HTMLDocumentImp.createElement(Class<T> c)
Create an element of this class.
|
| Modifier and Type | Method and Description |
|---|---|
HTMLElement |
HTMLElementImp.cloneNode(boolean deep) |
protected HTMLElement |
HTMLElementImp.createElement(String tag)
Factory method for convenience
|
HTMLElement |
HTMLDocument.createElement(String tag) |
HTMLElement |
HTMLDocumentImp.createElement(String tag)
Overrides org.apache.html.dom.HTMLDocumentImpl#createElement(java.lang.String)
|
protected HTMLElement |
Decorator.decorate(HTMLDocumentImp d,
String tag)
Creates an html5 element for this tag.
|
HTMLElement |
HTMLDocument.get(String name)
Returns the first element with this name.
|
HTMLElement |
HTMLDocumentImp.get(String name)
Gets an element by name.
|
HTMLElement |
HTMLLabelElement.getControl() |
protected HTMLElement |
HTMLElementImp.getElementById(String id)
Convenience for subclass implementations
|
HTMLElement |
HTMLDocument.getElementById(String id) |
HTMLElement |
HTMLDocumentImp.getElementById(String id) |
protected HTMLElement |
HTMLElementImp.getElementByTagName(String tag)
Convenience: returns the first child element with this tag, or null.
|
HTMLElement |
HTMLDocument.getElementByTagName(String tag)
The first element with this tag, or null.
|
HTMLElement |
HTMLDocumentImp.getElementByTagName(String tag)
Convenience: gets the first element with that tag,
or null if there are none.
|
HTMLElement |
HTMLInputElement.getList() |
| Modifier and Type | Method and Description |
|---|---|
HTMLCollection<HTMLElement> |
HTMLElementImp.getChildElements() |
HTMLCollection<HTMLElement> |
HTMLElement.getChildElements()
Convenience: get all children that are elements.
|
HTMLCollection<HTMLElement> |
HTMLDocumentImp.getElementsByName(String name) |
HTMLCollection<HTMLElement> |
HTMLElementImp.getElementsByTagName(String tag) |
HTMLCollection<HTMLElement> |
HTMLMapElement.getImages() |
HTMLCollection<HTMLElement> |
HTMLDocument.getLinks() |
HTMLCollection<HTMLElement> |
HTMLDocumentImp.getLinks()
a-elements with href and area-elements with href, in tree order
|
| Modifier and Type | Method and Description |
|---|---|
void |
HTMLOptionsCollection.add(HTMLOptGroupElement group,
HTMLElement before)
Inserts element before the node given by before.
|
void |
HTMLSelectElement.add(HTMLOptGroupElement group,
HTMLElement before) |
void |
HTMLOptionsCollection.add(HTMLOptionElement option,
HTMLElement before)
Inserts element before the node given by before.
|
void |
HTMLSelectElement.add(HTMLOptionElement option,
HTMLElement before) |
void |
HTMLElementImp.prepend(HTMLElement element)
Add an element as first child.
|
void |
HTMLElement.prepend(HTMLElement element)
Add an element as first child.
|
void |
HTMLDocument.set(String name,
HTMLElement element)
Not in spec.
|
void |
HTMLDocumentImp.set(String name,
HTMLElement element)
Not in spec.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Audio
A constructor for an audio element, so that "new Audio()" can be called
in javascript.
|
class |
Image
This class exists so that we can call "new Image()" from javascript.
|
class |
Option
Host object for "new Option()" in javascript.
|
Copyright © 2017. All rights reserved.