Class Element
java.lang.Object
elemental2.dom.Node
elemental2.dom.Element
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
Nested classes/interfaces inherited from interface elemental2.dom.EventTarget
EventTarget.AddEventListenerListenerFn, EventTarget.AddEventListenerOptionsUnionType, EventTarget.RemoveEventListenerListenerFn, EventTarget.RemoveEventListenerOptionsUnionType
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
int
int
int
int
int
int
double
double
int
Fields inherited from class elemental2.dom.Node
assignedSlot, ATTRIBUTE_NODE, baseURI, CDATA_SECTION_NODE, childNodes, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, firstChild, isConnected, lastChild, localName, namespaceURI, nextSibling, nodeName, nodeType, nodeValue, NOTATION_NODE, ownerDocument, parentElement, parentNode, prefix, previousSibling, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, textContent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
after
(Element.AfterNodesUnionType... nodes) final void
final void
void
append
(Element.AppendNodesUnionType... nodes) final void
final void
void
before
(Element.BeforeNodesUnionType... nodes) final void
final void
void
blur()
boolean
boolean
checkVisibility
(CheckVisibilityOptions options) void
focus()
void
focus
(Element.FocusOptionsType options) getAttribute
(String name) getAttribute
(String name, double flags) elemental2.core.JsArray
<String> getAttributeNode
(String name) getAttributeNodeNS
(String namespaceURI, String localName) getAttributeNS
(String namespaceURI, String localName) getElementsByClassName
(String classNames) getElementsByTagName
(String tagname) getElementsByTagNameNS
(String namespaceURI, String localName) boolean
hasAttribute
(String name) boolean
hasAttributeNS
(String namespaceURI, String localName) boolean
hasPointerCapture
(int pointerId) insertAdjacentElement
(String where, Element element) void
insertAdjacentText
(String where, String data) boolean
boolean
matchesSelector
(String selectors) boolean
matchesSelector
(String selectors, Element.MatchesSelectorRefNodesUnionType refNodes) final boolean
matchesSelector
(String selectors, Node refNodes) final boolean
matchesSelector
(String selectors, NodeList<Object> refNodes) boolean
mozMatchesSelector
(String selectors) boolean
msMatchesSelector
(String selectors) void
boolean
oMatchesSelector
(String selectors) void
prepend
(Element.PrependNodesUnionType... nodes) final void
final void
querySelector
(String selectors) querySelectorAll
(String selectors) releasePointerCapture
(int pointerId) void
remove()
void
removeAttribute
(String name) removeAttributeNode
(Attr oldAttr) void
removeAttributeNS
(String namespaceURI, String localName) void
final void
replaceChildren
(Node... nodes) final void
replaceChildren
(String... nodes) void
replaceWith
(Element.ReplaceWithNodesUnionType... nodes) final void
replaceWith
(Node... nodes) final void
replaceWith
(String... nodes) elemental2.promise.Promise
<Void> elemental2.promise.Promise
<Void> requestFullscreen
(FullscreenOptions options) elemental2.promise.Promise
<Void> elemental2.promise.Promise
<Void> requestPointerLock
(PointerLockOptions options) void
final void
scrollIntoView
(boolean top) void
final void
final void
scrollTo
(double scrollToOptionsOrX) final void
scrollTo
(double scrollToOptionsOrX, double y) void
scrollTo
(Element.ScrollToScrollToOptionsOrXUnionType scrollToOptionsOrX) void
scrollTo
(Element.ScrollToScrollToOptionsOrXUnionType scrollToOptionsOrX, double y) final void
scrollTo
(ScrollToOptions scrollToOptionsOrX) final void
scrollTo
(ScrollToOptions scrollToOptionsOrX, double y) final void
setAttribute
(String name, boolean value) final void
setAttribute
(String name, double value) void
setAttribute
(String name, Element.SetAttributeValueUnionType value) final void
setAttribute
(String name, TrustedHTML value) final void
setAttribute
(String name, TrustedScriptURL value) final void
setAttribute
(String name, String value) setAttributeNode
(Attr newAttr) setAttributeNodeNS
(Attr newAttr) final void
setAttributeNS
(String namespaceURI, String qualifiedName, boolean value) final void
setAttributeNS
(String namespaceURI, String qualifiedName, double value) void
setAttributeNS
(String namespaceURI, String qualifiedName, Element.SetAttributeNSValueUnionType value) final void
setAttributeNS
(String namespaceURI, String qualifiedName, String value) setPointerCapture
(int pointerId) boolean
toggleAttribute
(String name) boolean
toggleAttribute
(String name, boolean force) boolean
webkitMatchesSelector
(String selectors) void
void
webkitRequestFullscreen
(int allowKeyboardInput) void
void
webkitRequestFullScreen
(int allowKeyboardInput) Methods inherited from class elemental2.dom.Node
addEventListener, addEventListener, appendChild, cloneNode, compareDocumentPosition, contains, dispatchEvent, getFeature, getRootNode, getRootNode, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, normalize, removeChild, removeEventListener, removeEventListener, replaceChild
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface elemental2.dom.EventTarget
addEventListener, addEventListener, removeEventListener, removeEventListener
-
Field Details
-
ALLOW_KEYBOARD_INPUT
@JsOverlay public static final int ALLOW_KEYBOARD_INPUT -
attributes
-
childElementCount
public int childElementCount -
classList
-
className
-
clientHeight
public int clientHeight -
clientLeft
public int clientLeft -
clientTop
public int clientTop -
clientWidth
public int clientWidth -
firstElementChild
-
id
-
innerHTML
-
lastElementChild
-
nextElementSibling
-
onabort
-
onbeforeinput
-
onbeforeunload
-
onblur
-
onchange
-
onclick
-
oncompositionend
-
oncompositionstart
-
oncompositionupdate
-
oncopy
-
oncut
-
ondblclick
-
onerror
-
onfocus
-
onfocusin
-
onfocusout
-
oninput
-
onkeydown
-
onkeypress
-
onkeyup
-
onload
-
onmousedown
-
onmousemove
-
onmouseout
-
onmouseover
-
onmouseup
-
onmousewheel
-
onpaste
-
onreset
-
onresize
-
onscroll
-
onselect
-
onselectionchange
-
onselectstart
-
onsubmit
-
ontextinput
-
ontouchcancel
-
ontouchend
-
ontouchmove
-
ontouchstart
-
onunload
-
onwheel
-
outerHTML
-
previousElementSibling
-
scrollHeight
public int scrollHeight -
scrollLeft
public double scrollLeft -
scrollPadding
-
scrollPaddingBlock
-
scrollPaddingBlockEnd
-
scrollPaddingBlockStart
-
scrollPaddingBottom
-
scrollPaddingInline
-
scrollPaddingInlineEnd
-
scrollPaddingInlineStart
-
scrollPaddingLeft
-
scrollPaddingRight
-
scrollPaddingTop
-
scrollTop
public double scrollTop -
scrollWidth
public int scrollWidth -
slot
-
tagName
-
-
Constructor Details
-
Element
public Element()
-
-
Method Details
-
after
-
after
-
after
-
append
-
append
-
append
-
before
-
before
-
before
-
blur
public void blur() -
checkVisibility
public boolean checkVisibility() -
checkVisibility
-
closest
-
focus
public void focus() -
focus
-
getAttribute
-
getAttribute
-
getAttributeNS
-
getAttributeNames
-
getAttributeNode
-
getAttributeNodeNS
-
getBoundingClientRect
-
getClientRects
-
getElementsByClassName
-
getElementsByTagName
-
getElementsByTagNameNS
-
hasAttribute
-
hasAttributeNS
-
hasPointerCapture
public boolean hasPointerCapture(int pointerId) -
insertAdjacentElement
-
insertAdjacentText
-
matches
-
matchesSelector
-
matchesSelector
-
matchesSelector
-
matchesSelector
-
mozMatchesSelector
-
mozRequestFullScreen
-
mozRequestFullScreenWithKeys
-
msMatchesSelector
-
msRequestFullscreen
public void msRequestFullscreen() -
oMatchesSelector
-
prepend
-
prepend
-
prepend
-
querySelector
- Overrides:
querySelector
in classNode
-
querySelectorAll
- Overrides:
querySelectorAll
in classNode
-
releasePointerCapture
-
remove
public void remove() -
removeAttribute
-
removeAttributeNS
-
removeAttributeNode
-
replaceChildren
-
replaceChildren
-
replaceChildren
-
replaceWith
-
replaceWith
-
replaceWith
-
requestFullscreen
-
requestFullscreen
-
requestPointerLock
-
requestPointerLock
-
scrollIntoView
public void scrollIntoView() -
scrollIntoView
-
scrollIntoView
-
scrollIntoView
@JsOverlay public final void scrollIntoView(boolean top) -
scrollTo
-
scrollTo
-
scrollTo
-
scrollTo
-
scrollTo
@JsOverlay public final void scrollTo(double scrollToOptionsOrX, double y) -
scrollTo
@JsOverlay public final void scrollTo(double scrollToOptionsOrX) -
setAttribute
-
setAttribute
-
setAttribute
-
setAttribute
-
setAttribute
-
setAttribute
-
setAttributeNS
public void setAttributeNS(String namespaceURI, String qualifiedName, Element.SetAttributeNSValueUnionType value) -
setAttributeNS
-
setAttributeNS
-
setAttributeNS
-
setAttributeNode
-
setAttributeNodeNS
-
setPointerCapture
-
toggleAttribute
-
toggleAttribute
-
webkitMatchesSelector
-
webkitRequestFullScreen
public void webkitRequestFullScreen() -
webkitRequestFullScreen
public void webkitRequestFullScreen(int allowKeyboardInput) -
webkitRequestFullscreen
public void webkitRequestFullscreen() -
webkitRequestFullscreen
public void webkitRequestFullscreen(int allowKeyboardInput)
-