Class HTMLBodyElement
- 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
-
- org.htmlunit.javascript.host.html.HTMLBodyElement
-
- 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
public class HTMLBodyElement extends HTMLElement
The JavaScript objectHTMLBodyElement.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.htmlunit.javascript.host.html.HTMLElement
HTMLElement.ProxyDomNode
-
-
Field Summary
-
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 HTMLBodyElement()Creates an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateEventHandlerFromAttribute(java.lang.String attributeName, java.lang.String value)Creates the event handler from the attribute value.java.lang.StringgetALink()Returns the value of theaLinkattribute.java.lang.StringgetBackground()Returns the value of thebackgroundattribute.java.lang.StringgetBgColor()Returns the value of thebgColorattribute.intgetClientWidth()Returns theclientWidthattribute.java.lang.StringgetLink()Returns the value of thelinkattribute.HTMLElementgetOffsetParent_js()Returns this element'soffsetParent.org.htmlunit.corejs.javascript.FunctiongetOnafterprint()Returns theonafterprintevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnbeforeprint()Returns theonbeforeprintevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnbeforeunload()Returns theonbeforeunloadevent handler for this element.java.lang.ObjectgetOnblur()Returns theonblurevent 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.FunctiongetOngamepadconnected()Returns theongamepadconnectedevent handler.org.htmlunit.corejs.javascript.FunctiongetOngamepaddisconnected()Returns theongamepaddisconnectedevent handler.org.htmlunit.corejs.javascript.FunctiongetOnhashchange()Returns theonhashchangeevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnlanguagechange()Returns theonlanguagechangeevent handler for this element.java.lang.ObjectgetOnload()Returns theonloadevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnmessage()Returns theonmessageevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnmessageerror()Returns theonmessageerrorevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnoffline()Returns theonofflineevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnonline()Returns theononlineevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnpagehide()Returns theonpagehideevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnpageshow()Returns theonpageshowevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnpopstate()Returns theonpopstateevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnrejectionhandled()Returns theonrejectionhandledevent 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.FunctiongetOnstorage()Returns theonstorageevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnunhandledrejection()Returns theonunhandledrejectionevent handler for this element.org.htmlunit.corejs.javascript.FunctiongetOnunload()Returns theonunloadevent handler for this element.java.lang.StringgetText()Returns the value of thetextattribute.java.lang.StringgetVLink()Returns the value of thevLinkattribute.protected booleanisEventHandlerOnWindow()Is setting event handler property, at window-level.voidjsConstructor()JavaScript constructor.voidsetALink(java.lang.String aLink)Sets the value of theaLinkattribute.voidsetBackground(java.lang.String background)Sets the value of thebackgroundattribute.voidsetBgColor(java.lang.String bgColor)Sets the value of thebgColorattribute.voidsetLink(java.lang.String link)Sets the value of thelinkattribute.voidsetOnafterprint(java.lang.Object onafterprint)Sets theonafterprintevent handler for this element.voidsetOnbeforeprint(java.lang.Object onbeforeprint)Sets theonbeforeprintevent handler for this element.voidsetOnbeforeunload(java.lang.Object onbeforeunload)Sets theonbeforeunloadevent handler for this element.voidsetOnblur(java.lang.Object handler)Sets theonblurevent 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.voidsetOngamepadconnected(java.lang.Object gamepadconnected)Sets theongamepadconnectedevent handler.voidsetOngamepaddisconnected(java.lang.Object gamepaddisconnected)Sets theongamepaddisconnectedevent handler.voidsetOnhashchange(java.lang.Object onhashchange)Sets theonhashchangeevent handler for this element.voidsetOnlanguagechange(java.lang.Object onlanguagechange)Sets theonlanguagechangeevent handler for this element.voidsetOnload(java.lang.Object onload)Sets theonloadevent handler for this element.voidsetOnmessage(java.lang.Object onmessage)Sets theonmessageevent handler for this element.voidsetOnmessageerror(java.lang.Object onmessageerror)Sets theonmessageerrorevent handler for this element.voidsetOnoffline(java.lang.Object onoffline)Sets theonofflineevent handler for this element.voidsetOnonline(java.lang.Object ononline)Sets theononlineevent handler for this element.voidsetOnpagehide(java.lang.Object onpagehide)Sets theonpagehideevent handler for this element.voidsetOnpageshow(java.lang.Object onpageshow)Sets theonpageshowevent handler for this element.voidsetOnpopstate(java.lang.Object onpopstate)Sets theonpopstateevent handler for this element.voidsetOnrejectionhandled(java.lang.Object onrejectionhandled)Sets theonrejectionhandledevent handler for this element.voidsetOnresize(java.lang.Object onresize)Sets theonresizeevent handler for this element.voidsetOnscroll(java.lang.Object onresize)Sets theonscrollevent handler for this element.voidsetOnstorage(java.lang.Object onstorage)Sets theonstorageevent handler for this element.voidsetOnunhandledrejection(java.lang.Object onunhandledrejection)Sets theonunhandledrejectionevent handler for this element.voidsetOnunload(java.lang.Object onunload)Sets theonunloadevent handler for this element.voidsetText(java.lang.String text)Sets the value of thetextattribute.voidsetVLink(java.lang.String vLink)Sets the value of thevLinkattribute.-
Methods inherited from class org.htmlunit.javascript.host.html.HTMLElement
blur, click, focus, getAccessKey, getAlign, getAttributeNode, getAutofocus, getBoundingClientRect, getCh, getChOff, getContentEditable, getDataset, getDir, getDomNodeOrDie, getDomNodeOrNull, getEnterKeyHint, getForm, getInnerText, getLang, getLocalName, getName, getNodeName, getOffsetHeight, getOffsetLeft, getOffsetTop, getOffsetWidth, getOnabort, getOnanimationcancel, getOnanimationend, getOnanimationiteration, getOnanimationstart, getOnauxclick, getOncancel, getOncanplay, getOncanplaythrough, getOnchange, getOnclick, getOnclose, getOncontextmenu, getOncopy, getOncuechange, getOncut, getOndblclick, getOndrag, getOndragend, getOndragenter, getOndragleave, getOndragover, getOndragstart, getOndrop, getOndurationchange, getOnemptied, getOnended, getOngotpointercapture, getOninput, getOninvalid, getOnkeydown, getOnkeypress, getOnkeyup, getOnloadeddata, getOnloadedmetadata, getOnloadstart, getOnlostpointercapture, getOnmousedown, getOnmouseenter, getOnmouseleave, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnmousewheel, getOnmozfullscreenchange, getOnmozfullscreenerror, getOnpaste, getOnpause, getOnplay, getOnplaying, getOnpointercancel, getOnpointerdown, getOnpointerenter, getOnpointerleave, getOnpointermove, getOnpointerout, getOnpointerover, getOnpointerup, getOnprogress, getOnratechange, getOnreset, getOnscrollend, getOnseeked, getOnseeking, getOnselect, getOnselectionchange, getOnselectstart, getOnstalled, getOnsubmit, getOnsuspend, getOntimeupdate, getOntoggle, getOntransitioncancel, getOntransitionend, getOntransitionrun, getOntransitionstart, getOnvolumechange, getOnwaiting, getOnwheel, getOuterText, getParentHTMLElement, getPosX, getPosY, getPrefix, getStyle, getTabIndex, getTitle, getVAlign, getValue, getWidthOrHeight, isAncestorOfEventTarget, isDisabled, isEndTagForbidden, isHidden, isIsContentEditable, isLowerCaseInOuterHtml, isSpellcheck, setAccessKey, setAlign, setAttribute, setAutofocus, setCh, setChOff, setColorAttribute, setContentEditable, setDir, setDisabled, setDomNode, setEnterKeyHint, setHidden, setInnerText, setLang, setName, setOnabort, setOnanimationcancel, setOnanimationend, setOnanimationiteration, setOnanimationstart, setOnauxclick, setOncancel, setOncanplay, setOncanplaythrough, setOnchange, setOnclick, setOnclose, setOncontextmenu, setOncopy, setOncuechange, setOncut, setOndblclick, setOndrag, setOndragend, setOndragenter, setOndragleave, setOndragover, setOndragstart, setOndrop, setOndurationchange, setOnemptied, setOnended, setOngotpointercapture, setOninput, setOninvalid, setOnkeydown, setOnkeypress, setOnkeyup, setOnloadeddata, setOnloadedmetadata, setOnloadstart, setOnlostpointercapture, setOnmousedown, setOnmouseenter, setOnmouseleave, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnmousewheel, setOnmozfullscreenchange, setOnmozfullscreenerror, setOnpaste, setOnpause, setOnplay, setOnplaying, setOnpointercancel, setOnpointerdown, setOnpointerenter, setOnpointerleave, setOnpointermove, setOnpointerout, setOnpointerover, setOnpointerup, setOnprogress, setOnratechange, setOnreset, setOnscrollend, setOnseeked, setOnseeking, setOnselect, setOnselectionchange, setOnselectstart, setOnstalled, setOnsubmit, setOnsuspend, setOntimeupdate, setOntoggle, setOntransitioncancel, setOntransitionend, setOntransitionrun, setOntransitionstart, setOnvolumechange, setOnwaiting, setOnwheel, setOuterText, setSpellcheck, setStyle, setTabIndex, setTextContent, setTitle, setVAlign, setValue, setWidthOrHeight, toString
-
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, 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, 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 classHTMLElement
-
createEventHandlerFromAttribute
public void createEventHandlerFromAttribute(java.lang.String attributeName, java.lang.String value)Creates the event handler from the attribute value. This has to be done no matter which browser is simulated to handle ill-formed HTML code with many body (possibly generated) elements.- Parameters:
attributeName- the attribute namevalue- the value
-
isEventHandlerOnWindow
protected boolean isEventHandlerOnWindow()
Is setting event handler property, at window-level.- Overrides:
isEventHandlerOnWindowin classEventTarget- Returns:
- whether the event handler to be set at window-level
-
getOffsetParent_js
public HTMLElement getOffsetParent_js()
Returns this element'soffsetParent. TheoffsetLeftandoffsetTopattributes are relative to theoffsetParent.- Overrides:
getOffsetParent_jsin classHTMLElement- 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
-
getALink
public java.lang.String getALink()
Returns the value of theaLinkattribute.- Returns:
- the value of the
aLinkattribute - See Also:
- MSDN Documentation
-
setALink
public void setALink(java.lang.String aLink)
Sets the value of theaLinkattribute.- Parameters:
aLink- the value of theaLinkattribute- See Also:
- MSDN Documentation
-
getBackground
public java.lang.String getBackground()
Returns the value of thebackgroundattribute.- Returns:
- the value of the
backgroundattribute - See Also:
- MSDN Documentation
-
setBackground
public void setBackground(java.lang.String background)
Sets the value of thebackgroundattribute.- Parameters:
background- the value of thebackgroundattribute- See Also:
- MSDN Documentation
-
getBgColor
public java.lang.String getBgColor()
Returns the value of thebgColorattribute.- Returns:
- the value of the
bgColorattribute - See Also:
- MSDN Documentation
-
setBgColor
public void setBgColor(java.lang.String bgColor)
Sets the value of thebgColorattribute.- Parameters:
bgColor- the value of thebgColorattribute- See Also:
- MSDN Documentation
-
getLink
public java.lang.String getLink()
Returns the value of thelinkattribute.- Returns:
- the value of the
linkattribute - See Also:
- MSDN Documentation
-
setLink
public void setLink(java.lang.String link)
Sets the value of thelinkattribute.- Parameters:
link- the value of thelinkattribute- See Also:
- MSDN Documentation
-
getText
public java.lang.String getText()
Returns the value of thetextattribute.- Returns:
- the value of the
textattribute - See Also:
- MSDN Documentation
-
setText
public void setText(java.lang.String text)
Sets the value of thetextattribute.- Parameters:
text- the value of thetextattribute- See Also:
- MSDN Documentation
-
getVLink
public java.lang.String getVLink()
Returns the value of thevLinkattribute.- Returns:
- the value of the
vLinkattribute - See Also:
- MSDN Documentation
-
setVLink
public void setVLink(java.lang.String vLink)
Sets the value of thevLinkattribute.- Parameters:
vLink- the value of thevLinkattribute- See Also:
- MSDN Documentation
-
getClientWidth
public int getClientWidth()
Returns theclientWidthattribute.- Overrides:
getClientWidthin classElement- Returns:
- the
clientWidthattribute
-
getOnload
public java.lang.Object getOnload()
Returns theonloadevent handler for this element.- Overrides:
getOnloadin classHTMLElement- Returns:
- the
onloadevent handler for this element
-
setOnload
public void setOnload(java.lang.Object onload)
Sets theonloadevent handler for this element.- Overrides:
setOnloadin classHTMLElement- Parameters:
onload- theonloadevent handler for this element
-
setOnblur
public void setOnblur(java.lang.Object handler)
Sets theonblurevent handler for this element.- Overrides:
setOnblurin classHTMLElement- Parameters:
handler- theonblurevent handler for this element
-
getOnblur
public java.lang.Object getOnblur()
Returns theonblurevent handler for this element.- Overrides:
getOnblurin classHTMLElement- Returns:
- the
onblurevent handler for this element
-
setOnfocus
public void setOnfocus(java.lang.Object handler)
Sets theonfocusevent handler for this element.- Overrides:
setOnfocusin classHTMLElement- Parameters:
handler- theonfocusevent handler for this element
-
getOnfocus
public java.lang.Object getOnfocus()
Returns theonfocusevent handler for this element.- Overrides:
getOnfocusin classHTMLElement- Returns:
- the
onfocusevent handler for this element
-
setOnerror
public void setOnerror(java.lang.Object handler)
Sets theonerrorevent handler for this element.- Overrides:
setOnerrorin classHTMLElement- Parameters:
handler- theonerrorevent handler for this element
-
getOnerror
public java.lang.Object getOnerror()
Returns theonerrorevent handler for this element.- Overrides:
getOnerrorin classHTMLElement- Returns:
- the
onerrorevent handler for this element
-
getOnbeforeunload
public org.htmlunit.corejs.javascript.Function getOnbeforeunload()
Returns theonbeforeunloadevent handler for this element.- Returns:
- the
onbeforeunloadevent handler for this element
-
setOnbeforeunload
public void setOnbeforeunload(java.lang.Object onbeforeunload)
Sets theonbeforeunloadevent handler for this element.- Parameters:
onbeforeunload- theonbeforeunloadevent handler for this element
-
getOngamepadconnected
public org.htmlunit.corejs.javascript.Function getOngamepadconnected()
Returns theongamepadconnectedevent handler.- Returns:
- the
ongamepadconnectedevent handler
-
setOngamepadconnected
public void setOngamepadconnected(java.lang.Object gamepadconnected)
Sets theongamepadconnectedevent handler.- Parameters:
gamepadconnected- theongamepadconnectedevent handler
-
getOngamepaddisconnected
public org.htmlunit.corejs.javascript.Function getOngamepaddisconnected()
Returns theongamepaddisconnectedevent handler.- Returns:
- the
ongamepaddisconnectedevent handler
-
setOngamepaddisconnected
public void setOngamepaddisconnected(java.lang.Object gamepaddisconnected)
Sets theongamepaddisconnectedevent handler.- Parameters:
gamepaddisconnected- theongamepaddisconnectedevent handler
-
getOnhashchange
public org.htmlunit.corejs.javascript.Function getOnhashchange()
Returns theonhashchangeevent handler for this element.- Returns:
- the
onhashchangeevent handler for this element
-
setOnhashchange
public void setOnhashchange(java.lang.Object onhashchange)
Sets theonhashchangeevent handler for this element.- Parameters:
onhashchange- theonhashchangeevent handler for this element
-
getOnlanguagechange
public org.htmlunit.corejs.javascript.Function getOnlanguagechange()
Returns theonlanguagechangeevent handler for this element.- Returns:
- the
onlanguagechangeevent handler for this element
-
setOnlanguagechange
public void setOnlanguagechange(java.lang.Object onlanguagechange)
Sets theonlanguagechangeevent handler for this element.- Parameters:
onlanguagechange- theonlanguagechangeevent handler for this element
-
getOnmessage
public org.htmlunit.corejs.javascript.Function getOnmessage()
Returns theonmessageevent handler for this element.- Returns:
- the
onmessageevent handler for this element
-
setOnmessage
public void setOnmessage(java.lang.Object onmessage)
Sets theonmessageevent handler for this element.- Parameters:
onmessage- theonmessageevent handler for this element
-
getOnoffline
public org.htmlunit.corejs.javascript.Function getOnoffline()
Returns theonofflineevent handler for this element.- Returns:
- the
onofflineevent handler for this element
-
setOnoffline
public void setOnoffline(java.lang.Object onoffline)
Sets theonofflineevent handler for this element.- Parameters:
onoffline- theonofflineevent handler for this element
-
getOnonline
public org.htmlunit.corejs.javascript.Function getOnonline()
Returns theononlineevent handler for this element.- Returns:
- the
ononlineevent handler for this element
-
setOnonline
public void setOnonline(java.lang.Object ononline)
Sets theononlineevent handler for this element.- Parameters:
ononline- theononlineevent handler for this element
-
getOnpagehide
public org.htmlunit.corejs.javascript.Function getOnpagehide()
Returns theonpagehideevent handler for this element.- Returns:
- the
onpagehideevent handler for this element
-
setOnpagehide
public void setOnpagehide(java.lang.Object onpagehide)
Sets theonpagehideevent handler for this element.- Parameters:
onpagehide- theonpagehideevent handler for this element
-
getOnpageshow
public org.htmlunit.corejs.javascript.Function getOnpageshow()
Returns theonpageshowevent handler for this element.- Returns:
- the
onpageshowevent handler for this element
-
setOnpageshow
public void setOnpageshow(java.lang.Object onpageshow)
Sets theonpageshowevent handler for this element.- Parameters:
onpageshow- theonpageshowevent handler for this element
-
getOnpopstate
public org.htmlunit.corejs.javascript.Function getOnpopstate()
Returns theonpopstateevent handler for this element.- Returns:
- the
onpopstateevent handler for this element
-
setOnpopstate
public void setOnpopstate(java.lang.Object onpopstate)
Sets theonpopstateevent handler for this element.- Parameters:
onpopstate- theonpopstateevent handler for this element
-
getOnrejectionhandled
public org.htmlunit.corejs.javascript.Function getOnrejectionhandled()
Returns theonrejectionhandledevent handler for this element.- Returns:
- the
onrejectionhandledevent handler for this element
-
setOnrejectionhandled
public void setOnrejectionhandled(java.lang.Object onrejectionhandled)
Sets theonrejectionhandledevent handler for this element.- Parameters:
onrejectionhandled- theonrejectionhandledevent handler for this element
-
getOnstorage
public org.htmlunit.corejs.javascript.Function getOnstorage()
Returns theonstorageevent handler for this element.- Returns:
- the
onstorageevent handler for this element
-
setOnstorage
public void setOnstorage(java.lang.Object onstorage)
Sets theonstorageevent handler for this element.- Parameters:
onstorage- theonstorageevent handler for this element
-
getOnunhandledrejection
public org.htmlunit.corejs.javascript.Function getOnunhandledrejection()
Returns theonunhandledrejectionevent handler for this element.- Returns:
- the
onunhandledrejectionevent handler for this element
-
setOnunhandledrejection
public void setOnunhandledrejection(java.lang.Object onunhandledrejection)
Sets theonunhandledrejectionevent handler for this element.- Parameters:
onunhandledrejection- theonunhandledrejectionevent handler for this element
-
getOnunload
public org.htmlunit.corejs.javascript.Function getOnunload()
Returns theonunloadevent handler for this element.- Returns:
- the
onunloadevent handler for this element
-
setOnunload
public void setOnunload(java.lang.Object onunload)
Sets theonunloadevent handler for this element.- Parameters:
onunload- theonunloadevent handler for this element
-
getOnafterprint
public org.htmlunit.corejs.javascript.Function getOnafterprint()
Returns theonafterprintevent handler for this element.- Returns:
- the
onafterprintevent handler for this element
-
setOnafterprint
public void setOnafterprint(java.lang.Object onafterprint)
Sets theonafterprintevent handler for this element.- Parameters:
onafterprint- theonafterprintevent handler for this element
-
getOnbeforeprint
public org.htmlunit.corejs.javascript.Function getOnbeforeprint()
Returns theonbeforeprintevent handler for this element.- Returns:
- the
onbeforeprintevent handler for this element
-
setOnbeforeprint
public void setOnbeforeprint(java.lang.Object onbeforeprint)
Sets theonbeforeprintevent handler for this element.- Parameters:
onbeforeprint- theonbeforeprintevent handler for this element
-
getOnmessageerror
public org.htmlunit.corejs.javascript.Function getOnmessageerror()
Returns theonmessageerrorevent handler for this element.- Returns:
- the
onmessageerrorevent handler for this element
-
setOnmessageerror
public void setOnmessageerror(java.lang.Object onmessageerror)
Sets theonmessageerrorevent handler for this element.- Parameters:
onmessageerror- theonmessageerrorevent handler for this element
-
getOnresize
public org.htmlunit.corejs.javascript.Function getOnresize()
Returns theonresizeevent handler for this element.- Overrides:
getOnresizein classHTMLElement- Returns:
- the
onresizeevent handler for this element
-
setOnresize
public void setOnresize(java.lang.Object onresize)
Sets theonresizeevent handler for this element.- Overrides:
setOnresizein classHTMLElement- Parameters:
onresize- theonresizeevent handler for this element
-
getOnscroll
public org.htmlunit.corejs.javascript.Function getOnscroll()
Returns theonscrollevent handler for this element.- Overrides:
getOnscrollin classHTMLElement- Returns:
- the
onscrollevent handler for this element
-
setOnscroll
public void setOnscroll(java.lang.Object onresize)
Sets theonscrollevent handler for this element.- Overrides:
setOnscrollin classHTMLElement- Parameters:
onresize- theonscrollevent handler for this element
-
-