public class JsElement extends JsNode implements Element
ALLOW_KEYBOARD_INPUT
ATTRIBUTE_NODE, CDATA_SECTION_NODE, 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, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
SVG_ZOOMANDPAN_DISABLE, SVG_ZOOMANDPAN_MAGNIFY, SVG_ZOOMANDPAN_UNKNOWN
Modifier | Constructor and Description |
---|---|
protected |
JsElement() |
Modifier and Type | Method and Description |
---|---|
void |
blur()
Removes keyboard focus from the current element.
|
void |
click()
Simulates a click on the current element.
|
void |
focus()
Gives keyboard focus to the current element.
|
String |
getAccessKey() |
String |
getAttribute(String name)
Retrieve the value of the named attribute from the current node.
|
JsAttr |
getAttributeNode(String name)
Retrieve the node representation of the named attribute from the current node.
|
JsAttr |
getAttributeNodeNS(String namespaceURI,
String localName)
Retrieve the node representation of the attribute with the specified name and namespace, from the current node.
|
String |
getAttributeNS(String namespaceURI,
String localName)
Retrieve the value of the attribute with the specified name and namespace, from the current node.
|
JsClientRect |
getBoundingClientRect() |
JsHTMLCollection |
getChildren()
A live
nsIDOMNodeList
of the current child elements. |
JsDOMTokenList |
getClassList()
Token list of class attribute
|
String |
getClassName()
Gets/sets the class of the element.
|
int |
getClientHeight()
The inner height of an element.
|
int |
getClientLeft()
The width of the left border of an element.
|
JsClientRectList |
getClientRects() |
int |
getClientTop()
The width of the top border of an element.
|
int |
getClientWidth()
The inner width of an element.
|
String |
getContentEditable()
Gets/sets whether or not the element is editable.
|
JsMappable |
getDataset()
Allows access to read and write custom data attributes on the element.
|
String |
getDir()
Gets/sets the directionality of the element.
|
JsNodeList |
getElementsByClassName(String name) |
JsNodeList |
getElementsByTagName(String name)
Retrieve a set of all descendant elements, of a particular tag name, from the current element.
|
JsNodeList |
getElementsByTagNameNS(String namespaceURI,
String localName)
Retrieve a set of all descendant elements, of a particular tag name and namespace, from the current element.
|
String |
getId()
Gets/sets the id of the element.
|
String |
getInnerHTML()
Gets/sets the markup of the element's content.
|
String |
getInnerText() |
String |
getLang()
Gets/sets the language of an element's attributes, text, and element contents.
|
int |
getOffsetHeight()
The height of an element, relative to the layout.
|
int |
getOffsetLeft()
The distance from this element's left border to its
offsetParent 's left border. |
JsElement |
getOffsetParent()
The element from which all offset calculations are currently computed.
|
int |
getOffsetTop()
The distance from this element's top border to its
offsetParent 's top border. |
int |
getOffsetWidth()
The width of an element, relative to the layout.
|
EventListener |
getOnabort() |
EventListener |
getOnbeforecopy() |
EventListener |
getOnbeforecut() |
EventListener |
getOnbeforepaste() |
EventListener |
getOnblur()
Returns the event handling code for the blur event.
|
EventListener |
getOnchange()
Returns the event handling code for the change event.
|
EventListener |
getOnclick()
Returns the event handling code for the click event.
|
EventListener |
getOncontextmenu()
Returns the event handling code for the contextmenu event.
|
EventListener |
getOncopy()
Returns the event handling code for the copy event.
|
EventListener |
getOncut()
Returns the event handling code for the cut event.
|
EventListener |
getOndblclick()
Returns the event handling code for the dblclick event.
|
EventListener |
getOndrag() |
EventListener |
getOndragend() |
EventListener |
getOndragenter() |
EventListener |
getOndragleave() |
EventListener |
getOndragover() |
EventListener |
getOndragstart() |
EventListener |
getOndrop() |
EventListener |
getOnerror() |
EventListener |
getOnfocus()
Returns the event handling code for the focus event.
|
EventListener |
getOninput() |
EventListener |
getOninvalid() |
EventListener |
getOnkeydown()
Returns the event handling code for the keydown event.
|
EventListener |
getOnkeypress()
Returns the event handling code for the keypress event.
|
EventListener |
getOnkeyup()
Returns the event handling code for the keyup event.
|
EventListener |
getOnload() |
EventListener |
getOnmousedown()
Returns the event handling code for the mousedown event.
|
EventListener |
getOnmousemove()
Returns the event handling code for the mousemove event.
|
EventListener |
getOnmouseout()
Returns the event handling code for the mouseout event.
|
EventListener |
getOnmouseover()
Returns the event handling code for the mouseover event.
|
EventListener |
getOnmouseup()
Returns the event handling code for the mouseup event.
|
EventListener |
getOnmousewheel() |
EventListener |
getOnpaste()
Returns the event handling code for the paste event.
|
EventListener |
getOnreset() |
EventListener |
getOnscroll()
Returns the event handling code for the scroll event.
|
EventListener |
getOnsearch() |
EventListener |
getOnselect() |
EventListener |
getOnselectstart() |
EventListener |
getOnsubmit() |
EventListener |
getOntouchcancel() |
EventListener |
getOntouchend() |
EventListener |
getOntouchmove() |
EventListener |
getOntouchstart() |
EventListener |
getOnwebkitfullscreenchange() |
EventListener |
getOnwebkitfullscreenerror() |
String |
getOuterHTML()
Gets the markup of the element including its content.
|
String |
getOuterText() |
int |
getScrollHeight()
The scroll view height of an element.
|
int |
getScrollLeft()
Gets/sets the left scroll offset of an element.
|
int |
getScrollTop()
Gets/sets the top scroll offset of an element.
|
int |
getScrollWidth()
The scroll view width of an element.
|
JsCSSStyleDeclaration |
getStyle()
An object representing the declarations of an element's style attributes.
|
int |
getTabIndex()
Gets/sets the position of the element in the tabbing order.
|
String |
getTagName()
The name of the tag for the given element.
|
String |
getTitle()
A string that appears in a popup box when mouse is over the element.
|
String |
getWebkitdropzone() |
String |
getWebkitRegionOverflow() |
boolean |
hasAttribute(String name)
Check if the element has the specified attribute, or not.
|
boolean |
hasAttributeNS(String namespaceURI,
String localName)
Check if the element has the specified attribute, in the specified namespace, or not.
|
JsElement |
insertAdjacentElement(String where,
Element element) |
void |
insertAdjacentHTML(String where,
String html)
Parses the text as HTML or XML and inserts the resulting nodes into the tree in the position given.
|
void |
insertAdjacentText(String where,
String text) |
boolean |
isContentEditable()
Indicates whether or not the content of the element can be edited.
|
boolean |
isDraggable() |
boolean |
isHidden() |
boolean |
isSpellcheck()
Controls spell-checking (present on all HTML elements)
|
boolean |
isTranslate() |
void |
removeAttribute(String name)
Remove the named attribute from the current node.
|
JsAttr |
removeAttributeNode(Attr oldAttr)
Remove the node representation of the named attribute from the current node.
|
void |
removeAttributeNS(String namespaceURI,
String localName)
Remove the attribute with the specified name and namespace, from the current node.
|
void |
scrollByLines(int lines) |
void |
scrollByPages(int pages) |
void |
scrollIntoView()
Scrolls the page until the element gets into the view.
|
void |
scrollIntoView(boolean alignWithTop)
Scrolls the page until the element gets into the view.
|
void |
scrollIntoViewIfNeeded() |
void |
scrollIntoViewIfNeeded(boolean centerIfNeeded) |
void |
setAccessKey(String param_accessKey) |
void |
setAttribute(String name,
String value)
Set the value of the named attribute from the current node.
|
JsAttr |
setAttributeNode(Attr newAttr)
Set the node representation of the named attribute from the current node.
|
JsAttr |
setAttributeNodeNS(Attr newAttr)
Set the node representation of the attribute with the specified name and namespace, from the current node.
|
void |
setAttributeNS(String namespaceURI,
String qualifiedName,
String value)
Set the value of the attribute with the specified name and namespace, from the current node.
|
void |
setClassName(String param_className) |
void |
setContentEditable(String param_contentEditable) |
void |
setDir(String param_dir) |
void |
setDraggable(boolean param_draggable) |
void |
setHidden(boolean param_hidden) |
void |
setId(String param_id) |
void |
setInnerHTML(String param_innerHTML) |
void |
setInnerText(String param_innerText) |
void |
setLang(String param_lang) |
void |
setOnabort(EventListener listener) |
void |
setOnbeforecopy(EventListener listener) |
void |
setOnbeforecut(EventListener listener) |
void |
setOnbeforepaste(EventListener listener) |
void |
setOnblur(EventListener listener) |
void |
setOnchange(EventListener listener) |
void |
setOnclick(EventListener listener) |
void |
setOncontextmenu(EventListener listener) |
void |
setOncopy(EventListener listener) |
void |
setOncut(EventListener listener) |
void |
setOndblclick(EventListener listener) |
void |
setOndrag(EventListener listener) |
void |
setOndragend(EventListener listener) |
void |
setOndragenter(EventListener listener) |
void |
setOndragleave(EventListener listener) |
void |
setOndragover(EventListener listener) |
void |
setOndragstart(EventListener listener) |
void |
setOndrop(EventListener listener) |
void |
setOnerror(EventListener listener) |
void |
setOnfocus(EventListener listener) |
void |
setOninput(EventListener listener) |
void |
setOninvalid(EventListener listener) |
void |
setOnkeydown(EventListener listener) |
void |
setOnkeypress(EventListener listener) |
void |
setOnkeyup(EventListener listener) |
void |
setOnload(EventListener listener) |
void |
setOnmousedown(EventListener listener) |
void |
setOnmousemove(EventListener listener) |
void |
setOnmouseout(EventListener listener) |
void |
setOnmouseover(EventListener listener) |
void |
setOnmouseup(EventListener listener) |
void |
setOnmousewheel(EventListener listener) |
void |
setOnpaste(EventListener listener) |
void |
setOnreset(EventListener listener) |
void |
setOnscroll(EventListener listener) |
void |
setOnsearch(EventListener listener) |
void |
setOnselect(EventListener listener) |
void |
setOnselectstart(EventListener listener) |
void |
setOnsubmit(EventListener listener) |
void |
setOntouchcancel(EventListener listener) |
void |
setOntouchend(EventListener listener) |
void |
setOntouchmove(EventListener listener) |
void |
setOntouchstart(EventListener listener) |
void |
setOnwebkitfullscreenchange(EventListener listener) |
void |
setOnwebkitfullscreenerror(EventListener listener) |
void |
setOuterHTML(String param_outerHTML) |
void |
setOuterText(String param_outerText) |
void |
setScrollLeft(int param_scrollLeft) |
void |
setScrollTop(int param_scrollTop) |
void |
setSpellcheck(boolean param_spellcheck) |
void |
setTabIndex(int param_tabIndex) |
void |
setTitle(String param_title) |
void |
setTranslate(boolean param_translate) |
void |
setWebkitdropzone(String param_webkitdropzone) |
boolean |
webkitMatchesSelector(String selectors)
Returns whether or not the element would be selected by the specified selector string.
|
void |
webkitRequestFullscreen() |
void |
webkitRequestFullScreen(int flags)
Asynchronously asks the browser to make the element full-screen.
|
appendChild, cloneNode, compareDocumentPosition, contains, getAttributes, getBaseURI, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPreviousSibling, getTextContent, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent
addEventListener, addEventListener, beginElement, beginElementAt, dispatchEvent, endElement, endElementAt, getAnimatedClassName, getAnimatedHeight, getAnimatedHref, getAnimatedResult, getAnimatedTransform, getAnimatedWidth, getAnimatedX, getAnimatedY, getBBox, getChildElementCount, getCTM, getExternalResourcesRequired, getFarthestViewportElement, getFirstElementChild, getLastElementChild, getNearestViewportElement, getNextElementSibling, getPresentationAttribute, getPreserveAspectRatio, getPreviousElementSibling, getRequiredExtensions, getRequiredFeatures, getScreenCTM, getSvgStyle, getSystemLanguage, getTransformToElement, getViewBox, getXmllang, getXmlspace, getZoomAndPan, hasExtension, querySelector, querySelectorAll, removeEventListener, removeEventListener, setXmllang, setXmlspace, setZoomAndPan
at, at, intAt, intAt, length, numberAt, numberAt, setAt, setAt, setAt, setAt, setAt, setAt
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getChildElementCount, getFirstElementChild, getLastElementChild, getNextElementSibling, getPreviousElementSibling, querySelector, querySelectorAll
addEventListener, addEventListener, appendChild, cloneNode, compareDocumentPosition, contains, dispatchEvent, getAttributes, getBaseURI, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPreviousSibling, getTextContent, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, removeEventListener, removeEventListener, replaceChild, setNodeValue, setPrefix, setTextContent
intAt, length
numberAt
public final String getAccessKey()
getAccessKey
in interface Element
public final void setAccessKey(String param_accessKey)
setAccessKey
in interface Element
public final JsHTMLCollection getChildren()
Element
nsIDOMNodeList
of the current child elements.getChildren
in interface Element
public final JsDOMTokenList getClassList()
Element
getClassList
in interface Element
public final String getClassName()
Element
getClassName
in interface Element
public final void setClassName(String param_className)
setClassName
in interface Element
public final int getClientHeight()
Element
getClientHeight
in interface Element
public final int getClientLeft()
Element
getClientLeft
in interface Element
public final int getClientTop()
Element
getClientTop
in interface Element
public final int getClientWidth()
Element
getClientWidth
in interface Element
public final String getContentEditable()
Element
getContentEditable
in interface Element
public final void setContentEditable(String param_contentEditable)
setContentEditable
in interface Element
public final JsMappable getDataset()
Element
getDataset
in interface Element
public final String getDir()
Element
public final boolean isDraggable()
isDraggable
in interface Element
public final void setDraggable(boolean param_draggable)
setDraggable
in interface Element
public final void setHidden(boolean param_hidden)
public final String getId()
Element
public final String getInnerHTML()
Element
getInnerHTML
in interface Element
public final void setInnerHTML(String param_innerHTML)
setInnerHTML
in interface Element
public final String getInnerText()
getInnerText
in interface Element
public final void setInnerText(String param_innerText)
setInnerText
in interface Element
public final boolean isContentEditable()
Element
isContentEditable
in interface Element
public final String getLang()
Element
public final int getOffsetHeight()
Element
getOffsetHeight
in interface Element
public final int getOffsetLeft()
Element
offsetParent
's left border.getOffsetLeft
in interface Element
public final JsElement getOffsetParent()
Element
getOffsetParent
in interface Element
public final int getOffsetTop()
Element
offsetParent
's top border.getOffsetTop
in interface Element
public final int getOffsetWidth()
Element
getOffsetWidth
in interface Element
public final EventListener getOnabort()
getOnabort
in interface Element
public final void setOnabort(EventListener listener)
setOnabort
in interface Element
public final EventListener getOnbeforecopy()
getOnbeforecopy
in interface Element
public final void setOnbeforecopy(EventListener listener)
setOnbeforecopy
in interface Element
public final EventListener getOnbeforecut()
getOnbeforecut
in interface Element
public final void setOnbeforecut(EventListener listener)
setOnbeforecut
in interface Element
public final EventListener getOnbeforepaste()
getOnbeforepaste
in interface Element
public final void setOnbeforepaste(EventListener listener)
setOnbeforepaste
in interface Element
public final EventListener getOnblur()
Element
public final void setOnblur(EventListener listener)
public final EventListener getOnchange()
Element
getOnchange
in interface Element
public final void setOnchange(EventListener listener)
setOnchange
in interface Element
public final EventListener getOnclick()
Element
getOnclick
in interface Element
public final void setOnclick(EventListener listener)
setOnclick
in interface Element
public final EventListener getOncontextmenu()
Element
getOncontextmenu
in interface Element
public final void setOncontextmenu(EventListener listener)
setOncontextmenu
in interface Element
public final EventListener getOncopy()
Element
public final void setOncopy(EventListener listener)
public final EventListener getOncut()
Element
public final void setOncut(EventListener listener)
public final EventListener getOndblclick()
Element
getOndblclick
in interface Element
public final void setOndblclick(EventListener listener)
setOndblclick
in interface Element
public final EventListener getOndrag()
public final void setOndrag(EventListener listener)
public final EventListener getOndragend()
getOndragend
in interface Element
public final void setOndragend(EventListener listener)
setOndragend
in interface Element
public final EventListener getOndragenter()
getOndragenter
in interface Element
public final void setOndragenter(EventListener listener)
setOndragenter
in interface Element
public final EventListener getOndragleave()
getOndragleave
in interface Element
public final void setOndragleave(EventListener listener)
setOndragleave
in interface Element
public final EventListener getOndragover()
getOndragover
in interface Element
public final void setOndragover(EventListener listener)
setOndragover
in interface Element
public final EventListener getOndragstart()
getOndragstart
in interface Element
public final void setOndragstart(EventListener listener)
setOndragstart
in interface Element
public final EventListener getOndrop()
public final void setOndrop(EventListener listener)
public final EventListener getOnerror()
getOnerror
in interface Element
public final void setOnerror(EventListener listener)
setOnerror
in interface Element
public final EventListener getOnfocus()
Element
getOnfocus
in interface Element
public final void setOnfocus(EventListener listener)
setOnfocus
in interface Element
public final EventListener getOninput()
getOninput
in interface Element
public final void setOninput(EventListener listener)
setOninput
in interface Element
public final EventListener getOninvalid()
getOninvalid
in interface Element
public final void setOninvalid(EventListener listener)
setOninvalid
in interface Element
public final EventListener getOnkeydown()
Element
getOnkeydown
in interface Element
public final void setOnkeydown(EventListener listener)
setOnkeydown
in interface Element
public final EventListener getOnkeypress()
Element
getOnkeypress
in interface Element
public final void setOnkeypress(EventListener listener)
setOnkeypress
in interface Element
public final EventListener getOnkeyup()
Element
getOnkeyup
in interface Element
public final void setOnkeyup(EventListener listener)
setOnkeyup
in interface Element
public final EventListener getOnload()
public final void setOnload(EventListener listener)
public final EventListener getOnmousedown()
Element
getOnmousedown
in interface Element
public final void setOnmousedown(EventListener listener)
setOnmousedown
in interface Element
public final EventListener getOnmousemove()
Element
getOnmousemove
in interface Element
public final void setOnmousemove(EventListener listener)
setOnmousemove
in interface Element
public final EventListener getOnmouseout()
Element
getOnmouseout
in interface Element
public final void setOnmouseout(EventListener listener)
setOnmouseout
in interface Element
public final EventListener getOnmouseover()
Element
getOnmouseover
in interface Element
public final void setOnmouseover(EventListener listener)
setOnmouseover
in interface Element
public final EventListener getOnmouseup()
Element
getOnmouseup
in interface Element
public final void setOnmouseup(EventListener listener)
setOnmouseup
in interface Element
public final EventListener getOnmousewheel()
getOnmousewheel
in interface Element
public final void setOnmousewheel(EventListener listener)
setOnmousewheel
in interface Element
public final EventListener getOnpaste()
Element
getOnpaste
in interface Element
public final void setOnpaste(EventListener listener)
setOnpaste
in interface Element
public final EventListener getOnreset()
getOnreset
in interface Element
public final void setOnreset(EventListener listener)
setOnreset
in interface Element
public final EventListener getOnscroll()
Element
getOnscroll
in interface Element
public final void setOnscroll(EventListener listener)
setOnscroll
in interface Element
public final EventListener getOnsearch()
getOnsearch
in interface Element
public final void setOnsearch(EventListener listener)
setOnsearch
in interface Element
public final EventListener getOnselect()
getOnselect
in interface Element
public final void setOnselect(EventListener listener)
setOnselect
in interface Element
public final EventListener getOnselectstart()
getOnselectstart
in interface Element
public final void setOnselectstart(EventListener listener)
setOnselectstart
in interface Element
public final EventListener getOnsubmit()
getOnsubmit
in interface Element
public final void setOnsubmit(EventListener listener)
setOnsubmit
in interface Element
public final EventListener getOntouchcancel()
getOntouchcancel
in interface Element
public final void setOntouchcancel(EventListener listener)
setOntouchcancel
in interface Element
public final EventListener getOntouchend()
getOntouchend
in interface Element
public final void setOntouchend(EventListener listener)
setOntouchend
in interface Element
public final EventListener getOntouchmove()
getOntouchmove
in interface Element
public final void setOntouchmove(EventListener listener)
setOntouchmove
in interface Element
public final EventListener getOntouchstart()
getOntouchstart
in interface Element
public final void setOntouchstart(EventListener listener)
setOntouchstart
in interface Element
public final EventListener getOnwebkitfullscreenchange()
getOnwebkitfullscreenchange
in interface Element
public final void setOnwebkitfullscreenchange(EventListener listener)
setOnwebkitfullscreenchange
in interface Element
public final EventListener getOnwebkitfullscreenerror()
getOnwebkitfullscreenerror
in interface Element
public final void setOnwebkitfullscreenerror(EventListener listener)
setOnwebkitfullscreenerror
in interface Element
public final String getOuterHTML()
Element
getOuterHTML
in interface Element
public final void setOuterHTML(String param_outerHTML)
setOuterHTML
in interface Element
public final String getOuterText()
getOuterText
in interface Element
public final void setOuterText(String param_outerText)
setOuterText
in interface Element
public final int getScrollHeight()
Element
getScrollHeight
in interface Element
public final int getScrollLeft()
Element
getScrollLeft
in interface Element
public final void setScrollLeft(int param_scrollLeft)
setScrollLeft
in interface Element
public final int getScrollTop()
Element
getScrollTop
in interface Element
public final void setScrollTop(int param_scrollTop)
setScrollTop
in interface Element
public final int getScrollWidth()
Element
getScrollWidth
in interface Element
public final boolean isSpellcheck()
Element
isSpellcheck
in interface Element
public final void setSpellcheck(boolean param_spellcheck)
setSpellcheck
in interface Element
public final JsCSSStyleDeclaration getStyle()
Element
public final int getTabIndex()
Element
getTabIndex
in interface Element
public final void setTabIndex(int param_tabIndex)
setTabIndex
in interface Element
public final String getTagName()
Element
getTagName
in interface Element
public final String getTitle()
Element
public final boolean isTranslate()
isTranslate
in interface Element
public final void setTranslate(boolean param_translate)
setTranslate
in interface Element
public final String getWebkitRegionOverflow()
getWebkitRegionOverflow
in interface Element
public final String getWebkitdropzone()
getWebkitdropzone
in interface Element
public final void setWebkitdropzone(String param_webkitdropzone)
setWebkitdropzone
in interface Element
public final void blur()
Element
public final void focus()
Element
public final String getAttribute(String name)
Element
getAttribute
in interface Element
public final String getAttributeNS(String namespaceURI, String localName)
Element
getAttributeNS
in interface Element
public final JsAttr getAttributeNode(String name)
Element
getAttributeNode
in interface Element
public final JsAttr getAttributeNodeNS(String namespaceURI, String localName)
Element
getAttributeNodeNS
in interface Element
public final JsClientRect getBoundingClientRect()
getBoundingClientRect
in interface Element
public final JsClientRectList getClientRects()
getClientRects
in interface Element
public final JsNodeList getElementsByClassName(String name)
getElementsByClassName
in interface Element
public final JsNodeList getElementsByTagName(String name)
Element
getElementsByTagName
in interface Element
public final JsNodeList getElementsByTagNameNS(String namespaceURI, String localName)
Element
getElementsByTagNameNS
in interface Element
public final boolean hasAttribute(String name)
Element
hasAttribute
in interface Element
public final boolean hasAttributeNS(String namespaceURI, String localName)
Element
hasAttributeNS
in interface Element
public final void removeAttribute(String name)
Element
removeAttribute
in interface Element
public final void removeAttributeNS(String namespaceURI, String localName)
Element
removeAttributeNS
in interface Element
public final JsAttr removeAttributeNode(Attr oldAttr)
Element
removeAttributeNode
in interface Element
public final void scrollByLines(int lines)
scrollByLines
in interface Element
public final void scrollByPages(int pages)
scrollByPages
in interface Element
public final void scrollIntoView()
Element
scrollIntoView
in interface Element
public final void scrollIntoView(boolean alignWithTop)
Element
scrollIntoView
in interface Element
public final void scrollIntoViewIfNeeded()
scrollIntoViewIfNeeded
in interface Element
public final void scrollIntoViewIfNeeded(boolean centerIfNeeded)
scrollIntoViewIfNeeded
in interface Element
public final void setAttribute(String name, String value)
Element
setAttribute
in interface Element
public final void setAttributeNS(String namespaceURI, String qualifiedName, String value)
Element
setAttributeNS
in interface Element
public final JsAttr setAttributeNode(Attr newAttr)
Element
setAttributeNode
in interface Element
public final JsAttr setAttributeNodeNS(Attr newAttr)
Element
setAttributeNodeNS
in interface Element
public final boolean webkitMatchesSelector(String selectors)
Element
webkitMatchesSelector
in interface Element
public final void webkitRequestFullScreen(int flags)
Element
webkitRequestFullScreen
in interface Element
public final void webkitRequestFullscreen()
webkitRequestFullscreen
in interface Element
public final void click()
Element
public final JsElement insertAdjacentElement(String where, Element element)
insertAdjacentElement
in interface Element
public final void insertAdjacentHTML(String where, String html)
Element
insertAdjacentHTML
in interface Element
public final void insertAdjacentText(String where, String text)
insertAdjacentText
in interface Element
Copyright © 2018. All rights reserved.