Class HTMLElement
- java.lang.Object
-
- org.htmlunit.corejs.javascript.ScriptableObject
-
- org.htmlunit.javascript.HtmlUnitScriptable
-
- org.htmlunit.javascript.host.event.EventTarget
-
- org.htmlunit.javascript.host.dom.Node
-
- org.htmlunit.javascript.host.Element
-
- org.htmlunit.javascript.host.html.HTMLElement
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,org.htmlunit.corejs.javascript.ConstProperties,org.htmlunit.corejs.javascript.debug.DebuggableObject,org.htmlunit.corejs.javascript.Scriptable,org.htmlunit.corejs.javascript.SymbolScriptable
- Direct Known Subclasses:
HTMLAnchorElement,HTMLAreaElement,HTMLBaseElement,HTMLBGSoundElement,HTMLBodyElement,HTMLBRElement,HTMLButtonElement,HTMLCanvasElement,HTMLDataElement,HTMLDataListElement,HTMLDetailsElement,HTMLDialogElement,HTMLDivElement,HTMLEmbedElement,HTMLFieldSetElement,HTMLFontElement,HTMLFormElement,HTMLFrameElement,HTMLFrameSetElement,HTMLHeadElement,HTMLHeadingElement,HTMLHRElement,HTMLHtmlElement,HTMLIFrameElement,HTMLImageElement,HTMLInputElement,HTMLLabelElement,HTMLLegendElement,HTMLLIElement,HTMLLinkElement,HTMLListElement,HTMLMapElement,HTMLMarqueeElement,HTMLMediaElement,HTMLMetaElement,HTMLMeterElement,HTMLModElement,HTMLObjectElement,HTMLOptGroupElement,HTMLOptionElement,HTMLOutputElement,HTMLParagraphElement,HTMLParamElement,HTMLPictureElement,HTMLPreElement,HTMLProgressElement,HTMLQuoteElement,HTMLScriptElement,HTMLSelectElement,HTMLSlotElement,HTMLSourceElement,HTMLSpanElement,HTMLStyleElement,HTMLTableCaptionElement,HTMLTableComponent,HTMLTemplateElement,HTMLTextAreaElement,HTMLTimeElement,HTMLTitleElement,HTMLTrackElement,HTMLUnknownElement,RowContainer
public class HTMLElement extends Element
The JavaScript objectHTMLElementwhich is the base class for all HTML objects. This will typically wrap an instance ofHtmlElement.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHTMLElement.ProxyDomNodeProxyDomNode.
-
Field Summary
Fields Modifier and Type Field Description private booleanendTagForbidden_private static java.util.Set<java.lang.String>ENTER_KEY_HINT_VALUESprivate static java.lang.Class<?>[]METHOD_PARAMS_OBJECT-
Fields inherited from class org.htmlunit.javascript.host.dom.Node
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
-
-
Constructor Summary
Constructors Constructor Description HTMLElement()Creates an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidblur()Remove focus from this element.voidclick()Click this element.voidfocus()Sets the focus to this element.java.lang.StringgetAccessKey()Returns theaccessKeyproperty.protected java.lang.StringgetAlign(boolean returnInvalidValues)Returns the value of thealignproperty.HtmlUnitScriptablegetAttributeNode(java.lang.String attributeName)Gets the attribute node for the specified attribute.booleangetAutofocus()Returns the element autofocus property.ClientRectgetBoundingClientRect()Retrieves an object that specifies the bounds of a collection of TextRectangle objects.protected java.lang.StringgetCh()Returns the value of thechproperty.protected java.lang.StringgetChOff()Returns the value of thechOffproperty.java.lang.StringgetContentEditable()Returns thecontentEditableproperty.DOMStringMapgetDataset()Returns thedatasetattribute.java.lang.StringgetDir()Returns thedirproperty.HtmlElementgetDomNodeOrDie()Returns the DOM node that corresponds to this JavaScript object or throw an exception if one cannot be found.HtmlElementgetDomNodeOrNull()Returns the DOM node that corresponds to this JavaScript object or null if a node hasn't been set.java.lang.StringgetEnterKeyHint()Returns the value of the JavaScript attributeenterKeyHint.HTMLFormElementgetForm()Returns the value of the JavaScriptformattribute.java.lang.StringgetInnerText()Gets the innerText attribute.java.lang.StringgetLang()Returns thelangproperty.java.lang.StringgetLocalName()Returns the local name of this attribute.java.lang.StringgetName()Returns the value of the JavaScript attributename.java.lang.StringgetNodeName()Gets the JavaScript propertynodeNamefor the current node.intgetOffsetHeight()Returns this element'soffsetHeight, which is the element height plus the element's padding plus the element's border.intgetOffsetLeft()Returns this element'soffsetLeft, which is the calculated left position of this element relative to theoffsetParent.private HTMLElementgetOffsetParent()Gets the offset parent ornullif this is not anHTMLElement.java.lang.ObjectgetOffsetParent_js()Returns this element'soffsetParent.private java.lang.ObjectgetOffsetParentInternal(boolean returnNullIfFixed)intgetOffsetTop()Returns this element'soffsetTop, which is the calculated top position of this element relative to theoffsetParent.intgetOffsetWidth()Returns this element'soffsetWidth, which is the element width plus the element's padding plus the element's border.org.htmlunit.corejs.javascript.FunctiongetOnabort()Returns theonabortevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnanimationcancel()Returns theonanimationcancelevent handler.org.htmlunit.corejs.javascript.FunctiongetOnanimationend()Returns theonanimationendevent handler.org.htmlunit.corejs.javascript.FunctiongetOnanimationiteration()Returns theonanimationiterationevent handler.org.htmlunit.corejs.javascript.FunctiongetOnanimationstart()Returns theonanimationstartevent handler.org.htmlunit.corejs.javascript.FunctiongetOnauxclick()Returns theonauxclickevent handler for this element.java.lang.ObjectgetOnblur()Returns theonblurevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOncancel()Returns theoncancelevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOncanplay()Returns theoncanplayevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOncanplaythrough()Returns theoncanplaythroughevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnchange()Returns theonchangeevent handler for this element.java.lang.ObjectgetOnclick()Returns theonclickevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnclose()Returns theoncloseevent handler for this element.java.lang.ObjectgetOncontextmenu()Returns theoncontextmenuevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOncopy()Returns theoncopyevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOncuechange()Returns theoncuechangeevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOncut()Returns theoncutevent handler for this element.java.lang.ObjectgetOndblclick()Returns theondblclickevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOndrag()Returns theondragevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOndragend()Returns theondragendevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOndragenter()Returns theondragenterevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOndragleave()Returns theondragleaveevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOndragover()Returns theondragoverevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOndragstart()Returns theondragstartevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOndrop()Returns theondropevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOndurationchange()Returns theondurationchangeevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnemptied()Returns theonemptiedevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnended()Returns theonendedevent handler for this element.java.lang.ObjectgetOnerror()Returns theonerrorevent handler for this element.java.lang.ObjectgetOnfocus()Returns theonfocusevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOngotpointercapture()Returns theongotpointercaptureevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOninput()Returns theoninputevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOninvalid()Returns theoninvalidevent handler for this element.java.lang.ObjectgetOnkeydown()Returns theonkeydownevent handler for this element.java.lang.ObjectgetOnkeypress()Returns theonkeypressevent handler for this element.java.lang.ObjectgetOnkeyup()Returns theonkeyupevent handler for this element.java.lang.ObjectgetOnload()Returns theonloadevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnloadeddata()Returns theonloadeddataevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnloadedmetadata()Returns theonloadedmetadataevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnloadstart()Returns theonloadstartevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnlostpointercapture()Returns theonlostpointercaptureevent handler for this element.java.lang.ObjectgetOnmousedown()Returns theonmousedownevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnmouseenter()Returns theonmouseenterevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnmouseleave()Returns theonmouseleaveevent handler for this element.java.lang.ObjectgetOnmousemove()Returns theonmousemoveevent handler for this element.java.lang.ObjectgetOnmouseout()Returns theonmouseoutevent handler for this element.java.lang.ObjectgetOnmouseover()Returns theonmouseoverevent handler for this element.java.lang.ObjectgetOnmouseup()Returns theonmouseupevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnmousewheel()Returns theonmousewheelevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnmozfullscreenchange()Returns theonmozfullscreenchangeevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnmozfullscreenerror()Returns theonmozfullscreenerrorevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnpaste()Returns theonpasteevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnpause()Returns theonpauseevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnplay()Returns theonplayevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnplaying()Returns theonplayingevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnpointercancel()Returns theonpointercancelevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnpointerdown()Returns theonpointerdownevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnpointerenter()Returns theonpointerenterevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnpointerleave()Returns theonpointerleaveevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnpointermove()Returns theonpointermoveevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnpointerout()Returns theonpointeroutevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnpointerover()Returns theonpointeroverevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnpointerup()Returns theonpointerupevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnprogress()Returns theonprogressevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnratechange()Returns theonratechangeevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnreset()Returns theonresetevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnresize()Returns theonresizeevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnscroll()Returns theonscrollevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnscrollend()Returns theonscrollendevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnseeked()Returns theonseekedevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnseeking()Returns theonseekingevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnselect()Returns theonselectevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnselectionchange()Returns theonselectionchangeevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnselectstart()Returns theonselectstartevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnstalled()Returns theonstalledevent handler for this element.java.lang.ObjectgetOnsubmit()Returns theonsubmitevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnsuspend()Returns theonsuspendevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOntimeupdate()Returns theontimeupdateevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOntoggle()Returns theontoggleevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOntransitioncancel()Returns theontransitioncancelevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOntransitionend()Returns theontransitionendevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOntransitionrun()Returns theontransitionrunevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOntransitionstart()Returns theontransitionstartevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnvolumechange()Returns theonvolumechangeevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnwaiting()Returns theonwaitingevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnwheel()Returns theonwheelevent handler for this element.java.lang.StringgetOuterText()The outerText property of the HTMLElement interface returns the same value as HTMLElement.innerText.HTMLElementgetParentHTMLElement()Gets the first ancestor instance ofHTMLElement.intgetPosX()Returns this element's X position.intgetPosY()Returns this element's Y position.java.lang.StringgetPrefix()Returns the namespace prefix.CSSStyleDeclarationgetStyle()Returns the style object for this element.intgetTabIndex()Returns the value of the tabIndex attribute.java.lang.StringgetTitle()Returns the element title.protected java.lang.StringgetVAlign(java.lang.String[] valid, java.lang.String defaultValue)Returns the value of thevAlignproperty.java.lang.ObjectgetValue()Returns the value of the JavaScript attributevalue.protected java.lang.StringgetWidthOrHeight(java.lang.String attributeName, java.lang.Boolean returnNegativeValues)Returns the value of the specified attribute (width or height).protected booleanisAncestorOfEventTarget(MouseEvent event)Returnstrueif this element's node is an ancestor of the specified event's target node.booleanisDisabled()Returns true if this element is disabled.protected booleanisEndTagForbidden()Returns whether the end tag is forbidden or not.booleanisHidden()Returns thehiddenproperty.booleanisIsContentEditable()Returns theisContentEditableproperty.protected booleanisLowerCaseInOuterHtml()booleanisSpellcheck()Returns thespellcheckproperty.voidjsConstructor()JavaScript constructor.voidsetAccessKey(java.lang.String accessKey)Sets theaccessKeyproperty.protected voidsetAlign(java.lang.String align, boolean ignoreIfNoError)Sets the value of thealignproperty.voidsetAttribute(java.lang.String name, java.lang.String value)Sets an attribute.voidsetAutofocus(boolean newAutofocus)Sets the autofocus of this element.protected voidsetCh(java.lang.String ch)Sets the value of thechproperty.protected voidsetChOff(java.lang.String chOff)Sets the value of thechOffproperty.protected voidsetColorAttribute(java.lang.String name, java.lang.String value)Sets the specified color attribute to the specified value.voidsetContentEditable(java.lang.String contentEditable)Sets thecontentEditableproperty.voidsetDir(java.lang.String dir)Sets thedirproperty.voidsetDisabled(boolean disabled)Sets whether or not to disable this element.voidsetDomNode(DomNode domNode)Sets the DOM node that corresponds to this JavaScript object.voidsetEnterKeyHint(java.lang.Object enterKeyHint)Sets the value of the JavaScript attributeenterKeyHint.voidsetHidden(boolean hidden)Sets thehiddenproperty.voidsetInnerText(java.lang.Object value)Replaces all child elements of this element with the supplied text value.voidsetLang(java.lang.String lang)Sets thelangproperty.voidsetName(java.lang.String newName)Sets the value of the JavaScript attributename.voidsetOnabort(java.lang.Object onabort)Sets theonabortevent handler for this element.voidsetOnanimationcancel(java.lang.Object onanimationcancel)Sets theonanimationcancelevent handler.voidsetOnanimationend(java.lang.Object onanimationend)Sets theonanimationendevent handler.voidsetOnanimationiteration(java.lang.Object onanimationiteration)Sets theonanimationiterationevent handler.voidsetOnanimationstart(java.lang.Object onanimationstart)Sets theonanimationstartevent handler.voidsetOnauxclick(java.lang.Object onauxclick)Sets theonauxclickevent handler for this element.voidsetOnblur(java.lang.Object handler)Sets theonblurevent handler for this element.voidsetOncancel(java.lang.Object oncancel)Sets theoncancelevent handler for this element.voidsetOncanplay(java.lang.Object oncanplay)Sets theoncanplayevent handler for this element.voidsetOncanplaythrough(java.lang.Object oncanplaythrough)Sets theoncanplaythroughevent handler for this element.voidsetOnchange(java.lang.Object onchange)Sets theonchangeevent handler for this element.voidsetOnclick(java.lang.Object handler)Sets theonclickevent handler for this element.voidsetOnclose(java.lang.Object onclose)Sets theoncloseevent handler for this element.voidsetOncontextmenu(java.lang.Object handler)Sets theoncontextmenuevent handler for this element.voidsetOncopy(java.lang.Object oncopy)Sets theoncopyevent handler for this element.voidsetOncuechange(java.lang.Object oncuechange)Sets theoncuechangeevent handler for this element.voidsetOncut(java.lang.Object oncut)Sets theoncutevent handler for this element.voidsetOndblclick(java.lang.Object handler)Sets theondblclickevent handler for this element.voidsetOndrag(java.lang.Object ondrag)Sets theondragevent handler for this element.voidsetOndragend(java.lang.Object ondragend)Sets theondragendevent handler for this element.voidsetOndragenter(java.lang.Object ondragenter)Sets theondragenterevent handler for this element.voidsetOndragleave(java.lang.Object ondragleave)Sets theondragleaveevent handler for this element.voidsetOndragover(java.lang.Object ondragover)Sets theondragoverevent handler for this element.voidsetOndragstart(java.lang.Object ondragstart)Sets theondragstartevent handler for this element.voidsetOndrop(java.lang.Object ondrop)Sets theondropevent handler for this element.voidsetOndurationchange(java.lang.Object ondurationchange)Sets theondurationchangeevent handler for this element.voidsetOnemptied(java.lang.Object onemptied)Sets theonemptiedevent handler for this element.voidsetOnended(java.lang.Object onended)Sets theonendedevent handler for this element.voidsetOnerror(java.lang.Object handler)Sets theonerrorevent handler for this element.voidsetOnfocus(java.lang.Object handler)Sets theonfocusevent handler for this element.voidsetOngotpointercapture(java.lang.Object ongotpointercapture)Sets theongotpointercaptureevent handler for this element.voidsetOninput(java.lang.Object oninput)Sets theoninputevent handler for this element.voidsetOninvalid(java.lang.Object oninvalid)Sets theoninvalidevent handler for this element.voidsetOnkeydown(java.lang.Object handler)Sets theonkeydownevent handler for this element.voidsetOnkeypress(java.lang.Object handler)Sets theonkeypressevent handler for this element.voidsetOnkeyup(java.lang.Object handler)Sets theonkeyupevent handler for this element.voidsetOnload(java.lang.Object onload)Sets theonloadevent handler for this element.voidsetOnloadeddata(java.lang.Object onloadeddata)Sets theonloadeddataevent handler for this element.voidsetOnloadedmetadata(java.lang.Object onloadedmetadata)Sets theonloadedmetadataevent handler for this element.voidsetOnloadstart(java.lang.Object onloadstart)Sets theonloadstartevent handler for this element.voidsetOnlostpointercapture(java.lang.Object onlostpointercapture)Sets theonlostpointercaptureevent handler for this element.voidsetOnmousedown(java.lang.Object handler)Sets theonmousedownevent handler for this element.voidsetOnmouseenter(java.lang.Object onmouseenter)Sets theonmouseenterevent handler for this element.voidsetOnmouseleave(java.lang.Object onmouseleave)Sets theonmouseleaveevent handler for this element.voidsetOnmousemove(java.lang.Object handler)Sets theonmousemoveevent handler for this element.voidsetOnmouseout(java.lang.Object handler)Sets theonmouseoutevent handler for this element.voidsetOnmouseover(java.lang.Object handler)Sets theonmouseoverevent handler for this element.voidsetOnmouseup(java.lang.Object handler)Sets theonmouseupevent handler for this element.voidsetOnmousewheel(java.lang.Object onmousewheel)Sets theonmousewheelevent handler for this element.voidsetOnmozfullscreenchange(java.lang.Object onmozfullscreenchange)Sets theonmozfullscreenchangeevent handler for this element.voidsetOnmozfullscreenerror(java.lang.Object onmozfullscreenerror)Sets theonmozfullscreenerrorevent handler for this element.voidsetOnpaste(java.lang.Object onpaste)Sets theonpasteevent handler for this element.voidsetOnpause(java.lang.Object onpause)Sets theonpauseevent handler for this element.voidsetOnplay(java.lang.Object onplay)Sets theonplayevent handler for this element.voidsetOnplaying(java.lang.Object onplaying)Sets theonplayingevent handler for this element.voidsetOnpointercancel(java.lang.Object onpointercancel)Sets theonpointercancelevent handler for this element.voidsetOnpointerdown(java.lang.Object onpointerdown)Sets theonpointerdownevent handler for this element.voidsetOnpointerenter(java.lang.Object onpointerenter)Sets theonpointerenterevent handler for this element.voidsetOnpointerleave(java.lang.Object onpointerleave)Sets theonpointerleaveevent handler for this element.voidsetOnpointermove(java.lang.Object onpointermove)Sets theonpointermoveevent handler for this element.voidsetOnpointerout(java.lang.Object onpointerout)Sets theonpointeroutevent handler for this element.voidsetOnpointerover(java.lang.Object onpointerover)Sets theonpointeroverevent handler for this element.voidsetOnpointerup(java.lang.Object onpointerup)Sets theonpointerupevent handler for this element.voidsetOnprogress(java.lang.Object onprogress)Sets theonprogressevent handler for this element.voidsetOnratechange(java.lang.Object onratechange)Sets theonratechangeevent handler for this element.voidsetOnreset(java.lang.Object onreset)Sets theonresetevent handler for this element.voidsetOnresize(java.lang.Object handler)Sets theonresizeevent handler for this element.voidsetOnscroll(java.lang.Object onscroll)Sets theonscrollevent handler for this element.voidsetOnscrollend(java.lang.Object onscrollend)Sets theonscrollendevent handler for this element.voidsetOnseeked(java.lang.Object onseeked)Sets theonseekedevent handler for this element.voidsetOnseeking(java.lang.Object onseeking)Sets theonseekingevent handler for this element.voidsetOnselect(java.lang.Object onselect)Sets theonselectevent handler for this element.voidsetOnselectionchange(java.lang.Object onselectionchange)Sets theonselectionchangeevent handler for this element.voidsetOnselectstart(java.lang.Object onselectstart)Sets theonselectstartevent handler for this element.voidsetOnstalled(java.lang.Object onstalled)Sets theonstalledevent handler for this element.voidsetOnsubmit(java.lang.Object onsubmit)Sets theonsubmitevent handler for this element.voidsetOnsuspend(java.lang.Object onsuspend)Sets theonsuspendevent handler for this element.voidsetOntimeupdate(java.lang.Object ontimeupdate)Sets theontimeupdateevent handler for this element.voidsetOntoggle(java.lang.Object ontoggle)Sets theontoggleevent handler for this element.voidsetOntransitioncancel(java.lang.Object ontransitioncancel)Sets theontransitioncancelevent handler for this element.voidsetOntransitionend(java.lang.Object ontransitionend)Sets theontransitionendevent handler for this element.voidsetOntransitionrun(java.lang.Object ontransitionrun)Sets theontransitionrunevent handler for this element.voidsetOntransitionstart(java.lang.Object ontransitionstart)Sets theontransitionstartevent handler for this element.voidsetOnvolumechange(java.lang.Object onvolumechange)Sets theonvolumechangeevent handler for this element.voidsetOnwaiting(java.lang.Object onwaiting)Sets theonwaitingevent handler for this element.voidsetOnwheel(java.lang.Object onwheel)Sets theonwheelevent handler for this element.voidsetOuterText(java.lang.Object value)Replaces the whole current node with the given text.voidsetSpellcheck(boolean spellcheck)Sets thespellcheckproperty.voidsetStyle(java.lang.String style)Sets the styles for this element.voidsetTabIndex(int tabIndex)Sets thetabIndexproperty.voidsetTextContent(java.lang.Object value)Replaces all child elements of this element with the supplied text value.voidsetTitle(java.lang.String newTitle)Sets the title of this element.protected voidsetVAlign(java.lang.Object vAlign, java.lang.String[] valid)Sets the value of thevAlignproperty.voidsetValue(java.lang.Object newValue)Sets the value of the JavaScript attributevalue.protected voidsetWidthOrHeight(java.lang.String attributeName, java.lang.String value, boolean allowNegativeValues)Sets the value of the specified attribute (width or height).java.lang.StringtoString()-
Methods inherited from class org.htmlunit.javascript.host.Element
after, append, before, closest, createAttributesObject, createEventHandler, getAttribute, getAttributeNodeNS, getAttributeNS, getAttributes, getChildElementCount, getChildren, getClassList, getClassName_js, getClientHeight, getClientLeft, getClientRects, getClientTop, getClientWidth, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getId, getInnerHTML, getInnerHTML, getLastElementChild, getNamespaceURI, getNextElementSibling, getOnbeforecopy, getOnbeforecut, getOnbeforepaste, getOnsearch, getOnwebkitfullscreenchange, getOnwebkitfullscreenerror, getOuterHTML, getParentElement, getPreviousElementSibling, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getTagName, hasAttribute, hasAttributeNS, hasAttributes, innerHTML, 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
-
Methods inherited from class org.htmlunit.javascript.host.dom.Node
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, normalize, prepend, removeChild, replaceChild, replaceChildren, replaceWith, setNodeValue
-
Methods inherited from class org.htmlunit.javascript.host.event.EventTarget
addEventListener, clearEventListenersContainer, dispatchEvent, executeEventLocally, fireEvent, getEventHandler, getEventListenersContainer, hasEventHandlers, isEventHandlerOnWindow, removeEventListener, setEventHandler
-
Methods inherited from class org.htmlunit.javascript.HtmlUnitScriptable
clone, equivalentValues, get, getBrowserVersion, getClassName, getDefaultValue, getPrototype, getScriptableFor, getStartingScope, getWindow, getWindow, getWithPreemption, has, hasInstance, initParentScope, makeScriptableFor, put, setClassName, setDomNode, setParentScope, setupPromise, setupRejectedPromise
-
Methods inherited from class org.htmlunit.corejs.javascript.ScriptableObject
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, 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
-
-
-
-
Method Detail
-
jsConstructor
public void jsConstructor()
JavaScript constructor.- Overrides:
jsConstructorin classElement
-
setDomNode
public void setDomNode(DomNode domNode)
Sets the DOM node that corresponds to this JavaScript object.- Overrides:
setDomNodein classElement- Parameters:
domNode- the DOM node
-
getForm
public HTMLFormElement getForm()
Returns the value of the JavaScriptformattribute.- Returns:
- the value of the JavaScript
formattribute
-
getTitle
public java.lang.String getTitle()
Returns the element title.- Returns:
- the title of this element
-
setTitle
public void setTitle(java.lang.String newTitle)
Sets the title of this element.- Parameters:
newTitle- the new title of this element
-
getAutofocus
public boolean getAutofocus()
Returns the element autofocus property.- Returns:
- the autofocus of this element
-
setAutofocus
public void setAutofocus(boolean newAutofocus)
Sets the autofocus of this element.- Parameters:
newAutofocus- the new autofocus of this element
-
isDisabled
public boolean isDisabled()
Returns true if this element is disabled.- Returns:
- true if this element is disabled
-
setDisabled
public void setDisabled(boolean disabled)
Sets whether or not to disable this element.- Parameters:
disabled- True if this is to be disabled
-
getLocalName
public java.lang.String getLocalName()
Returns the local name of this attribute.- Overrides:
getLocalNamein classElement- Returns:
- the local name of this attribute
-
setAttribute
public void setAttribute(java.lang.String name, java.lang.String value)Sets an attribute. See also the DOM reference- Overrides:
setAttributein classElement- Parameters:
name- Name of the attribute to setvalue- Value to set the attribute to
-
getAttributeNode
public HtmlUnitScriptable getAttributeNode(java.lang.String attributeName)
Gets the attribute node for the specified attribute.- Overrides:
getAttributeNodein classElement- Parameters:
attributeName- the name of the attribute to retrieve- Returns:
- the attribute node for the specified attribute
-
getInnerText
public java.lang.String getInnerText()
Gets the innerText attribute. (see https://html.spec.whatwg.org/multipage/dom.html#the-innertext-idl-attribute)- Returns:
- the contents of this node as text
-
setInnerText
public void setInnerText(java.lang.Object value)
Replaces all child elements of this element with the supplied text value. (see https://html.spec.whatwg.org/multipage/dom.html#the-innertext-idl-attribute)- Parameters:
value- the new value for the contents of this element
-
getOuterText
public java.lang.String getOuterText()
The outerText property of the HTMLElement interface returns the same value as HTMLElement.innerText. (see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/outerText)- Returns:
- the contents of this node as text
-
setOuterText
public void setOuterText(java.lang.Object value)
Replaces the whole current node with the given text. (see https://html.spec.whatwg.org/multipage/dom.html#the-innertext-idl-attribute)- Parameters:
value- the new value for the contents of this element
-
setTextContent
public void setTextContent(java.lang.Object value)
Replaces all child elements of this element with the supplied text value.- Overrides:
setTextContentin classNode- Parameters:
value- the new value for the contents of this element
-
getOffsetHeight
public int getOffsetHeight()
Returns this element'soffsetHeight, 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.- Returns:
- this element's
offsetHeight - See Also:
- MSDN Documentation, Element Dimensions
-
getOffsetWidth
public int getOffsetWidth()
Returns this element'soffsetWidth, 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.- Returns:
- this element's
offsetWidth - See Also:
- MSDN Documentation, Element Dimensions
-
isAncestorOfEventTarget
protected boolean isAncestorOfEventTarget(MouseEvent event)
Returnstrueif this element's node is an ancestor of the specified event's target node.- Parameters:
event- the event whose target node is to be checked- Returns:
trueif this element's node is an ancestor of the specified event's target node
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getParentHTMLElement
public HTMLElement getParentHTMLElement()
Gets the first ancestor instance ofHTMLElement. It is mostly identical toNode.getParent()except that it skips XML nodes.- Returns:
- the parent HTML element
- See Also:
Node.getParent()
-
getDomNodeOrDie
public HtmlElement getDomNodeOrDie()
Returns the DOM node that corresponds to this JavaScript object or throw an exception if one cannot be found.- Overrides:
getDomNodeOrDiein classElement- Returns:
- the DOM node
-
getDomNodeOrNull
public HtmlElement getDomNodeOrNull()
Returns the DOM node that corresponds to this JavaScript object or null if a node hasn't been set.- Overrides:
getDomNodeOrNullin classHtmlUnitScriptable- Returns:
- the DOM node or null
-
blur
public void blur()
Remove focus from this element.
-
focus
public void focus()
Sets the focus to this element.
-
getNodeName
public java.lang.String getNodeName()
Gets the JavaScript propertynodeNamefor the current node.- Overrides:
getNodeNamein classNode- Returns:
- the node name
-
getPrefix
public java.lang.String getPrefix()
Returns the namespace prefix.
-
click
public void click() throws java.io.IOExceptionClick this element. This simulates the action of the user clicking with the mouse.- Throws:
java.io.IOException- if this click triggers a page load that encounters problems
-
isSpellcheck
public boolean isSpellcheck()
Returns thespellcheckproperty.- Returns:
- the
spellcheckproperty
-
setSpellcheck
public void setSpellcheck(boolean spellcheck)
Sets thespellcheckproperty.- Parameters:
spellcheck- thespellcheckproperty
-
getLang
public java.lang.String getLang()
Returns thelangproperty.- Returns:
- the
langproperty
-
setLang
public void setLang(java.lang.String lang)
Sets thelangproperty.- Parameters:
lang- thelangproperty
-
getDir
public java.lang.String getDir()
Returns thedirproperty.- Returns:
- the
dirproperty
-
setDir
public void setDir(java.lang.String dir)
Sets thedirproperty.- Parameters:
dir- thedirproperty
-
getTabIndex
public int getTabIndex()
Returns the value of the tabIndex attribute.- Returns:
- the value of the tabIndex attribute
-
setTabIndex
public void setTabIndex(int tabIndex)
Sets thetabIndexproperty.- Parameters:
tabIndex- thetabIndexproperty
-
getAccessKey
public java.lang.String getAccessKey()
Returns theaccessKeyproperty.- Returns:
- the
accessKeyproperty
-
setAccessKey
public void setAccessKey(java.lang.String accessKey)
Sets theaccessKeyproperty.- Parameters:
accessKey- theaccessKeyproperty
-
getWidthOrHeight
protected java.lang.String getWidthOrHeight(java.lang.String attributeName, java.lang.Boolean returnNegativeValues)Returns the value of the specified attribute (width or height).- Parameters:
attributeName- the name of the attribute to return ("width"or"height")returnNegativeValues- iftrue, negative values are returned; iffalse, this method returns an empty string in lieu of negative values; ifnull, this method returns0in lieu of negative values- Returns:
- the value of the specified attribute (width or height)
-
setWidthOrHeight
protected void setWidthOrHeight(java.lang.String attributeName, java.lang.String value, boolean allowNegativeValues)Sets the value of the specified attribute (width or height).- Parameters:
attributeName- the name of the attribute to set ("width"or"height")value- the value of the specified attribute (width or height)allowNegativeValues- iftrue, negative values will be stored; iffalse, negative values cause an exception to be thrown;
this check/conversion is only done if the feature JS_WIDTH_HEIGHT_ACCEPTS_ARBITRARY_VALUES is set for the simulated browser
-
setColorAttribute
protected void setColorAttribute(java.lang.String name, java.lang.String value)Sets the specified color attribute to the specified value.- Parameters:
name- the color attribute's namevalue- the color attribute's value
-
getAlign
protected java.lang.String getAlign(boolean returnInvalidValues)
Returns the value of thealignproperty.- Parameters:
returnInvalidValues- iftrue, this method will return any value, including technically invalid values; iffalse, this method will return an empty string instead of invalid values- Returns:
- the value of the
alignproperty
-
setAlign
protected void setAlign(java.lang.String align, boolean ignoreIfNoError)Sets the value of thealignproperty.- Parameters:
align- the value of thealignpropertyignoreIfNoError- iftrue, the invocation will be a no-op if it does not trigger an error (i.e., it will not actually set the align attribute)
-
getVAlign
protected java.lang.String getVAlign(java.lang.String[] valid, java.lang.String defaultValue)Returns the value of thevAlignproperty.- Parameters:
valid- the valid values; ifnull, any value is validdefaultValue- the default value to use, if necessary- Returns:
- the value of the
vAlignproperty
-
setVAlign
protected void setVAlign(java.lang.Object vAlign, java.lang.String[] valid)Sets the value of thevAlignproperty.- Parameters:
vAlign- the value of thevAlignpropertyvalid- the valid values; ifnull, any value is valid
-
getCh
protected java.lang.String getCh()
Returns the value of thechproperty.- Returns:
- the value of the
chproperty
-
setCh
protected void setCh(java.lang.String ch)
Sets the value of thechproperty.- Parameters:
ch- the value of thechproperty
-
getChOff
protected java.lang.String getChOff()
Returns the value of thechOffproperty.- Returns:
- the value of the
chOffproperty
-
setChOff
protected void setChOff(java.lang.String chOff)
Sets the value of thechOffproperty.- Parameters:
chOff- the value of thechOffproperty
-
getOffsetLeft
public int getOffsetLeft()
Returns this element'soffsetLeft, which is the calculated left position of this element relative to theoffsetParent.- Returns:
- this element's
offsetLeft - See Also:
- MSDN Documentation, Element Dimensions, Reverse Engineering by Anne van Kesteren
-
getPosX
public int getPosX()
Returns this element's X position.- Returns:
- this element's X position
-
getPosY
public int getPosY()
Returns this element's Y position.- Returns:
- this element's Y position
-
getOffsetParent
private HTMLElement getOffsetParent()
Gets the offset parent ornullif this is not anHTMLElement.- Returns:
- the offset parent or
null
-
getOffsetTop
public int getOffsetTop()
Returns this element'soffsetTop, which is the calculated top position of this element relative to theoffsetParent.- Returns:
- this element's
offsetTop - See Also:
- MSDN Documentation, Element Dimensions, Reverse Engineering by Anne van Kesteren
-
getOffsetParent_js
public java.lang.Object getOffsetParent_js()
Returns this element'soffsetParent. TheoffsetLeftandoffsetTopattributes are relative to theoffsetParent.- Returns:
- this element's
offsetParent. This may beundefinedwhen this node is not attached ornullforbody. - See Also:
- MSDN Documentation, Gecko DOM Reference, Element Dimensions, Box Model, Reverse Engineering by Anne van Kesteren
-
getOffsetParentInternal
private java.lang.Object getOffsetParentInternal(boolean returnNullIfFixed)
-
getBoundingClientRect
public ClientRect getBoundingClientRect()
Retrieves an object that specifies the bounds of a collection of TextRectangle objects.- Overrides:
getBoundingClientRectin classElement- Returns:
- an object that specifies the bounds of a collection of TextRectangle objects
- See Also:
- MSDN doc
-
getDataset
public DOMStringMap getDataset()
Returns thedatasetattribute.- Returns:
- the
datasetattribute
-
isEndTagForbidden
protected boolean isEndTagForbidden()
Returns whether the end tag is forbidden or not.- Overrides:
isEndTagForbiddenin classElement- Returns:
- whether the end tag is forbidden or not
- See Also:
- HTML 4 specs
-
isLowerCaseInOuterHtml
protected boolean isLowerCaseInOuterHtml()
- Returns:
- whether the tag is lower case in .outerHTML/.innerHTML
-
setOnchange
public void setOnchange(java.lang.Object onchange)
Sets theonchangeevent handler for this element.- Parameters:
onchange- theonchangeevent handler for this element
-
getOnchange
public org.htmlunit.corejs.javascript.Function getOnchange()
Returns theonchangeevent handler for this element.- Returns:
- the
onchangeevent handler for this element
-
getOnsubmit
public java.lang.Object getOnsubmit()
Returns theonsubmitevent handler for this element.- Returns:
- the
onsubmitevent handler for this element
-
setOnsubmit
public void setOnsubmit(java.lang.Object onsubmit)
Sets theonsubmitevent handler for this element.- Parameters:
onsubmit- theonsubmitevent handler for this element
-
getOnwheel
public org.htmlunit.corejs.javascript.Function getOnwheel()
Returns theonwheelevent handler for this element.- Overrides:
getOnwheelin classElement- Returns:
- the
onwheelevent handler for this element
-
setOnwheel
public void setOnwheel(java.lang.Object onwheel)
Sets theonwheelevent handler for this element.- Overrides:
setOnwheelin classElement- Parameters:
onwheel- theonwheelevent handler for this element
-
getContentEditable
public java.lang.String getContentEditable()
Returns thecontentEditableproperty.- Returns:
- the
contentEditableproperty
-
setContentEditable
public void setContentEditable(java.lang.String contentEditable)
Sets thecontentEditableproperty.- Parameters:
contentEditable- thecontentEditableproperty to set
-
isIsContentEditable
public boolean isIsContentEditable()
Returns theisContentEditableproperty.- Returns:
- the
isContentEditableproperty
-
getStyle
public CSSStyleDeclaration getStyle()
Returns the style object for this element.
-
setStyle
public void setStyle(java.lang.String style)
Sets the styles for this element.
-
setOnclick
public void setOnclick(java.lang.Object handler)
Sets theonclickevent handler for this element.- Parameters:
handler- theonclickevent handler for this element
-
getOnclick
public java.lang.Object getOnclick()
Returns theonclickevent handler for this element.- Returns:
- the
onclickevent handler for this element
-
setOndblclick
public void setOndblclick(java.lang.Object handler)
Sets theondblclickevent handler for this element.- Parameters:
handler- theondblclickevent handler for this element
-
getOndblclick
public java.lang.Object getOndblclick()
Returns theondblclickevent handler for this element.- Returns:
- the
ondblclickevent handler for this element
-
setOnblur
public void setOnblur(java.lang.Object handler)
Sets theonblurevent handler for this element.- Parameters:
handler- theonblurevent handler for this element
-
getOnblur
public java.lang.Object getOnblur()
Returns theonblurevent handler for this element.- Returns:
- the
onblurevent handler for this element
-
setOnfocus
public void setOnfocus(java.lang.Object handler)
Sets theonfocusevent handler for this element.- Parameters:
handler- theonfocusevent handler for this element
-
getOnfocus
public java.lang.Object getOnfocus()
Returns theonfocusevent handler for this element.- Returns:
- the
onfocusevent handler for this element
-
setOnkeydown
public void setOnkeydown(java.lang.Object handler)
Sets theonkeydownevent handler for this element.- Parameters:
handler- theonkeydownevent handler for this element
-
getOnkeydown
public java.lang.Object getOnkeydown()
Returns theonkeydownevent handler for this element.- Returns:
- the
onkeydownevent handler for this element
-
setOnkeypress
public void setOnkeypress(java.lang.Object handler)
Sets theonkeypressevent handler for this element.- Parameters:
handler- theonkeypressevent handler for this element
-
getOnkeypress
public java.lang.Object getOnkeypress()
Returns theonkeypressevent handler for this element.- Returns:
- the
onkeypressevent handler for this element
-
setOnkeyup
public void setOnkeyup(java.lang.Object handler)
Sets theonkeyupevent handler for this element.- Parameters:
handler- theonkeyupevent handler for this element
-
getOnkeyup
public java.lang.Object getOnkeyup()
Returns theonkeyupevent handler for this element.- Returns:
- the
onkeyupevent handler for this element
-
setOnmousedown
public void setOnmousedown(java.lang.Object handler)
Sets theonmousedownevent handler for this element.- Parameters:
handler- theonmousedownevent handler for this element
-
getOnmousedown
public java.lang.Object getOnmousedown()
Returns theonmousedownevent handler for this element.- Returns:
- the
onmousedownevent handler for this element
-
setOnmousemove
public void setOnmousemove(java.lang.Object handler)
Sets theonmousemoveevent handler for this element.- Parameters:
handler- theonmousemoveevent handler for this element
-
getOnmousemove
public java.lang.Object getOnmousemove()
Returns theonmousemoveevent handler for this element.- Returns:
- the
onmousemoveevent handler for this element
-
setOnmouseout
public void setOnmouseout(java.lang.Object handler)
Sets theonmouseoutevent handler for this element.- Parameters:
handler- theonmouseoutevent handler for this element
-
getOnmouseout
public java.lang.Object getOnmouseout()
Returns theonmouseoutevent handler for this element.- Returns:
- the
onmouseoutevent handler for this element
-
setOnmouseover
public void setOnmouseover(java.lang.Object handler)
Sets theonmouseoverevent handler for this element.- Parameters:
handler- theonmouseoverevent handler for this element
-
getOnmouseover
public java.lang.Object getOnmouseover()
Returns theonmouseoverevent handler for this element.- Returns:
- the
onmouseoverevent handler for this element
-
setOnmouseup
public void setOnmouseup(java.lang.Object handler)
Sets theonmouseupevent handler for this element.- Parameters:
handler- theonmouseupevent handler for this element
-
getOnmouseup
public java.lang.Object getOnmouseup()
Returns theonmouseupevent handler for this element.- Returns:
- the
onmouseupevent handler for this element
-
setOncontextmenu
public void setOncontextmenu(java.lang.Object handler)
Sets theoncontextmenuevent handler for this element.- Parameters:
handler- theoncontextmenuevent handler for this element
-
getOncontextmenu
public java.lang.Object getOncontextmenu()
Returns theoncontextmenuevent handler for this element.- Returns:
- the
oncontextmenuevent handler for this element
-
setOnresize
public void setOnresize(java.lang.Object handler)
Sets theonresizeevent handler for this element.- Parameters:
handler- theonresizeevent handler for this element
-
getOnresize
public org.htmlunit.corejs.javascript.Function getOnresize()
Returns theonresizeevent handler for this element.- Returns:
- the
onresizeevent handler for this element
-
setOnerror
public void setOnerror(java.lang.Object handler)
Sets theonerrorevent handler for this element.- Parameters:
handler- theonerrorevent handler for this element
-
getOnerror
public java.lang.Object getOnerror()
Returns theonerrorevent handler for this element.- Returns:
- the
onerrorevent handler for this element
-
getOninput
public org.htmlunit.corejs.javascript.Function getOninput()
Returns theoninputevent handler for this element.- Returns:
- the
oninputevent handler for this element
-
setOninput
public void setOninput(java.lang.Object oninput)
Sets theoninputevent handler for this element.- Parameters:
oninput- theoninputevent handler for this element
-
isHidden
public boolean isHidden()
Returns thehiddenproperty.- Returns:
- the
hiddenproperty
-
setHidden
public void setHidden(boolean hidden)
Sets thehiddenproperty.- Parameters:
hidden- thehiddenvalue
-
getOnabort
public org.htmlunit.corejs.javascript.Function getOnabort()
Returns theonabortevent handler for this element.- Returns:
- the
onabortevent handler for this element
-
setOnabort
public void setOnabort(java.lang.Object onabort)
Sets theonabortevent handler for this element.- Parameters:
onabort- theonabortevent handler for this element
-
getOnauxclick
public org.htmlunit.corejs.javascript.Function getOnauxclick()
Returns theonauxclickevent handler for this element.- Returns:
- the
onauxclickevent handler for this element
-
setOnauxclick
public void setOnauxclick(java.lang.Object onauxclick)
Sets theonauxclickevent handler for this element.- Parameters:
onauxclick- theonauxclickevent handler for this element
-
getOncancel
public org.htmlunit.corejs.javascript.Function getOncancel()
Returns theoncancelevent handler for this element.- Returns:
- the
oncancelevent handler for this element
-
setOncancel
public void setOncancel(java.lang.Object oncancel)
Sets theoncancelevent handler for this element.- Parameters:
oncancel- theoncancelevent handler for this element
-
getOncanplay
public org.htmlunit.corejs.javascript.Function getOncanplay()
Returns theoncanplayevent handler for this element.- Returns:
- the
oncanplayevent handler for this element
-
setOncanplay
public void setOncanplay(java.lang.Object oncanplay)
Sets theoncanplayevent handler for this element.- Parameters:
oncanplay- theoncanplayevent handler for this element
-
getOncanplaythrough
public org.htmlunit.corejs.javascript.Function getOncanplaythrough()
Returns theoncanplaythroughevent handler for this element.- Returns:
- the
oncanplaythroughevent handler for this element
-
setOncanplaythrough
public void setOncanplaythrough(java.lang.Object oncanplaythrough)
Sets theoncanplaythroughevent handler for this element.- Parameters:
oncanplaythrough- theoncanplaythroughevent handler for this element
-
getOnclose
public org.htmlunit.corejs.javascript.Function getOnclose()
Returns theoncloseevent handler for this element.- Returns:
- the
oncloseevent handler for this element
-
setOnclose
public void setOnclose(java.lang.Object onclose)
Sets theoncloseevent handler for this element.- Parameters:
onclose- theoncloseevent handler for this element
-
getOncuechange
public org.htmlunit.corejs.javascript.Function getOncuechange()
Returns theoncuechangeevent handler for this element.- Returns:
- the
oncuechangeevent handler for this element
-
setOncuechange
public void setOncuechange(java.lang.Object oncuechange)
Sets theoncuechangeevent handler for this element.- Parameters:
oncuechange- theoncuechangeevent handler for this element
-
getOndrag
public org.htmlunit.corejs.javascript.Function getOndrag()
Returns theondragevent handler for this element.- Returns:
- the
ondragevent handler for this element
-
setOndrag
public void setOndrag(java.lang.Object ondrag)
Sets theondragevent handler for this element.- Parameters:
ondrag- theondragevent handler for this element
-
getOndragend
public org.htmlunit.corejs.javascript.Function getOndragend()
Returns theondragendevent handler for this element.- Returns:
- the
ondragendevent handler for this element
-
setOndragend
public void setOndragend(java.lang.Object ondragend)
Sets theondragendevent handler for this element.- Parameters:
ondragend- theondragendevent handler for this element
-
getOndragenter
public org.htmlunit.corejs.javascript.Function getOndragenter()
Returns theondragenterevent handler for this element.- Returns:
- the
ondragenterevent handler for this element
-
setOndragenter
public void setOndragenter(java.lang.Object ondragenter)
Sets theondragenterevent handler for this element.- Parameters:
ondragenter- theondragenterevent handler for this element
-
getOndragleave
public org.htmlunit.corejs.javascript.Function getOndragleave()
Returns theondragleaveevent handler for this element.- Returns:
- the
ondragleaveevent handler for this element
-
setOndragleave
public void setOndragleave(java.lang.Object ondragleave)
Sets theondragleaveevent handler for this element.- Parameters:
ondragleave- theondragleaveevent handler for this element
-
getOndragover
public org.htmlunit.corejs.javascript.Function getOndragover()
Returns theondragoverevent handler for this element.- Returns:
- the
ondragoverevent handler for this element
-
setOndragover
public void setOndragover(java.lang.Object ondragover)
Sets theondragoverevent handler for this element.- Parameters:
ondragover- theondragoverevent handler for this element
-
getOndragstart
public org.htmlunit.corejs.javascript.Function getOndragstart()
Returns theondragstartevent handler for this element.- Returns:
- the
ondragstartevent handler for this element
-
setOndragstart
public void setOndragstart(java.lang.Object ondragstart)
Sets theondragstartevent handler for this element.- Parameters:
ondragstart- theondragstartevent handler for this element
-
getOndrop
public org.htmlunit.corejs.javascript.Function getOndrop()
Returns theondropevent handler for this element.- Returns:
- the
ondropevent handler for this element
-
setOndrop
public void setOndrop(java.lang.Object ondrop)
Sets theondropevent handler for this element.- Parameters:
ondrop- theondropevent handler for this element
-
getOndurationchange
public org.htmlunit.corejs.javascript.Function getOndurationchange()
Returns theondurationchangeevent handler for this element.- Returns:
- the
ondurationchangeevent handler for this element
-
setOndurationchange
public void setOndurationchange(java.lang.Object ondurationchange)
Sets theondurationchangeevent handler for this element.- Parameters:
ondurationchange- theondurationchangeevent handler for this element
-
getOnemptied
public org.htmlunit.corejs.javascript.Function getOnemptied()
Returns theonemptiedevent handler for this element.- Returns:
- the
onemptiedevent handler for this element
-
setOnemptied
public void setOnemptied(java.lang.Object onemptied)
Sets theonemptiedevent handler for this element.- Parameters:
onemptied- theonemptiedevent handler for this element
-
getOnended
public org.htmlunit.corejs.javascript.Function getOnended()
Returns theonendedevent handler for this element.- Returns:
- the
onendedevent handler for this element
-
setOnended
public void setOnended(java.lang.Object onended)
Sets theonendedevent handler for this element.- Parameters:
onended- theonendedevent handler for this element
-
getOngotpointercapture
public org.htmlunit.corejs.javascript.Function getOngotpointercapture()
Returns theongotpointercaptureevent handler for this element.- Returns:
- the
ongotpointercaptureevent handler for this element
-
setOngotpointercapture
public void setOngotpointercapture(java.lang.Object ongotpointercapture)
Sets theongotpointercaptureevent handler for this element.- Parameters:
ongotpointercapture- theongotpointercaptureevent handler for this element
-
getOninvalid
public org.htmlunit.corejs.javascript.Function getOninvalid()
Returns theoninvalidevent handler for this element.- Returns:
- the
oninvalidevent handler for this element
-
setOninvalid
public void setOninvalid(java.lang.Object oninvalid)
Sets theoninvalidevent handler for this element.- Parameters:
oninvalid- theoninvalidevent handler for this element
-
getOnload
public java.lang.Object getOnload()
Returns theonloadevent handler for this element.- Returns:
- the
onloadevent handler for this element
-
setOnload
public void setOnload(java.lang.Object onload)
Sets theonloadevent handler for this element.- Parameters:
onload- theonloadevent handler for this element
-
getOnloadeddata
public org.htmlunit.corejs.javascript.Function getOnloadeddata()
Returns theonloadeddataevent handler for this element.- Returns:
- the
onloadeddataevent handler for this element
-
setOnloadeddata
public void setOnloadeddata(java.lang.Object onloadeddata)
Sets theonloadeddataevent handler for this element.- Parameters:
onloadeddata- theonloadeddataevent handler for this element
-
getOnloadedmetadata
public org.htmlunit.corejs.javascript.Function getOnloadedmetadata()
Returns theonloadedmetadataevent handler for this element.- Returns:
- the
onloadedmetadataevent handler for this element
-
setOnloadedmetadata
public void setOnloadedmetadata(java.lang.Object onloadedmetadata)
Sets theonloadedmetadataevent handler for this element.- Parameters:
onloadedmetadata- theonloadedmetadataevent handler for this element
-
getOnloadstart
public org.htmlunit.corejs.javascript.Function getOnloadstart()
Returns theonloadstartevent handler for this element.- Returns:
- the
onloadstartevent handler for this element
-
setOnloadstart
public void setOnloadstart(java.lang.Object onloadstart)
Sets theonloadstartevent handler for this element.- Parameters:
onloadstart- theonloadstartevent handler for this element
-
getOnlostpointercapture
public org.htmlunit.corejs.javascript.Function getOnlostpointercapture()
Returns theonlostpointercaptureevent handler for this element.- Returns:
- the
onlostpointercaptureevent handler for this element
-
setOnlostpointercapture
public void setOnlostpointercapture(java.lang.Object onlostpointercapture)
Sets theonlostpointercaptureevent handler for this element.- Parameters:
onlostpointercapture- theonlostpointercaptureevent handler for this element
-
getOnmouseenter
public org.htmlunit.corejs.javascript.Function getOnmouseenter()
Returns theonmouseenterevent handler for this element.- Returns:
- the
onmouseenterevent handler for this element
-
setOnmouseenter
public void setOnmouseenter(java.lang.Object onmouseenter)
Sets theonmouseenterevent handler for this element.- Parameters:
onmouseenter- theonmouseenterevent handler for this element
-
getOnmouseleave
public org.htmlunit.corejs.javascript.Function getOnmouseleave()
Returns theonmouseleaveevent handler for this element.- Returns:
- the
onmouseleaveevent handler for this element
-
setOnmouseleave
public void setOnmouseleave(java.lang.Object onmouseleave)
Sets theonmouseleaveevent handler for this element.- Parameters:
onmouseleave- theonmouseleaveevent handler for this element
-
getOnmousewheel
public org.htmlunit.corejs.javascript.Function getOnmousewheel()
Returns theonmousewheelevent handler for this element.- Returns:
- the
onmousewheelevent handler for this element
-
setOnmousewheel
public void setOnmousewheel(java.lang.Object onmousewheel)
Sets theonmousewheelevent handler for this element.- Parameters:
onmousewheel- theonmousewheelevent handler for this element
-
getOnpause
public org.htmlunit.corejs.javascript.Function getOnpause()
Returns theonpauseevent handler for this element.- Returns:
- the
onpauseevent handler for this element
-
setOnpause
public void setOnpause(java.lang.Object onpause)
Sets theonpauseevent handler for this element.- Parameters:
onpause- theonpauseevent handler for this element
-
getOnplay
public org.htmlunit.corejs.javascript.Function getOnplay()
Returns theonplayevent handler for this element.- Returns:
- the
onplayevent handler for this element
-
setOnplay
public void setOnplay(java.lang.Object onplay)
Sets theonplayevent handler for this element.- Parameters:
onplay- theonplayevent handler for this element
-
getOnplaying
public org.htmlunit.corejs.javascript.Function getOnplaying()
Returns theonplayingevent handler for this element.- Returns:
- the
onplayingevent handler for this element
-
setOnplaying
public void setOnplaying(java.lang.Object onplaying)
Sets theonplayingevent handler for this element.- Parameters:
onplaying- theonplayingevent handler for this element
-
getOnpointercancel
public org.htmlunit.corejs.javascript.Function getOnpointercancel()
Returns theonpointercancelevent handler for this element.- Returns:
- the
onpointercancelevent handler for this element
-
setOnpointercancel
public void setOnpointercancel(java.lang.Object onpointercancel)
Sets theonpointercancelevent handler for this element.- Parameters:
onpointercancel- theonpointercancelevent handler for this element
-
getOnpointerdown
public org.htmlunit.corejs.javascript.Function getOnpointerdown()
Returns theonpointerdownevent handler for this element.- Returns:
- the
onpointerdownevent handler for this element
-
setOnpointerdown
public void setOnpointerdown(java.lang.Object onpointerdown)
Sets theonpointerdownevent handler for this element.- Parameters:
onpointerdown- theonpointerdownevent handler for this element
-
getOnpointerenter
public org.htmlunit.corejs.javascript.Function getOnpointerenter()
Returns theonpointerenterevent handler for this element.- Returns:
- the
onpointerenterevent handler for this element
-
setOnpointerenter
public void setOnpointerenter(java.lang.Object onpointerenter)
Sets theonpointerenterevent handler for this element.- Parameters:
onpointerenter- theonpointerenterevent handler for this element
-
getOnpointerleave
public org.htmlunit.corejs.javascript.Function getOnpointerleave()
Returns theonpointerleaveevent handler for this element.- Returns:
- the
onpointerleaveevent handler for this element
-
setOnpointerleave
public void setOnpointerleave(java.lang.Object onpointerleave)
Sets theonpointerleaveevent handler for this element.- Parameters:
onpointerleave- theonpointerleaveevent handler for this element
-
getOnpointermove
public org.htmlunit.corejs.javascript.Function getOnpointermove()
Returns theonpointermoveevent handler for this element.- Returns:
- the
onpointermoveevent handler for this element
-
setOnpointermove
public void setOnpointermove(java.lang.Object onpointermove)
Sets theonpointermoveevent handler for this element.- Parameters:
onpointermove- theonpointermoveevent handler for this element
-
getOnpointerout
public org.htmlunit.corejs.javascript.Function getOnpointerout()
Returns theonpointeroutevent handler for this element.- Returns:
- the
onpointeroutevent handler for this element
-
setOnpointerout
public void setOnpointerout(java.lang.Object onpointerout)
Sets theonpointeroutevent handler for this element.- Parameters:
onpointerout- theonpointeroutevent handler for this element
-
getOnpointerover
public org.htmlunit.corejs.javascript.Function getOnpointerover()
Returns theonpointeroverevent handler for this element.- Returns:
- the
onpointeroverevent handler for this element
-
setOnpointerover
public void setOnpointerover(java.lang.Object onpointerover)
Sets theonpointeroverevent handler for this element.- Parameters:
onpointerover- theonpointeroverevent handler for this element
-
getOnpointerup
public org.htmlunit.corejs.javascript.Function getOnpointerup()
Returns theonpointerupevent handler for this element.- Returns:
- the
onpointerupevent handler for this element
-
setOnpointerup
public void setOnpointerup(java.lang.Object onpointerup)
Sets theonpointerupevent handler for this element.- Parameters:
onpointerup- theonpointerupevent handler for this element
-
getOnprogress
public org.htmlunit.corejs.javascript.Function getOnprogress()
Returns theonprogressevent handler for this element.- Returns:
- the
onprogressevent handler for this element
-
setOnprogress
public void setOnprogress(java.lang.Object onprogress)
Sets theonprogressevent handler for this element.- Parameters:
onprogress- theonprogressevent handler for this element
-
getOnratechange
public org.htmlunit.corejs.javascript.Function getOnratechange()
Returns theonratechangeevent handler for this element.- Returns:
- the
onratechangeevent handler for this element
-
setOnratechange
public void setOnratechange(java.lang.Object onratechange)
Sets theonratechangeevent handler for this element.- Parameters:
onratechange- theonratechangeevent handler for this element
-
getOnreset
public org.htmlunit.corejs.javascript.Function getOnreset()
Returns theonresetevent handler for this element.- Returns:
- the
onresetevent handler for this element
-
setOnreset
public void setOnreset(java.lang.Object onreset)
Sets theonresetevent handler for this element.- Parameters:
onreset- theonresetevent handler for this element
-
getOnscroll
public org.htmlunit.corejs.javascript.Function getOnscroll()
Returns theonscrollevent handler for this element.- Returns:
- the
onscrollevent handler for this element
-
setOnscroll
public void setOnscroll(java.lang.Object onscroll)
Sets theonscrollevent handler for this element.- Parameters:
onscroll- theonscrollevent handler for this element
-
getOnscrollend
public org.htmlunit.corejs.javascript.Function getOnscrollend()
Returns theonscrollendevent handler for this element.- Returns:
- the
onscrollendevent handler for this element
-
setOnscrollend
public void setOnscrollend(java.lang.Object onscrollend)
Sets theonscrollendevent handler for this element.- Parameters:
onscrollend- theonscrollendevent handler for this element
-
getOnseeked
public org.htmlunit.corejs.javascript.Function getOnseeked()
Returns theonseekedevent handler for this element.- Returns:
- the
onseekedevent handler for this element
-
setOnseeked
public void setOnseeked(java.lang.Object onseeked)
Sets theonseekedevent handler for this element.- Parameters:
onseeked- theonseekedevent handler for this element
-
getOnseeking
public org.htmlunit.corejs.javascript.Function getOnseeking()
Returns theonseekingevent handler for this element.- Returns:
- the
onseekingevent handler for this element
-
setOnseeking
public void setOnseeking(java.lang.Object onseeking)
Sets theonseekingevent handler for this element.- Parameters:
onseeking- theonseekingevent handler for this element
-
getOnselect
public org.htmlunit.corejs.javascript.Function getOnselect()
Returns theonselectevent handler for this element.- Returns:
- the
onselectevent handler for this element
-
setOnselect
public void setOnselect(java.lang.Object onselect)
Sets theonselectevent handler for this element.- Parameters:
onselect- theonselectevent handler for this element
-
getOnstalled
public org.htmlunit.corejs.javascript.Function getOnstalled()
Returns theonstalledevent handler for this element.- Returns:
- the
onstalledevent handler for this element
-
setOnstalled
public void setOnstalled(java.lang.Object onstalled)
Sets theonstalledevent handler for this element.- Parameters:
onstalled- theonstalledevent handler for this element
-
getOnsuspend
public org.htmlunit.corejs.javascript.Function getOnsuspend()
Returns theonsuspendevent handler for this element.- Returns:
- the
onsuspendevent handler for this element
-
setOnsuspend
public void setOnsuspend(java.lang.Object onsuspend)
Sets theonsuspendevent handler for this element.- Parameters:
onsuspend- theonsuspendevent handler for this element
-
getOntimeupdate
public org.htmlunit.corejs.javascript.Function getOntimeupdate()
Returns theontimeupdateevent handler for this element.- Returns:
- the
ontimeupdateevent handler for this element
-
setOntimeupdate
public void setOntimeupdate(java.lang.Object ontimeupdate)
Sets theontimeupdateevent handler for this element.- Parameters:
ontimeupdate- theontimeupdateevent handler for this element
-
getOntoggle
public org.htmlunit.corejs.javascript.Function getOntoggle()
Returns theontoggleevent handler for this element.- Returns:
- the
ontoggleevent handler for this element
-
setOntoggle
public void setOntoggle(java.lang.Object ontoggle)
Sets theontoggleevent handler for this element.- Parameters:
ontoggle- theontoggleevent handler for this element
-
getOnvolumechange
public org.htmlunit.corejs.javascript.Function getOnvolumechange()
Returns theonvolumechangeevent handler for this element.- Returns:
- the
onvolumechangeevent handler for this element
-
setOnvolumechange
public void setOnvolumechange(java.lang.Object onvolumechange)
Sets theonvolumechangeevent handler for this element.- Parameters:
onvolumechange- theonvolumechangeevent handler for this element
-
getOnwaiting
public org.htmlunit.corejs.javascript.Function getOnwaiting()
Returns theonwaitingevent handler for this element.- Returns:
- the
onwaitingevent handler for this element
-
setOnwaiting
public void setOnwaiting(java.lang.Object onwaiting)
Sets theonwaitingevent handler for this element.- Parameters:
onwaiting- theonwaitingevent handler for this element
-
getOncopy
public org.htmlunit.corejs.javascript.Function getOncopy()
Returns theoncopyevent handler for this element.- Returns:
- the
oncopyevent handler for this element
-
setOncopy
public void setOncopy(java.lang.Object oncopy)
Sets theoncopyevent handler for this element.- Parameters:
oncopy- theoncopyevent handler for this element
-
getOncut
public org.htmlunit.corejs.javascript.Function getOncut()
Returns theoncutevent handler for this element.- Returns:
- the
oncutevent handler for this element
-
setOncut
public void setOncut(java.lang.Object oncut)
Sets theoncutevent handler for this element.- Parameters:
oncut- theoncutevent handler for this element
-
getOnpaste
public org.htmlunit.corejs.javascript.Function getOnpaste()
Returns theonpasteevent handler for this element.- Returns:
- the
onpasteevent handler for this element
-
setOnpaste
public void setOnpaste(java.lang.Object onpaste)
Sets theonpasteevent handler for this element.- Parameters:
onpaste- theonpasteevent handler for this element
-
getOnmozfullscreenchange
public org.htmlunit.corejs.javascript.Function getOnmozfullscreenchange()
Returns theonmozfullscreenchangeevent handler for this element.- Returns:
- the
onmozfullscreenchangeevent handler for this element
-
setOnmozfullscreenchange
public void setOnmozfullscreenchange(java.lang.Object onmozfullscreenchange)
Sets theonmozfullscreenchangeevent handler for this element.- Parameters:
onmozfullscreenchange- theonmozfullscreenchangeevent handler for this element
-
getOnmozfullscreenerror
public org.htmlunit.corejs.javascript.Function getOnmozfullscreenerror()
Returns theonmozfullscreenerrorevent handler for this element.- Returns:
- the
onmozfullscreenerrorevent handler for this element
-
setOnmozfullscreenerror
public void setOnmozfullscreenerror(java.lang.Object onmozfullscreenerror)
Sets theonmozfullscreenerrorevent handler for this element.- Parameters:
onmozfullscreenerror- theonmozfullscreenerrorevent handler for this element
-
getOnselectstart
public org.htmlunit.corejs.javascript.Function getOnselectstart()
Returns theonselectstartevent handler for this element.- Returns:
- the
onselectstartevent handler for this element
-
setOnselectstart
public void setOnselectstart(java.lang.Object onselectstart)
Sets theonselectstartevent handler for this element.- Parameters:
onselectstart- theonselectstartevent handler for this element
-
getName
public java.lang.String getName()
Returns the value of the JavaScript attributename.- Returns:
- the value of this attribute
-
setName
public void setName(java.lang.String newName)
Sets the value of the JavaScript attributename.- Parameters:
newName- the new name
-
getValue
public java.lang.Object getValue()
Returns the value of the JavaScript attributevalue.- Returns:
- the value of this attribute
-
setValue
public void setValue(java.lang.Object newValue)
Sets the value of the JavaScript attributevalue.- Parameters:
newValue- the new value
-
getEnterKeyHint
public java.lang.String getEnterKeyHint()
Returns the value of the JavaScript attributeenterKeyHint.- Returns:
- the value of this attribute
-
setEnterKeyHint
public void setEnterKeyHint(java.lang.Object enterKeyHint)
Sets the value of the JavaScript attributeenterKeyHint.- Parameters:
enterKeyHint- the new value
-
getOnanimationcancel
public org.htmlunit.corejs.javascript.Function getOnanimationcancel()
Returns theonanimationcancelevent handler.- Returns:
- the
onanimationcancelevent handler
-
setOnanimationcancel
public void setOnanimationcancel(java.lang.Object onanimationcancel)
Sets theonanimationcancelevent handler.- Parameters:
onanimationcancel- theonanimationcancelevent handler
-
getOnanimationend
public org.htmlunit.corejs.javascript.Function getOnanimationend()
Returns theonanimationendevent handler.- Returns:
- the
onanimationendevent handler
-
setOnanimationend
public void setOnanimationend(java.lang.Object onanimationend)
Sets theonanimationendevent handler.- Parameters:
onanimationend- theonanimationendevent handler
-
getOnanimationiteration
public org.htmlunit.corejs.javascript.Function getOnanimationiteration()
Returns theonanimationiterationevent handler.- Returns:
- the
onanimationiterationevent handler
-
setOnanimationiteration
public void setOnanimationiteration(java.lang.Object onanimationiteration)
Sets theonanimationiterationevent handler.- Parameters:
onanimationiteration- theonanimationiterationevent handler
-
getOnanimationstart
public org.htmlunit.corejs.javascript.Function getOnanimationstart()
Returns theonanimationstartevent handler.- Returns:
- the
onanimationstartevent handler
-
setOnanimationstart
public void setOnanimationstart(java.lang.Object onanimationstart)
Sets theonanimationstartevent handler.- Parameters:
onanimationstart- theonanimationstartevent handler
-
getOnselectionchange
public org.htmlunit.corejs.javascript.Function getOnselectionchange()
Returns theonselectionchangeevent handler for this element.- Returns:
- the
onselectionchangeevent handler for this element
-
setOnselectionchange
public void setOnselectionchange(java.lang.Object onselectionchange)
Sets theonselectionchangeevent handler for this element.- Parameters:
onselectionchange- theonselectionchangeevent handler for this element
-
getOntransitioncancel
public org.htmlunit.corejs.javascript.Function getOntransitioncancel()
Returns theontransitioncancelevent handler for this element.- Returns:
- the
ontransitioncancelevent handler for this element
-
setOntransitioncancel
public void setOntransitioncancel(java.lang.Object ontransitioncancel)
Sets theontransitioncancelevent handler for this element.- Parameters:
ontransitioncancel- theontransitioncancelevent handler for this element
-
getOntransitionend
public org.htmlunit.corejs.javascript.Function getOntransitionend()
Returns theontransitionendevent handler for this element.- Returns:
- the
ontransitionendevent handler for this element
-
setOntransitionend
public void setOntransitionend(java.lang.Object ontransitionend)
Sets theontransitionendevent handler for this element.- Parameters:
ontransitionend- theontransitionendevent handler for this element
-
getOntransitionrun
public org.htmlunit.corejs.javascript.Function getOntransitionrun()
Returns theontransitionrunevent handler for this element.- Returns:
- the
ontransitionrunevent handler for this element
-
setOntransitionrun
public void setOntransitionrun(java.lang.Object ontransitionrun)
Sets theontransitionrunevent handler for this element.- Parameters:
ontransitionrun- theontransitionrunevent handler for this element
-
getOntransitionstart
public org.htmlunit.corejs.javascript.Function getOntransitionstart()
Returns theontransitionstartevent handler for this element.- Returns:
- the
ontransitionstartevent handler for this element
-
setOntransitionstart
public void setOntransitionstart(java.lang.Object ontransitionstart)
Sets theontransitionstartevent handler for this element.- Parameters:
ontransitionstart- theontransitionstartevent handler for this element
-
-