public class HTMLElement extends Element
HTMLElement
which is the base class for all HTML
objects. This will typically wrap an instance of HtmlElement
.Modifier and Type | Class and Description |
---|---|
static class |
HTMLElement.ProxyDomNode
ProxyDomNode.
|
org.htmlunit.corejs.javascript.ScriptableObject.KeyComparator
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
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
NOT_FOUND
Constructor and Description |
---|
HTMLElement() |
Modifier and Type | Method and Description |
---|---|
void |
blur()
Remove focus from this element.
|
void |
click()
Click this element.
|
void |
focus()
Sets the focus to this element.
|
String |
getAccessKey()
Returns the
accessKey property. |
protected String |
getAlign(boolean returnInvalidValues)
Returns the value of the
align property. |
HtmlUnitScriptable |
getAttributeNode(String attributeName)
Gets the attribute node for the specified attribute.
|
boolean |
getAutofocus()
Returns the element autofocus property.
|
ClientRect |
getBoundingClientRect()
Retrieves an object that specifies the bounds of a collection of TextRectangle objects.
|
protected String |
getCh()
Returns the value of the
ch property. |
protected String |
getChOff()
Returns the value of the
chOff property. |
String |
getContentEditable()
Returns the
contentEditable property. |
DOMStringMap |
getDataset()
Returns the
dataset attribute. |
String |
getDir()
Returns the
dir property. |
HtmlElement |
getDomNodeOrDie()
Returns the DOM node that corresponds to this JavaScript object or throw
an exception if one cannot be found.
|
HtmlElement |
getDomNodeOrNull()
Returns the DOM node that corresponds to this JavaScript object
or null if a node hasn't been set.
|
String |
getEnterKeyHint()
Returns the value of the JavaScript attribute
enterKeyHint . |
HTMLFormElement |
getForm()
Returns the value of the JavaScript
form attribute. |
String |
getInnerText()
Gets the innerText attribute.
|
String |
getLang()
Returns the
lang property. |
String |
getLocalName()
Returns the local name of this attribute.
|
String |
getName()
Returns the value of the JavaScript attribute
name . |
String |
getNodeName()
Gets the JavaScript property
nodeName for the current node. |
int |
getOffsetHeight()
Returns this element's
offsetHeight , which is the element height plus the element's padding
plus the element's border. |
int |
getOffsetLeft()
Returns this element's
offsetLeft , which is the calculated left position of this
element relative to the offsetParent . |
HtmlUnitScriptable |
getOffsetParent_js()
Returns this element's
offsetParent . |
int |
getOffsetTop()
Returns this element's
offsetTop , which is the calculated top position of this
element relative to the offsetParent . |
int |
getOffsetWidth()
Returns this element's
offsetWidth , which is the element width plus the element's padding
plus the element's border. |
org.htmlunit.corejs.javascript.Function |
getOnabort()
Returns the
onabort event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnanimationcancel()
Returns the
onanimationcancel event handler. |
org.htmlunit.corejs.javascript.Function |
getOnanimationend()
Returns the
onanimationend event handler. |
org.htmlunit.corejs.javascript.Function |
getOnanimationiteration()
Returns the
onanimationiteration event handler. |
org.htmlunit.corejs.javascript.Function |
getOnanimationstart()
Returns the
onanimationstart event handler. |
org.htmlunit.corejs.javascript.Function |
getOnauxclick()
Returns the
onauxclick event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnblur()
Returns the
onblur event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOncancel()
Returns the
oncancel event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOncanplay()
Returns the
oncanplay event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOncanplaythrough()
Returns the
oncanplaythrough event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnchange()
Returns the
onchange event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnclick()
Returns the
onclick event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnclose()
Returns the
onclose event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOncontextmenu()
Returns the
oncontextmenu event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOncopy()
Returns the
oncopy event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOncuechange()
Returns the
oncuechange event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOncut()
Returns the
oncut event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOndblclick()
Returns the
ondblclick event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOndrag()
Returns the
ondrag event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOndragend()
Returns the
ondragend event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOndragenter()
Returns the
ondragenter event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOndragleave()
Returns the
ondragleave event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOndragover()
Returns the
ondragover event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOndragstart()
Returns the
ondragstart event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOndrop()
Returns the
ondrop event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOndurationchange()
Returns the
ondurationchange event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnemptied()
Returns the
onemptied event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnended()
Returns the
onended event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnerror()
Returns the
onerror event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnfocus()
Returns the
onfocus event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOngotpointercapture()
Returns the
ongotpointercapture event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOninput()
Returns the
oninput event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOninvalid()
Returns the
oninvalid event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnkeydown()
Returns the
onkeydown event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnkeypress()
Returns the
onkeypress event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnkeyup()
Returns the
onkeyup event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnload()
Returns the
onload event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnloadeddata()
Returns the
onloadeddata event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnloadedmetadata()
Returns the
onloadedmetadata event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnloadstart()
Returns the
onloadstart event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnlostpointercapture()
Returns the
onlostpointercapture event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnmousedown()
Returns the
onmousedown event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnmouseenter()
Returns the
onmouseenter event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnmouseleave()
Returns the
onmouseleave event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnmousemove()
Returns the
onmousemove event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnmouseout()
Returns the
onmouseout event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnmouseover()
Returns the
onmouseover event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnmouseup()
Returns the
onmouseup event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnmousewheel()
Returns the
onmousewheel event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnmozfullscreenchange()
Returns the
onmozfullscreenchange event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnmozfullscreenerror()
Returns the
onmozfullscreenerror event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnpaste()
Returns the
onpaste event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnpause()
Returns the
onpause event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnplay()
Returns the
onplay event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnplaying()
Returns the
onplaying event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnpointercancel()
Returns the
onpointercancel event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnpointerdown()
Returns the
onpointerdown event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnpointerenter()
Returns the
onpointerenter event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnpointerleave()
Returns the
onpointerleave event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnpointermove()
Returns the
onpointermove event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnpointerout()
Returns the
onpointerout event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnpointerover()
Returns the
onpointerover event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnpointerup()
Returns the
onpointerup event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnprogress()
Returns the
onprogress event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnratechange()
Returns the
onratechange event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnreset()
Returns the
onreset event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnresize()
Returns the
onresize event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnscroll()
Returns the
onscroll event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnscrollend()
Returns the
onscrollend event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnseeked()
Returns the
onseeked event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnseeking()
Returns the
onseeking event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnselect()
Returns the
onselect event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnselectionchange()
Returns the
onselectionchange event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnselectstart()
Returns the
onselectstart event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnstalled()
Returns the
onstalled event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnsubmit()
Returns the
onsubmit event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnsuspend()
Returns the
onsuspend event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOntimeupdate()
Returns the
ontimeupdate event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOntoggle()
Returns the
ontoggle event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOntransitioncancel()
Returns the
ontransitioncancel event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOntransitionend()
Returns the
ontransitionend event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOntransitionrun()
Returns the
ontransitionrun event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOntransitionstart()
Returns the
ontransitionstart event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnvolumechange()
Returns the
onvolumechange event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnwaiting()
Returns the
onwaiting event handler for this element. |
org.htmlunit.corejs.javascript.Function |
getOnwheel()
Returns the
onwheel event handler for this element. |
String |
getOuterText()
The outerText property of the HTMLElement interface returns the same value as HTMLElement.innerText.
|
HTMLElement |
getParentHTMLElement()
Gets the first ancestor instance of
HTMLElement . |
int |
getPosX()
Returns this element's X position.
|
int |
getPosY()
Returns this element's Y position.
|
String |
getPrefix()
Returns the namespace prefix.
|
CSSStyleDeclaration |
getStyle()
Returns the style object for this element.
|
int |
getTabIndex()
Returns the value of the tabIndex attribute.
|
String |
getTitle()
Returns the element title.
|
protected String |
getVAlign(String[] valid,
String defaultValue)
Returns the value of the
vAlign property. |
Object |
getValue()
Returns the value of the JavaScript attribute
value . |
protected String |
getWidthOrHeight(String attributeName,
Boolean returnNegativeValues)
Returns the value of the specified attribute (width or height).
|
protected boolean |
isAncestorOfEventTarget(MouseEvent event)
Returns
true if this element's node is an ancestor of the specified event's target node. |
boolean |
isDisabled()
Returns true if this element is disabled.
|
protected boolean |
isEndTagForbidden()
Returns whether the end tag is forbidden or not.
|
boolean |
isHidden()
Returns the
hidden property. |
boolean |
isIsContentEditable()
Returns the
isContentEditable property. |
protected boolean |
isLowerCaseInOuterHtml() |
boolean |
isSpellcheck()
Returns the
spellcheck property. |
void |
jsConstructor()
JavaScript constructor.
|
void |
setAccessKey(String accessKey)
Sets the
accessKey property. |
protected void |
setAlign(String align,
boolean ignoreIfNoError)
Sets the value of the
align property. |
void |
setAttribute(String name,
String value)
Sets an attribute.
|
void |
setAutofocus(boolean newAutofocus)
Sets the autofocus of this element.
|
protected void |
setCh(String ch)
Sets the value of the
ch property. |
protected void |
setChOff(String chOff)
Sets the value of the
chOff property. |
protected void |
setColorAttribute(String name,
String value)
Sets the specified color attribute to the specified value.
|
void |
setContentEditable(String contentEditable)
Sets the
contentEditable property. |
void |
setDir(String dir)
Sets the
dir property. |
void |
setDisabled(boolean disabled)
Sets whether or not to disable this element.
|
void |
setDomNode(DomNode domNode)
Sets the DOM node that corresponds to this JavaScript object.
|
void |
setEnterKeyHint(Object enterKeyHint)
Sets the value of the JavaScript attribute
enterKeyHint . |
void |
setHidden(Object hidden)
Sets the
hidden property. |
void |
setInnerText(Object value)
Replaces all child elements of this element with the supplied text value.
|
void |
setLang(String lang)
Sets the
lang property. |
void |
setName(String newName)
Sets the value of the JavaScript attribute
name . |
void |
setOnabort(Object onabort)
Sets the
onabort event handler for this element. |
void |
setOnanimationcancel(Object onanimationcancel)
Sets the
onanimationcancel event handler. |
void |
setOnanimationend(Object onanimationend)
Sets the
onanimationend event handler. |
void |
setOnanimationiteration(Object onanimationiteration)
Sets the
onanimationiteration event handler. |
void |
setOnanimationstart(Object onanimationstart)
Sets the
onanimationstart event handler. |
void |
setOnauxclick(Object onauxclick)
Sets the
onauxclick event handler for this element. |
void |
setOnblur(Object handler)
Sets the
onblur event handler for this element. |
void |
setOncancel(Object oncancel)
Sets the
oncancel event handler for this element. |
void |
setOncanplay(Object oncanplay)
Sets the
oncanplay event handler for this element. |
void |
setOncanplaythrough(Object oncanplaythrough)
Sets the
oncanplaythrough event handler for this element. |
void |
setOnchange(Object onchange)
Sets the
onchange event handler for this element. |
void |
setOnclick(Object handler)
Sets the
onclick event handler for this element. |
void |
setOnclose(Object onclose)
Sets the
onclose event handler for this element. |
void |
setOncontextmenu(Object handler)
Sets the
oncontextmenu event handler for this element. |
void |
setOncopy(Object oncopy)
Sets the
oncopy event handler for this element. |
void |
setOncuechange(Object oncuechange)
Sets the
oncuechange event handler for this element. |
void |
setOncut(Object oncut)
Sets the
oncut event handler for this element. |
void |
setOndblclick(Object handler)
Sets the
ondblclick event handler for this element. |
void |
setOndrag(Object ondrag)
Sets the
ondrag event handler for this element. |
void |
setOndragend(Object ondragend)
Sets the
ondragend event handler for this element. |
void |
setOndragenter(Object ondragenter)
Sets the
ondragenter event handler for this element. |
void |
setOndragleave(Object ondragleave)
Sets the
ondragleave event handler for this element. |
void |
setOndragover(Object ondragover)
Sets the
ondragover event handler for this element. |
void |
setOndragstart(Object ondragstart)
Sets the
ondragstart event handler for this element. |
void |
setOndrop(Object ondrop)
Sets the
ondrop event handler for this element. |
void |
setOndurationchange(Object ondurationchange)
Sets the
ondurationchange event handler for this element. |
void |
setOnemptied(Object onemptied)
Sets the
onemptied event handler for this element. |
void |
setOnended(Object onended)
Sets the
onended event handler for this element. |
void |
setOnerror(Object handler)
Sets the
onerror event handler for this element. |
void |
setOnfocus(Object handler)
Sets the
onfocus event handler for this element. |
void |
setOngotpointercapture(Object ongotpointercapture)
Sets the
ongotpointercapture event handler for this element. |
void |
setOninput(Object oninput)
Sets the
oninput event handler for this element. |
void |
setOninvalid(Object oninvalid)
Sets the
oninvalid event handler for this element. |
void |
setOnkeydown(Object handler)
Sets the
onkeydown event handler for this element. |
void |
setOnkeypress(Object handler)
Sets the
onkeypress event handler for this element. |
void |
setOnkeyup(Object handler)
Sets the
onkeyup event handler for this element. |
void |
setOnload(Object onload)
Sets the
onload event handler for this element. |
void |
setOnloadeddata(Object onloadeddata)
Sets the
onloadeddata event handler for this element. |
void |
setOnloadedmetadata(Object onloadedmetadata)
Sets the
onloadedmetadata event handler for this element. |
void |
setOnloadstart(Object onloadstart)
Sets the
onloadstart event handler for this element. |
void |
setOnlostpointercapture(Object onlostpointercapture)
Sets the
onlostpointercapture event handler for this element. |
void |
setOnmousedown(Object handler)
Sets the
onmousedown event handler for this element. |
void |
setOnmouseenter(Object onmouseenter)
Sets the
onmouseenter event handler for this element. |
void |
setOnmouseleave(Object onmouseleave)
Sets the
onmouseleave event handler for this element. |
void |
setOnmousemove(Object handler)
Sets the
onmousemove event handler for this element. |
void |
setOnmouseout(Object handler)
Sets the
onmouseout event handler for this element. |
void |
setOnmouseover(Object handler)
Sets the
onmouseover event handler for this element. |
void |
setOnmouseup(Object handler)
Sets the
onmouseup event handler for this element. |
void |
setOnmousewheel(Object onmousewheel)
Sets the
onmousewheel event handler for this element. |
void |
setOnmozfullscreenchange(Object onmozfullscreenchange)
Sets the
onmozfullscreenchange event handler for this element. |
void |
setOnmozfullscreenerror(Object onmozfullscreenerror)
Sets the
onmozfullscreenerror event handler for this element. |
void |
setOnpaste(Object onpaste)
Sets the
onpaste event handler for this element. |
void |
setOnpause(Object onpause)
Sets the
onpause event handler for this element. |
void |
setOnplay(Object onplay)
Sets the
onplay event handler for this element. |
void |
setOnplaying(Object onplaying)
Sets the
onplaying event handler for this element. |
void |
setOnpointercancel(Object onpointercancel)
Sets the
onpointercancel event handler for this element. |
void |
setOnpointerdown(Object onpointerdown)
Sets the
onpointerdown event handler for this element. |
void |
setOnpointerenter(Object onpointerenter)
Sets the
onpointerenter event handler for this element. |
void |
setOnpointerleave(Object onpointerleave)
Sets the
onpointerleave event handler for this element. |
void |
setOnpointermove(Object onpointermove)
Sets the
onpointermove event handler for this element. |
void |
setOnpointerout(Object onpointerout)
Sets the
onpointerout event handler for this element. |
void |
setOnpointerover(Object onpointerover)
Sets the
onpointerover event handler for this element. |
void |
setOnpointerup(Object onpointerup)
Sets the
onpointerup event handler for this element. |
void |
setOnprogress(Object onprogress)
Sets the
onprogress event handler for this element. |
void |
setOnratechange(Object onratechange)
Sets the
onratechange event handler for this element. |
void |
setOnreset(Object onreset)
Sets the
onreset event handler for this element. |
void |
setOnresize(Object handler)
Sets the
onresize event handler for this element. |
void |
setOnscroll(Object onscroll)
Sets the
onscroll event handler for this element. |
void |
setOnscrollend(Object onscrollend)
Sets the
onscrollend event handler for this element. |
void |
setOnseeked(Object onseeked)
Sets the
onseeked event handler for this element. |
void |
setOnseeking(Object onseeking)
Sets the
onseeking event handler for this element. |
void |
setOnselect(Object onselect)
Sets the
onselect event handler for this element. |
void |
setOnselectionchange(Object onselectionchange)
Sets the
onselectionchange event handler for this element. |
void |
setOnselectstart(Object onselectstart)
Sets the
onselectstart event handler for this element. |
void |
setOnstalled(Object onstalled)
Sets the
onstalled event handler for this element. |
void |
setOnsubmit(Object onsubmit)
Sets the
onsubmit event handler for this element. |
void |
setOnsuspend(Object onsuspend)
Sets the
onsuspend event handler for this element. |
void |
setOntimeupdate(Object ontimeupdate)
Sets the
ontimeupdate event handler for this element. |
void |
setOntoggle(Object ontoggle)
Sets the
ontoggle event handler for this element. |
void |
setOntransitioncancel(Object ontransitioncancel)
Sets the
ontransitioncancel event handler for this element. |
void |
setOntransitionend(Object ontransitionend)
Sets the
ontransitionend event handler for this element. |
void |
setOntransitionrun(Object ontransitionrun)
Sets the
ontransitionrun event handler for this element. |
void |
setOntransitionstart(Object ontransitionstart)
Sets the
ontransitionstart event handler for this element. |
void |
setOnvolumechange(Object onvolumechange)
Sets the
onvolumechange event handler for this element. |
void |
setOnwaiting(Object onwaiting)
Sets the
onwaiting event handler for this element. |
void |
setOnwheel(Object onwheel)
Sets the
onwheel event handler for this element. |
void |
setOuterText(Object value)
Replaces the whole current node with the given text.
|
void |
setSpellcheck(boolean spellcheck)
Sets the
spellcheck property. |
void |
setStyle(String style)
Sets the styles for this element.
|
void |
setTabIndex(int tabIndex)
Sets the
tabIndex property. |
void |
setTextContent(Object value)
Replaces all child elements of this element with the supplied text value.
|
void |
setTitle(String newTitle)
Sets the title of this element.
|
protected void |
setVAlign(Object vAlign,
String[] valid)
Sets the value of the
vAlign property. |
void |
setValue(Object newValue)
Sets the value of the JavaScript attribute
value . |
protected void |
setWidthOrHeight(String attributeName,
String value,
boolean allowNegativeValues)
Sets the value of the specified attribute (width or height).
|
String |
toString() |
after, append, before, closest, createAttributesObject, createEventHandler, getAttribute, getAttributeNodeNS, getAttributeNS, getAttributes, getChildElementCount, getChildren, getClassList, getClassName_js, getClientHeight, getClientLeft, getClientRects, getClientTop, getClientWidth, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getHTML, getId, getInnerHTML, getInnerHTML, getLastElementChild, getNamespaceURI, getNextElementSibling, getOnbeforecopy, getOnbeforecut, getOnbeforepaste, getOnsearch, getOnwebkitfullscreenchange, getOnwebkitfullscreenerror, getOuterHTML, getParentElement, getPreviousElementSibling, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getTagName, hasAttribute, hasAttributeNS, hasAttributes, insertAdjacentElement, insertAdjacentHTML, insertAdjacentText, isDisplayNone, matches, mozMatchesSelector, prepend, printChildren, printNode, querySelector, querySelectorAll, releaseCapture, remove, removeAttribute, removeAttributeNode, removeAttributeNS, replaceChildren, replaceWith, scroll, scrollBy, scrollIntoView, scrollIntoViewIfNeeded, scrollTo, setAttributeNode, setAttributeNS, setCapture, setClassName_js, setId, setInnerHTML, setOnbeforecopy, setOnbeforecut, setOnbeforepaste, setOnsearch, setOnwebkitfullscreenchange, setOnwebkitfullscreenerror, setOuterHTML, setScrollLeft, setScrollTop, toggleAttribute, webkitMatchesSelector
after, append, appendChild, before, cloneNode, compareDocumentPosition, contains, getBaseURI, getChildNodes, getFirstChild, getJavaScriptNode, getLastChild, getNextSibling, getNodeType, getNodeValue, getOwnerDocument, getParent, getParentNode, getPreviousSibling, getRootNode, getTextContent, hasChildNodes, insertBefore, insertBeforeImpl, isEqualNode, isSameNode, lookupPrefix, normalize, prepend, removeChild, replaceChild, replaceChildren, replaceWith, setNodeValue
addEventListener, clearEventListenersContainer, dispatchEvent, executeEventLocally, fireEvent, getEventHandler, getEventListenersContainer, hasEventHandlers, isEventHandlerOnWindow, removeEventListener, setEventHandler
clone, equivalentValues, get, getBrowserVersion, getClassName, getDefaultValue, getPrototype, getScriptableFor, getWindow, getWindow, getWindowFromTopCallScope, getWithPreemption, has, hasInstance, initParentScope, makeScriptableFor, put, setClassName, setDomNode, setParentScope, setupPromise, setupRejectedPromise
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, putProperty, querySlot, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setCommonDescriptorProperties, setExternalArrayData, setGetterOrSetter, setPrototype, size
public void jsConstructor()
jsConstructor
in class Element
public void setDomNode(DomNode domNode)
setDomNode
in class Element
domNode
- the DOM nodepublic HTMLFormElement getForm()
form
attribute.form
attributepublic String getTitle()
public void setTitle(String newTitle)
newTitle
- the new title of this elementpublic boolean getAutofocus()
public void setAutofocus(boolean newAutofocus)
newAutofocus
- the new autofocus of this elementpublic boolean isDisabled()
public void setDisabled(boolean disabled)
disabled
- True if this is to be disabledpublic String getLocalName()
getLocalName
in class Element
public void setAttribute(String name, String value)
setAttribute
in class Element
name
- Name of the attribute to setvalue
- Value to set the attribute topublic HtmlUnitScriptable getAttributeNode(String attributeName)
getAttributeNode
in class Element
attributeName
- the name of the attribute to retrievepublic String getInnerText()
public void setInnerText(Object value)
value
- the new value for the contents of this elementpublic String getOuterText()
public void setOuterText(Object value)
value
- the new value for the contents of this elementpublic void setTextContent(Object value)
setTextContent
in class Node
value
- the new value for the contents of this elementpublic int getOffsetHeight()
offsetHeight
, which is the element height plus the element's padding
plus the element's border. This method returns a dummy value compatible with mouse event coordinates
during mouse events.offsetHeight
public int getOffsetWidth()
offsetWidth
, which is the element width plus the element's padding
plus the element's border. This method returns a dummy value compatible with mouse event coordinates
during mouse events.offsetWidth
protected boolean isAncestorOfEventTarget(MouseEvent event)
true
if this element's node is an ancestor of the specified event's target node.event
- the event whose target node is to be checkedtrue
if this element's node is an ancestor of the specified event's target nodepublic HTMLElement getParentHTMLElement()
HTMLElement
. It is mostly identical
to Node.getParent()
except that it skips XML nodes.Node.getParent()
public HtmlElement getDomNodeOrDie()
getDomNodeOrDie
in class Element
public HtmlElement getDomNodeOrNull()
getDomNodeOrNull
in class HtmlUnitScriptable
public void blur()
public void focus()
public String getNodeName()
nodeName
for the current node.getNodeName
in class Node
public String getPrefix()
public void click() throws IOException
IOException
- if this click triggers a page load that encounters problemspublic boolean isSpellcheck()
spellcheck
property.spellcheck
propertypublic void setSpellcheck(boolean spellcheck)
spellcheck
property.spellcheck
- the spellcheck
propertypublic String getLang()
lang
property.lang
propertypublic void setLang(String lang)
lang
property.lang
- the lang
propertypublic String getDir()
dir
property.dir
propertypublic void setDir(String dir)
dir
property.dir
- the dir
propertypublic int getTabIndex()
public void setTabIndex(int tabIndex)
tabIndex
property.tabIndex
- the tabIndex
propertypublic String getAccessKey()
accessKey
property.accessKey
propertypublic void setAccessKey(String accessKey)
accessKey
property.accessKey
- the accessKey
propertyprotected String getWidthOrHeight(String attributeName, Boolean returnNegativeValues)
attributeName
- the name of the attribute to return ("width"
or "height"
)returnNegativeValues
- if true
, negative values are returned;
if false
, this method returns an empty string in lieu of negative values;
if null
, this method returns 0
in lieu of negative valuesprotected void setWidthOrHeight(String attributeName, String value, boolean allowNegativeValues)
attributeName
- the name of the attribute to set ("width"
or "height"
)value
- the value of the specified attribute (width or height)allowNegativeValues
- if true
, negative values will be stored;
if false
, negative values cause an exception to be thrown;protected void setColorAttribute(String name, String value)
name
- the color attribute's namevalue
- the color attribute's valueprotected String getAlign(boolean returnInvalidValues)
align
property.returnInvalidValues
- if true
, this method will return any value, including technically
invalid values; if false
, this method will return an empty string instead of invalid valuesalign
propertyprotected void setAlign(String align, boolean ignoreIfNoError)
align
property.align
- the value of the align
propertyignoreIfNoError
- if true
, the invocation will be a no-op if it does not trigger an error
(i.e., it will not actually set the align attribute)protected String getVAlign(String[] valid, String defaultValue)
vAlign
property.valid
- the valid values; if null
, any value is validdefaultValue
- the default value to use, if necessaryvAlign
propertyprotected void setVAlign(Object vAlign, String[] valid)
vAlign
property.vAlign
- the value of the vAlign
propertyvalid
- the valid values; if null
, any value is validprotected String getCh()
ch
property.ch
propertyprotected void setCh(String ch)
ch
property.ch
- the value of the ch
propertyprotected String getChOff()
chOff
property.chOff
propertyprotected void setChOff(String chOff)
chOff
property.chOff
- the value of the chOff
propertypublic int getOffsetLeft()
offsetLeft
, which is the calculated left position of this
element relative to the offsetParent
.offsetLeft
public int getPosX()
public int getPosY()
public int getOffsetTop()
offsetTop
, which is the calculated top position of this
element relative to the offsetParent
.offsetTop
public HtmlUnitScriptable getOffsetParent_js()
offsetParent
. The offsetLeft
and
offsetTop
attributes are relative to the offsetParent
.offsetParent
. This may be undefined
when this node is
not attached or null
for body
.public ClientRect getBoundingClientRect()
getBoundingClientRect
in class Element
public DOMStringMap getDataset()
dataset
attribute.dataset
attributeprotected boolean isEndTagForbidden()
isEndTagForbidden
in class Element
protected boolean isLowerCaseInOuterHtml()
public void setOnchange(Object onchange)
onchange
event handler for this element.onchange
- the onchange
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnchange()
onchange
event handler for this element.onchange
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnsubmit()
onsubmit
event handler for this element.onsubmit
event handler for this elementpublic void setOnsubmit(Object onsubmit)
onsubmit
event handler for this element.onsubmit
- the onsubmit
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnwheel()
onwheel
event handler for this element.getOnwheel
in class Element
onwheel
event handler for this elementpublic void setOnwheel(Object onwheel)
onwheel
event handler for this element.setOnwheel
in class Element
onwheel
- the onwheel
event handler for this elementpublic String getContentEditable()
contentEditable
property.contentEditable
propertypublic void setContentEditable(String contentEditable)
contentEditable
property.contentEditable
- the contentEditable
property to setpublic boolean isIsContentEditable()
isContentEditable
property.isContentEditable
propertypublic CSSStyleDeclaration getStyle()
public void setStyle(String style)
public void setOnclick(Object handler)
onclick
event handler for this element.handler
- the onclick
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnclick()
onclick
event handler for this element.onclick
event handler for this elementpublic void setOndblclick(Object handler)
ondblclick
event handler for this element.handler
- the ondblclick
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOndblclick()
ondblclick
event handler for this element.ondblclick
event handler for this elementpublic void setOnblur(Object handler)
onblur
event handler for this element.handler
- the onblur
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnblur()
onblur
event handler for this element.onblur
event handler for this elementpublic void setOnfocus(Object handler)
onfocus
event handler for this element.handler
- the onfocus
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnfocus()
onfocus
event handler for this element.onfocus
event handler for this elementpublic void setOnkeydown(Object handler)
onkeydown
event handler for this element.handler
- the onkeydown
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnkeydown()
onkeydown
event handler for this element.onkeydown
event handler for this elementpublic void setOnkeypress(Object handler)
onkeypress
event handler for this element.handler
- the onkeypress
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnkeypress()
onkeypress
event handler for this element.onkeypress
event handler for this elementpublic void setOnkeyup(Object handler)
onkeyup
event handler for this element.handler
- the onkeyup
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnkeyup()
onkeyup
event handler for this element.onkeyup
event handler for this elementpublic void setOnmousedown(Object handler)
onmousedown
event handler for this element.handler
- the onmousedown
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnmousedown()
onmousedown
event handler for this element.onmousedown
event handler for this elementpublic void setOnmousemove(Object handler)
onmousemove
event handler for this element.handler
- the onmousemove
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnmousemove()
onmousemove
event handler for this element.onmousemove
event handler for this elementpublic void setOnmouseout(Object handler)
onmouseout
event handler for this element.handler
- the onmouseout
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnmouseout()
onmouseout
event handler for this element.onmouseout
event handler for this elementpublic void setOnmouseover(Object handler)
onmouseover
event handler for this element.handler
- the onmouseover
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnmouseover()
onmouseover
event handler for this element.onmouseover
event handler for this elementpublic void setOnmouseup(Object handler)
onmouseup
event handler for this element.handler
- the onmouseup
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnmouseup()
onmouseup
event handler for this element.onmouseup
event handler for this elementpublic void setOncontextmenu(Object handler)
oncontextmenu
event handler for this element.handler
- the oncontextmenu
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOncontextmenu()
oncontextmenu
event handler for this element.oncontextmenu
event handler for this elementpublic void setOnresize(Object handler)
onresize
event handler for this element.handler
- the onresize
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnresize()
onresize
event handler for this element.onresize
event handler for this elementpublic void setOnerror(Object handler)
onerror
event handler for this element.handler
- the onerror
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnerror()
onerror
event handler for this element.onerror
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOninput()
oninput
event handler for this element.oninput
event handler for this elementpublic void setOninput(Object oninput)
oninput
event handler for this element.oninput
- the oninput
event handler for this elementpublic boolean isHidden()
hidden
property.hidden
propertypublic void setHidden(Object hidden)
hidden
property.hidden
- the hidden
valuepublic org.htmlunit.corejs.javascript.Function getOnabort()
onabort
event handler for this element.onabort
event handler for this elementpublic void setOnabort(Object onabort)
onabort
event handler for this element.onabort
- the onabort
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnauxclick()
onauxclick
event handler for this element.onauxclick
event handler for this elementpublic void setOnauxclick(Object onauxclick)
onauxclick
event handler for this element.onauxclick
- the onauxclick
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOncancel()
oncancel
event handler for this element.oncancel
event handler for this elementpublic void setOncancel(Object oncancel)
oncancel
event handler for this element.oncancel
- the oncancel
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOncanplay()
oncanplay
event handler for this element.oncanplay
event handler for this elementpublic void setOncanplay(Object oncanplay)
oncanplay
event handler for this element.oncanplay
- the oncanplay
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOncanplaythrough()
oncanplaythrough
event handler for this element.oncanplaythrough
event handler for this elementpublic void setOncanplaythrough(Object oncanplaythrough)
oncanplaythrough
event handler for this element.oncanplaythrough
- the oncanplaythrough
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnclose()
onclose
event handler for this element.onclose
event handler for this elementpublic void setOnclose(Object onclose)
onclose
event handler for this element.onclose
- the onclose
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOncuechange()
oncuechange
event handler for this element.oncuechange
event handler for this elementpublic void setOncuechange(Object oncuechange)
oncuechange
event handler for this element.oncuechange
- the oncuechange
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOndrag()
ondrag
event handler for this element.ondrag
event handler for this elementpublic void setOndrag(Object ondrag)
ondrag
event handler for this element.ondrag
- the ondrag
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOndragend()
ondragend
event handler for this element.ondragend
event handler for this elementpublic void setOndragend(Object ondragend)
ondragend
event handler for this element.ondragend
- the ondragend
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOndragenter()
ondragenter
event handler for this element.ondragenter
event handler for this elementpublic void setOndragenter(Object ondragenter)
ondragenter
event handler for this element.ondragenter
- the ondragenter
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOndragleave()
ondragleave
event handler for this element.ondragleave
event handler for this elementpublic void setOndragleave(Object ondragleave)
ondragleave
event handler for this element.ondragleave
- the ondragleave
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOndragover()
ondragover
event handler for this element.ondragover
event handler for this elementpublic void setOndragover(Object ondragover)
ondragover
event handler for this element.ondragover
- the ondragover
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOndragstart()
ondragstart
event handler for this element.ondragstart
event handler for this elementpublic void setOndragstart(Object ondragstart)
ondragstart
event handler for this element.ondragstart
- the ondragstart
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOndrop()
ondrop
event handler for this element.ondrop
event handler for this elementpublic void setOndrop(Object ondrop)
ondrop
event handler for this element.ondrop
- the ondrop
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOndurationchange()
ondurationchange
event handler for this element.ondurationchange
event handler for this elementpublic void setOndurationchange(Object ondurationchange)
ondurationchange
event handler for this element.ondurationchange
- the ondurationchange
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnemptied()
onemptied
event handler for this element.onemptied
event handler for this elementpublic void setOnemptied(Object onemptied)
onemptied
event handler for this element.onemptied
- the onemptied
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnended()
onended
event handler for this element.onended
event handler for this elementpublic void setOnended(Object onended)
onended
event handler for this element.onended
- the onended
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOngotpointercapture()
ongotpointercapture
event handler for this element.ongotpointercapture
event handler for this elementpublic void setOngotpointercapture(Object ongotpointercapture)
ongotpointercapture
event handler for this element.ongotpointercapture
- the ongotpointercapture
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOninvalid()
oninvalid
event handler for this element.oninvalid
event handler for this elementpublic void setOninvalid(Object oninvalid)
oninvalid
event handler for this element.oninvalid
- the oninvalid
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnload()
onload
event handler for this element.onload
event handler for this elementpublic void setOnload(Object onload)
onload
event handler for this element.onload
- the onload
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnloadeddata()
onloadeddata
event handler for this element.onloadeddata
event handler for this elementpublic void setOnloadeddata(Object onloadeddata)
onloadeddata
event handler for this element.onloadeddata
- the onloadeddata
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnloadedmetadata()
onloadedmetadata
event handler for this element.onloadedmetadata
event handler for this elementpublic void setOnloadedmetadata(Object onloadedmetadata)
onloadedmetadata
event handler for this element.onloadedmetadata
- the onloadedmetadata
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnloadstart()
onloadstart
event handler for this element.onloadstart
event handler for this elementpublic void setOnloadstart(Object onloadstart)
onloadstart
event handler for this element.onloadstart
- the onloadstart
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnlostpointercapture()
onlostpointercapture
event handler for this element.onlostpointercapture
event handler for this elementpublic void setOnlostpointercapture(Object onlostpointercapture)
onlostpointercapture
event handler for this element.onlostpointercapture
- the onlostpointercapture
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnmouseenter()
onmouseenter
event handler for this element.onmouseenter
event handler for this elementpublic void setOnmouseenter(Object onmouseenter)
onmouseenter
event handler for this element.onmouseenter
- the onmouseenter
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnmouseleave()
onmouseleave
event handler for this element.onmouseleave
event handler for this elementpublic void setOnmouseleave(Object onmouseleave)
onmouseleave
event handler for this element.onmouseleave
- the onmouseleave
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnmousewheel()
onmousewheel
event handler for this element.onmousewheel
event handler for this elementpublic void setOnmousewheel(Object onmousewheel)
onmousewheel
event handler for this element.onmousewheel
- the onmousewheel
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnpause()
onpause
event handler for this element.onpause
event handler for this elementpublic void setOnpause(Object onpause)
onpause
event handler for this element.onpause
- the onpause
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnplay()
onplay
event handler for this element.onplay
event handler for this elementpublic void setOnplay(Object onplay)
onplay
event handler for this element.onplay
- the onplay
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnplaying()
onplaying
event handler for this element.onplaying
event handler for this elementpublic void setOnplaying(Object onplaying)
onplaying
event handler for this element.onplaying
- the onplaying
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnpointercancel()
onpointercancel
event handler for this element.onpointercancel
event handler for this elementpublic void setOnpointercancel(Object onpointercancel)
onpointercancel
event handler for this element.onpointercancel
- the onpointercancel
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnpointerdown()
onpointerdown
event handler for this element.onpointerdown
event handler for this elementpublic void setOnpointerdown(Object onpointerdown)
onpointerdown
event handler for this element.onpointerdown
- the onpointerdown
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnpointerenter()
onpointerenter
event handler for this element.onpointerenter
event handler for this elementpublic void setOnpointerenter(Object onpointerenter)
onpointerenter
event handler for this element.onpointerenter
- the onpointerenter
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnpointerleave()
onpointerleave
event handler for this element.onpointerleave
event handler for this elementpublic void setOnpointerleave(Object onpointerleave)
onpointerleave
event handler for this element.onpointerleave
- the onpointerleave
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnpointermove()
onpointermove
event handler for this element.onpointermove
event handler for this elementpublic void setOnpointermove(Object onpointermove)
onpointermove
event handler for this element.onpointermove
- the onpointermove
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnpointerout()
onpointerout
event handler for this element.onpointerout
event handler for this elementpublic void setOnpointerout(Object onpointerout)
onpointerout
event handler for this element.onpointerout
- the onpointerout
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnpointerover()
onpointerover
event handler for this element.onpointerover
event handler for this elementpublic void setOnpointerover(Object onpointerover)
onpointerover
event handler for this element.onpointerover
- the onpointerover
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnpointerup()
onpointerup
event handler for this element.onpointerup
event handler for this elementpublic void setOnpointerup(Object onpointerup)
onpointerup
event handler for this element.onpointerup
- the onpointerup
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnprogress()
onprogress
event handler for this element.onprogress
event handler for this elementpublic void setOnprogress(Object onprogress)
onprogress
event handler for this element.onprogress
- the onprogress
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnratechange()
onratechange
event handler for this element.onratechange
event handler for this elementpublic void setOnratechange(Object onratechange)
onratechange
event handler for this element.onratechange
- the onratechange
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnreset()
onreset
event handler for this element.onreset
event handler for this elementpublic void setOnreset(Object onreset)
onreset
event handler for this element.onreset
- the onreset
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnscroll()
onscroll
event handler for this element.onscroll
event handler for this elementpublic void setOnscroll(Object onscroll)
onscroll
event handler for this element.onscroll
- the onscroll
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnscrollend()
onscrollend
event handler for this element.onscrollend
event handler for this elementpublic void setOnscrollend(Object onscrollend)
onscrollend
event handler for this element.onscrollend
- the onscrollend
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnseeked()
onseeked
event handler for this element.onseeked
event handler for this elementpublic void setOnseeked(Object onseeked)
onseeked
event handler for this element.onseeked
- the onseeked
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnseeking()
onseeking
event handler for this element.onseeking
event handler for this elementpublic void setOnseeking(Object onseeking)
onseeking
event handler for this element.onseeking
- the onseeking
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnselect()
onselect
event handler for this element.onselect
event handler for this elementpublic void setOnselect(Object onselect)
onselect
event handler for this element.onselect
- the onselect
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnstalled()
onstalled
event handler for this element.onstalled
event handler for this elementpublic void setOnstalled(Object onstalled)
onstalled
event handler for this element.onstalled
- the onstalled
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnsuspend()
onsuspend
event handler for this element.onsuspend
event handler for this elementpublic void setOnsuspend(Object onsuspend)
onsuspend
event handler for this element.onsuspend
- the onsuspend
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOntimeupdate()
ontimeupdate
event handler for this element.ontimeupdate
event handler for this elementpublic void setOntimeupdate(Object ontimeupdate)
ontimeupdate
event handler for this element.ontimeupdate
- the ontimeupdate
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOntoggle()
ontoggle
event handler for this element.ontoggle
event handler for this elementpublic void setOntoggle(Object ontoggle)
ontoggle
event handler for this element.ontoggle
- the ontoggle
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnvolumechange()
onvolumechange
event handler for this element.onvolumechange
event handler for this elementpublic void setOnvolumechange(Object onvolumechange)
onvolumechange
event handler for this element.onvolumechange
- the onvolumechange
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnwaiting()
onwaiting
event handler for this element.onwaiting
event handler for this elementpublic void setOnwaiting(Object onwaiting)
onwaiting
event handler for this element.onwaiting
- the onwaiting
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOncopy()
oncopy
event handler for this element.oncopy
event handler for this elementpublic void setOncopy(Object oncopy)
oncopy
event handler for this element.oncopy
- the oncopy
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOncut()
oncut
event handler for this element.oncut
event handler for this elementpublic void setOncut(Object oncut)
oncut
event handler for this element.oncut
- the oncut
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnpaste()
onpaste
event handler for this element.onpaste
event handler for this elementpublic void setOnpaste(Object onpaste)
onpaste
event handler for this element.onpaste
- the onpaste
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnmozfullscreenchange()
onmozfullscreenchange
event handler for this element.onmozfullscreenchange
event handler for this elementpublic void setOnmozfullscreenchange(Object onmozfullscreenchange)
onmozfullscreenchange
event handler for this element.onmozfullscreenchange
- the onmozfullscreenchange
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnmozfullscreenerror()
onmozfullscreenerror
event handler for this element.onmozfullscreenerror
event handler for this elementpublic void setOnmozfullscreenerror(Object onmozfullscreenerror)
onmozfullscreenerror
event handler for this element.onmozfullscreenerror
- the onmozfullscreenerror
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOnselectstart()
onselectstart
event handler for this element.onselectstart
event handler for this elementpublic void setOnselectstart(Object onselectstart)
onselectstart
event handler for this element.onselectstart
- the onselectstart
event handler for this elementpublic String getName()
name
.public void setName(String newName)
name
.newName
- the new namepublic Object getValue()
value
.public void setValue(Object newValue)
value
.newValue
- the new valuepublic String getEnterKeyHint()
enterKeyHint
.public void setEnterKeyHint(Object enterKeyHint)
enterKeyHint
.enterKeyHint
- the new valuepublic org.htmlunit.corejs.javascript.Function getOnanimationcancel()
onanimationcancel
event handler.onanimationcancel
event handlerpublic void setOnanimationcancel(Object onanimationcancel)
onanimationcancel
event handler.onanimationcancel
- the onanimationcancel
event handlerpublic org.htmlunit.corejs.javascript.Function getOnanimationend()
onanimationend
event handler.onanimationend
event handlerpublic void setOnanimationend(Object onanimationend)
onanimationend
event handler.onanimationend
- the onanimationend
event handlerpublic org.htmlunit.corejs.javascript.Function getOnanimationiteration()
onanimationiteration
event handler.onanimationiteration
event handlerpublic void setOnanimationiteration(Object onanimationiteration)
onanimationiteration
event handler.onanimationiteration
- the onanimationiteration
event handlerpublic org.htmlunit.corejs.javascript.Function getOnanimationstart()
onanimationstart
event handler.onanimationstart
event handlerpublic void setOnanimationstart(Object onanimationstart)
onanimationstart
event handler.onanimationstart
- the onanimationstart
event handlerpublic org.htmlunit.corejs.javascript.Function getOnselectionchange()
onselectionchange
event handler for this element.onselectionchange
event handler for this elementpublic void setOnselectionchange(Object onselectionchange)
onselectionchange
event handler for this element.onselectionchange
- the onselectionchange
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOntransitioncancel()
ontransitioncancel
event handler for this element.ontransitioncancel
event handler for this elementpublic void setOntransitioncancel(Object ontransitioncancel)
ontransitioncancel
event handler for this element.ontransitioncancel
- the ontransitioncancel
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOntransitionend()
ontransitionend
event handler for this element.ontransitionend
event handler for this elementpublic void setOntransitionend(Object ontransitionend)
ontransitionend
event handler for this element.ontransitionend
- the ontransitionend
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOntransitionrun()
ontransitionrun
event handler for this element.ontransitionrun
event handler for this elementpublic void setOntransitionrun(Object ontransitionrun)
ontransitionrun
event handler for this element.ontransitionrun
- the ontransitionrun
event handler for this elementpublic org.htmlunit.corejs.javascript.Function getOntransitionstart()
ontransitionstart
event handler for this element.ontransitionstart
event handler for this elementpublic void setOntransitionstart(Object ontransitionstart)
ontransitionstart
event handler for this element.ontransitionstart
- the ontransitionstart
event handler for this elementCopyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.