public class Document extends Node
Document
.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 and Description |
---|
Document()
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
Object |
adoptNode(Node externalNode)
Adopts a node from an external document.
|
void |
captureEvents(String type)
Does nothing special anymore.
|
void |
clear()
Does...
|
void |
close()
JavaScript function
close . |
Attr |
createAttribute(String attributeName)
Creates a new HTML attribute with the specified name.
|
Object |
createCDATASection(String data)
Creates a new createCDATASection.
|
Object |
createComment(String comment)
Creates a new Comment.
|
Object |
createDocumentFragment()
Creates a new document fragment.
|
Object |
createElement(String tagName)
Creates a new element with the given tag name.
|
Object |
createElementNS(String namespaceURI,
String qualifiedName)
Creates a new HTML element with the given tag name, and name.
|
Event |
createEvent(String eventType)
Implementation of the
DocumentEvent interface's
DocumentEvent.createEvent(String) method. |
NodeIterator |
createNodeIterator(Node root,
int whatToShow,
net.sourceforge.htmlunit.corejs.javascript.Scriptable filter)
Returns a new NodeIterator object.
|
XPathNSResolver |
createNSResolver(Node nodeResolver)
Adapts any DOM node to resolve namespaces so that an XPath expression can be easily
evaluated relative to the context of the node where it appeared within the document.
|
Object |
createProcessingInstruction(String target,
String data)
Creates a new ProcessingInstruction.
|
Range |
createRange()
Creates and returns a new range.
|
Object |
createTextNode(String newData)
Create a new DOM text node with the given data.
|
Object |
createTreeWalker(Node root,
double whatToShow,
net.sourceforge.htmlunit.corejs.javascript.Scriptable filter,
boolean expandEntityReferences)
Creates and returns a new TreeWalker.
|
Object |
elementFromPoint(int x,
int y)
Returns the element for the specified x coordinate and the specified y coordinate.
|
XPathResult |
evaluate(String expression,
Node contextNode,
Object resolver,
int type,
Object result)
Evaluates an XPath expression string and returns a result of the specified type if possible.
|
boolean |
execCommand(String cmd,
boolean userInterface,
Object value)
Executes a command.
|
void |
forceDocumentMode(int documentMode)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Called from the HTMLParser if a 'X-UA-Compatible' meta tag found. |
Object |
get(String name,
net.sourceforge.htmlunit.corejs.javascript.Scriptable start)
Gets a named property from the object.
|
Object |
getActiveElement()
Returns the value of the
activeElement property. |
String |
getAlinkColor()
Returns the value of the
alinkColor property. |
HTMLCollection |
getAll()
Returns the value of the
all property. |
Object |
getAnchors()
Returns the value of the JavaScript property
anchors . |
Object |
getApplets()
Returns the value of the JavaScript property
applets . |
String |
getBgColor()
Returns the value of the
bgColor property. |
HTMLElement |
getBody()
Returns this document's
body element. |
String |
getCharacterSet()
Returns the character encoding of the current document.
|
String |
getCharset()
Retrieves the character set used to encode the document.
|
int |
getChildElementCount()
Returns the current number of child elements.
|
HTMLCollection |
getChildren()
Gets the children of the current node.
|
String |
getCompatMode()
Returns the
compatMode property. |
String |
getContentType()
Returns the
contentType property. |
String |
getCookie()
Returns the
cookie property. |
net.sourceforge.htmlunit.corejs.javascript.ScriptableObject |
getCurrentScript() |
String |
getDefaultCharset()
Gets the default character set from the current regional language settings.
|
Object |
getDefaultView()
Gets the window in which this document is contained.
|
String |
getDesignMode()
Returns a value which indicates whether or not the document can be edited.
|
SimpleScriptable |
getDoctype()
Gets the JavaScript property
doctype for the document. |
Element |
getDocumentElement()
Gets the JavaScript property
documentElement for the document. |
int |
getDocumentMode()
Returns the
documentMode property. |
String |
getDocumentURI()
Returns the value of the
documentURI property. |
String |
getDomain()
Returns the domain name of the server that served the document, or
null if the server
cannot be identified by a domain name. |
Object |
getElementById(String id)
Returns the element with the specified ID, as long as it is an HTML element;
null otherwise. |
HTMLCollection |
getElementsByClassName(String className)
Returns all the descendant elements with the specified class name.
|
HTMLCollection |
getElementsByName(String elementName)
Returns all HTML elements that have a
name attribute with the specified value. |
HTMLCollection |
getElementsByTagName(String tagName)
Returns all the descendant elements with the specified tag name.
|
Object |
getElementsByTagNameNS(Object namespaceURI,
String localName)
Returns a list of elements with the given tag name belonging to the given namespace.
|
Object |
getEmbeds()
Returns the value of the
embeds property. |
String |
getFgColor()
Returns the value of the
fgColor property. |
Element |
getFirstElementChild()
Returns the first element child.
|
net.sourceforge.htmlunit.corejs.javascript.ScriptableObject |
getFonts() |
Object |
getForms()
Returns the value of the
forms property. |
Object |
getFrames()
Returns the value of the
frames property. |
Object |
getHead()
Returns this document's
head element. |
boolean |
getHidden()
Returns the
hidden property. |
Object |
getImages()
Returns the value of the
embeds property. |
DOMImplementation |
getImplementation()
Returns the implementation object of the current document.
|
String |
getInputEncoding()
Returns a string representing the encoding under which the document was parsed.
|
Element |
getLastElementChild()
Returns the last element child.
|
String |
getLastModified()
Returns the last modification date of the document.
|
String |
getLinkColor()
Returns the value of the
linkColor property. |
Object |
getLinks()
Returns the value of the JavaScript property
links . |
Location |
getLocation()
Returns the value of the
location property. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnabort()
Returns the
onabort event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnactivate()
Returns the
onactivate event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnafterscriptexecute()
Returns the
onafterscriptexecute event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnauxclick()
Returns the
onauxclick event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnbeforeactivate()
Returns the
onbeforeactivate event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnbeforecopy()
Returns the
onbeforecopy event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnbeforecut()
Returns the
onbeforecut event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnbeforedeactivate()
Returns the
onbeforedeactivate event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnbeforepaste()
Returns the
onbeforepaste event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnbeforescriptexecute()
Returns the
onbeforescriptexecute event handler for this element. |
Object |
getOnblur()
Returns the
onblur event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOncancel()
Returns the
oncancel event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOncanplay()
Returns the
oncanplay event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOncanplaythrough()
Returns the
oncanplaythrough event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnchange()
Returns the
onchange event handler for this element. |
Object |
getOnclick()
Returns the
onclick event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnclose()
Returns the
onclose event handler for this element. |
Object |
getOncontextmenu()
Returns the
oncontextmenu event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOncopy()
Returns the
oncopy event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOncuechange()
Returns the
oncuechange event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOncut()
Returns the
oncut event handler for this element. |
Object |
getOndblclick()
Returns the
ondblclick event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOndeactivate()
Returns the
ondeactivate event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOndrag()
Returns the
ondrag event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOndragend()
Returns the
ondragend event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOndragenter()
Returns the
ondragenter event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOndragleave()
Returns the
ondragleave event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOndragover()
Returns the
ondragover event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOndragstart()
Returns the
ondragstart event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOndrop()
Returns the
ondrop event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOndurationchange()
Returns the
ondurationchange event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnemptied()
Returns the
onemptied event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnended()
Returns the
onended event handler for this element. |
Object |
getOnerror()
Returns the
onerror event handler for this element. |
Object |
getOnfocus()
Returns the
onfocus event handler for this element. |
Object |
getOnfocusin()
Returns the
onfocusin event handler for this element. |
Object |
getOnfocusout()
Returns the
onfocusout event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOngotpointercapture()
Returns the
ongotpointercapture event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnhelp()
Returns the
onhelp event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOninput()
Returns the
oninput event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOninvalid()
Returns the
oninvalid event handler for this element. |
Object |
getOnkeydown()
Returns the
onkeydown event handler for this element. |
Object |
getOnkeypress()
Returns the
onkeypress event handler for this element. |
Object |
getOnkeyup()
Returns the
onkeyup event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnload()
Returns the
onload event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnloadeddata()
Returns the
onloadeddata event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnloadedmetadata()
Returns the
onloadedmetadata event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnloadstart()
Returns the
onloadstart event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnlostpointercapture()
Returns the
onlostpointercapture event handler for this element. |
Object |
getOnmousedown()
Returns the
onmousedown event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmouseenter()
Returns the
onmouseenter event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmouseleave()
Returns the
onmouseleave event handler for this element. |
Object |
getOnmousemove()
Returns the
onmousemove event handler for this element. |
Object |
getOnmouseout()
Returns the
onmouseout event handler for this element. |
Object |
getOnmouseover()
Returns the
onmouseover event handler for this element. |
Object |
getOnmouseup()
Returns the
onmouseup event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmousewheel()
Returns the
onmousewheel event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmozfullscreenchange()
Returns the
onmozfullscreenchange event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmozfullscreenerror()
Returns the
onmozfullscreenerror event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmscontentzoom()
Returns the
onmscontentzoom event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmsfullscreenchange()
Returns the
onmsfullscreenchange event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmsfullscreenerror()
Returns the
onmsfullscreenerror event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmsgesturechange()
Returns the
onmsgesturechange event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmsgesturedoubletap()
Returns the
onmsgesturedoubletap event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmsgestureend()
Returns the
onmsgestureend event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmsgesturehold()
Returns the
onmsgesturehold event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmsgesturestart()
Returns the
onmsgesturestart event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmsgesturetap()
Returns the
onmsgesturetap event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmsinertiastart()
Returns the
onmsinertiastart event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmsmanipulationstatechanged()
Returns the
onmsmanipulationstatechanged event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmspointercancel()
Returns the
onmspointercancel event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmspointerdown()
Returns the
onmspointerdown event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmspointerenter()
Returns the
onmspointerenter event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmspointerleave()
Returns the
onmspointerleave event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmspointermove()
Returns the
onmspointermove event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmspointerout()
Returns the
onmspointerout event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmspointerover()
Returns the
onmspointerover event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmspointerup()
Returns the
onmspointerup event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmssitemodejumplistitemremoved()
Returns the
onmssitemodejumplistitemremoved event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmsthumbnailclick()
Returns the
onmsthumbnailclick event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnpaste()
Returns the
onpaste event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnpause()
Returns the
onpause event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnplay()
Returns the
onplay event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnplaying()
Returns the
onplaying event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnpointercancel()
Returns the
onpointercancel event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnpointerdown()
Returns the
onpointerdown event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnpointerenter()
Returns the
onpointerenter event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnpointerleave()
Returns the
onpointerleave event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnpointerlockchange()
Returns the
onpointerlockchange event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnpointerlockerror()
Returns the
onpointerlockerror event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnpointermove()
Returns the
onpointermove event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnpointerout()
Returns the
onpointerout event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnpointerover()
Returns the
onpointerover event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnpointerup()
Returns the
onpointerup event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnprogress()
Returns the
onprogress event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnratechange()
Returns the
onratechange event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnreadystatechange()
Returns the
onreadystatechange event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnreset()
Returns the
onreset event handler for this element. |
Object |
getOnresize()
Returns the
onresize event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnscroll()
Returns the
onscroll event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnsearch()
Returns the
onsearch event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnseeked()
Returns the
onseeked event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnseeking()
Returns the
onseeking event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnselect()
Returns the
onselect event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnselectionchange()
Returns the
onselectionchange event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnselectstart()
Returns the
onselectstart event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnshow()
Returns the
onshow event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnstalled()
Returns the
onstalled event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnstop()
Returns the
onstop event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnstoragecommit()
Returns the
onstoragecommit event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnsubmit()
Returns the
onsubmit event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnsuspend()
Returns the
onsuspend event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOntimeupdate()
Returns the
ontimeupdate event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOntoggle()
Returns the
ontoggle event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnvolumechange()
Returns the
onvolumechange event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnwaiting()
Returns the
onwaiting event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnwebkitfullscreenchange()
Returns the
onwebkitfullscreenchange event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnwebkitfullscreenerror()
Returns the
onwebkitfullscreenerror event handler for this element. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnwheel()
Returns the
onwheel event handler for this element. |
SgmlPage |
getPage()
Returns the page that this document is modeling.
|
Object |
getParentWindow()
Gets the window in which this document is contained.
|
Object |
getPlugins()
Returns the value of the
plugins property. |
String |
getReadyState()
Returns the ready state of the document.
|
String |
getReferrer()
Returns the value of the
referrer property. |
Element |
getRootElement()
Gets the JavaScript property
rootElement . |
Object |
getScripts()
Returns the value of the
scripts property. |
Selection |
getSelection()
Returns the current selection.
|
StyleSheetList |
getStyleSheets()
Retrieves a collection of stylesheet objects representing the style sheets that correspond
to each instance of a Link or
CSSStyleDeclaration object in the document. |
String |
getTitle()
Returns this document's title.
|
String |
getUniqueID()
Retrieves an auto-generated, unique identifier for the object.
|
String |
getURL()
Returns the value of the
URL property. |
String |
getURLUnencoded()
Returns the value of the
URLUnencoded property. |
String |
getVlinkColor()
Returns the value of the
vlinkColor property. |
String |
getXmlEncoding()
Returns the
xmlEncoding property. |
String |
getXmlVersion()
Returns the
xmlVersion property. |
boolean |
hasFocus()
Returns
false if the active element in the document has no focus;
true if the active element in the document has focus. |
Object |
importNode(Node importedNode,
boolean deep)
Imports a node from another document to this document.
|
protected boolean |
isReadOnlySettable(String name,
Object value) |
boolean |
isXmlStandalone()
Returns the
xmlStandalone property. |
boolean |
queryCommandEnabled(String cmd)
Indicates if the command can be successfully executed using execCommand, given
the current state of the document.
|
boolean |
queryCommandSupported(String cmd)
Indicates if the command is supported.
|
Node |
querySelector(String selectors)
Returns the first element within the document that matches the specified group of selectors.
|
NodeList |
querySelectorAll(String selectors)
Retrieves all element nodes from descendants of the starting element node that match any selector
within the supplied selector strings.
|
boolean |
releaseCapture()
Mock for the moment.
|
void |
releaseEvents(String type)
Does nothing special anymore.
|
void |
setAlinkColor(String color)
Sets the value of the
alinkColor property. |
void |
setBgColor(String color)
Sets the value of the
bgColor property. |
void |
setCurrentScript(net.sourceforge.htmlunit.corejs.javascript.ScriptableObject script) |
void |
setDesignMode(String mode)
Sets a value which indicates whether or not the document can be edited.
|
void |
setDomain(String newDomain)
Sets the domain of this document.
|
void |
setFgColor(String color)
Sets the value of the
fgColor property. |
void |
setLinkColor(String color)
Sets the value of the
linkColor property. |
void |
setLocation(String location)
Sets the value of the
location property. |
void |
setOnabort(Object onabort)
Sets the
onabort event handler for this element. |
void |
setOnactivate(Object onactivate)
Sets the
onactivate event handler for this element. |
void |
setOnafterscriptexecute(Object onafterscriptexecute)
Sets the
onafterscriptexecute event handler for this element. |
void |
setOnauxclick(Object onauxclick)
Sets the
onauxclick event handler for this element. |
void |
setOnbeforeactivate(Object onbeforeactivate)
Sets the
onbeforeactivate event handler for this element. |
void |
setOnbeforecopy(Object onbeforecopy)
Sets the
onbeforecopy event handler for this element. |
void |
setOnbeforecut(Object onbeforecut)
Sets the
onbeforecut event handler for this element. |
void |
setOnbeforedeactivate(Object onbeforedeactivate)
Sets the
onbeforedeactivate event handler for this element. |
void |
setOnbeforepaste(Object onbeforepaste)
Sets the
onbeforepaste event handler for this element. |
void |
setOnbeforescriptexecute(Object onbeforescriptexecute)
Sets the
onbeforescriptexecute event handler for this element. |
void |
setOnblur(Object handler)
Sets the
onblur event handler for this element. |
void |
setOncancel(Object oncancel)
Sets the
oncancel event handler for this element. |
void |
setOncanplay(Object oncanplay)
Sets the
oncanplay event handler for this element. |
void |
setOncanplaythrough(Object oncanplaythrough)
Sets the
oncanplaythrough event handler for this element. |
void |
setOnchange(Object onchange)
Sets the
onchange event handler for this element. |
void |
setOnclick(Object handler)
Sets the
onclick event handler for this element. |
void |
setOnclose(Object onclose)
Sets the
onclose event handler for this element. |
void |
setOncontextmenu(Object handler)
Sets the
oncontextmenu event handler for this element. |
void |
setOncopy(Object oncopy)
Sets the
oncopy event handler for this element. |
void |
setOncuechange(Object oncuechange)
Sets the
oncuechange event handler for this element. |
void |
setOncut(Object oncut)
Sets the
oncut event handler for this element. |
void |
setOndblclick(Object handler)
Sets the
ondblclick event handler for this element. |
void |
setOndeactivate(Object ondeactivate)
Sets the
ondeactivate event handler for this element. |
void |
setOndrag(Object ondrag)
Sets the
ondrag event handler for this element. |
void |
setOndragend(Object ondragend)
Sets the
ondragend event handler for this element. |
void |
setOndragenter(Object ondragenter)
Sets the
ondragenter event handler for this element. |
void |
setOndragleave(Object ondragleave)
Sets the
ondragleave event handler for this element. |
void |
setOndragover(Object ondragover)
Sets the
ondragover event handler for this element. |
void |
setOndragstart(Object ondragstart)
Sets the
ondragstart event handler for this element. |
void |
setOndrop(Object ondrop)
Sets the
ondrop event handler for this element. |
void |
setOndurationchange(Object ondurationchange)
Sets the
ondurationchange event handler for this element. |
void |
setOnemptied(Object onemptied)
Sets the
onemptied event handler for this element. |
void |
setOnended(Object onended)
Sets the
onended event handler for this element. |
void |
setOnerror(Object handler)
Sets the
onerror event handler for this element. |
void |
setOnfocus(Object handler)
Sets the
onfocus event handler for this element. |
void |
setOnfocusin(Object handler)
Sets the
onfocusin event handler for this element. |
void |
setOnfocusout(Object handler)
Sets the
onfocusout event handler for this element. |
void |
setOngotpointercapture(Object ongotpointercapture)
Sets the
ongotpointercapture event handler for this element. |
void |
setOnhelp(Object onhelp)
Sets the
onhelp event handler for this element. |
void |
setOninput(Object oninput)
Sets the
oninput event handler for this element. |
void |
setOninvalid(Object oninvalid)
Sets the
oninvalid event handler for this element. |
void |
setOnkeydown(Object handler)
Sets the
onkeydown event handler for this element. |
void |
setOnkeypress(Object handler)
Sets the
onkeypress event handler for this element. |
void |
setOnkeyup(Object handler)
Sets the
onkeyup event handler for this element. |
void |
setOnload(Object onload)
Sets the
onload event handler for this element. |
void |
setOnloadeddata(Object onloadeddata)
Sets the
onloadeddata event handler for this element. |
void |
setOnloadedmetadata(Object onloadedmetadata)
Sets the
onloadedmetadata event handler for this element. |
void |
setOnloadstart(Object onloadstart)
Sets the
onloadstart event handler for this element. |
void |
setOnlostpointercapture(Object onlostpointercapture)
Sets the
onlostpointercapture event handler for this element. |
void |
setOnmousedown(Object handler)
Sets the
onmousedown event handler for this element. |
void |
setOnmouseenter(Object onmouseenter)
Sets the
onmouseenter event handler for this element. |
void |
setOnmouseleave(Object onmouseleave)
Sets the
onmouseleave event handler for this element. |
void |
setOnmousemove(Object handler)
Sets the
onmousemove event handler for this element. |
void |
setOnmouseout(Object handler)
Sets the
onmouseout event handler for this element. |
void |
setOnmouseover(Object handler)
Sets the
onmouseover event handler for this element. |
void |
setOnmouseup(Object handler)
Sets the
onmouseup event handler for this element. |
void |
setOnmousewheel(Object onmousewheel)
Sets the
onmousewheel event handler for this element. |
void |
setOnmozfullscreenchange(Object onmozfullscreenchange)
Sets the
onmozfullscreenchange event handler for this element. |
void |
setOnmozfullscreenerror(Object onmozfullscreenerror)
Sets the
onmozfullscreenerror event handler for this element. |
void |
setOnmscontentzoom(Object onmscontentzoom)
Sets the
onmscontentzoom event handler for this element. |
void |
setOnmsfullscreenchange(Object onmsfullscreenchange)
Sets the
onmsfullscreenchange event handler for this element. |
void |
setOnmsfullscreenerror(Object onmsfullscreenerror)
Sets the
onmsfullscreenerror event handler for this element. |
void |
setOnmsgesturechange(Object onmsgesturechange)
Sets the
onmsgesturechange event handler for this element. |
void |
setOnmsgesturedoubletap(Object onmsgesturedoubletap)
Sets the
onmsgesturedoubletap event handler for this element. |
void |
setOnmsgestureend(Object onmsgestureend)
Sets the
onmsgestureend event handler for this element. |
void |
setOnmsgesturehold(Object onmsgesturehold)
Sets the
onmsgesturehold event handler for this element. |
void |
setOnmsgesturestart(Object onmsgesturestart)
Sets the
onmsgesturestart event handler for this element. |
void |
setOnmsgesturetap(Object onmsgesturetap)
Sets the
onmsgesturetap event handler for this element. |
void |
setOnmsinertiastart(Object onmsinertiastart)
Sets the
onmsinertiastart event handler for this element. |
void |
setOnmsmanipulationstatechanged(Object onmsmanipulationstatechanged)
Sets the
onmsmanipulationstatechanged event handler for this element. |
void |
setOnmspointercancel(Object onmspointercancel)
Sets the
onmspointercancel event handler for this element. |
void |
setOnmspointerdown(Object onmspointerdown)
Sets the
onmspointerdown event handler for this element. |
void |
setOnmspointerenter(Object onmspointerenter)
Sets the
onmspointerenter event handler for this element. |
void |
setOnmspointerleave(Object onmspointerleave)
Sets the
onmspointerleave event handler for this element. |
void |
setOnmspointermove(Object onmspointermove)
Sets the
onmspointermove event handler for this element. |
void |
setOnmspointerout(Object onmspointerout)
Sets the
onmspointerout event handler for this element. |
void |
setOnmspointerover(Object onmspointerover)
Sets the
onmspointerover event handler for this element. |
void |
setOnmspointerup(Object onmspointerup)
Sets the
onmspointerup event handler for this element. |
void |
setOnmssitemodejumplistitemremoved(Object onmssitemodejumplistitemremoved)
Sets the
onmssitemodejumplistitemremoved event handler for this element. |
void |
setOnmsthumbnailclick(Object onmsthumbnailclick)
Sets the
onmsthumbnailclick event handler for this element. |
void |
setOnpaste(Object onpaste)
Sets the
onpaste event handler for this element. |
void |
setOnpause(Object onpause)
Sets the
onpause event handler for this element. |
void |
setOnplay(Object onplay)
Sets the
onplay event handler for this element. |
void |
setOnplaying(Object onplaying)
Sets the
onplaying event handler for this element. |
void |
setOnpointercancel(Object onpointercancel)
Sets the
onpointercancel event handler for this element. |
void |
setOnpointerdown(Object onpointerdown)
Sets the
onpointerdown event handler for this element. |
void |
setOnpointerenter(Object onpointerenter)
Sets the
onpointerenter event handler for this element. |
void |
setOnpointerleave(Object onpointerleave)
Sets the
onpointerleave event handler for this element. |
void |
setOnpointerlockchange(Object onpointerlockchange)
Sets the
onpointerlockchange event handler for this element. |
void |
setOnpointerlockerror(Object onpointerlockerror)
Sets the
onpointerlockerror event handler for this element. |
void |
setOnpointermove(Object onpointermove)
Sets the
onpointermove event handler for this element. |
void |
setOnpointerout(Object onpointerout)
Sets the
onpointerout event handler for this element. |
void |
setOnpointerover(Object onpointerover)
Sets the
onpointerover event handler for this element. |
void |
setOnpointerup(Object onpointerup)
Sets the
onpointerup event handler for this element. |
void |
setOnprogress(Object onprogress)
Sets the
onprogress event handler for this element. |
void |
setOnratechange(Object onratechange)
Sets the
onratechange event handler for this element. |
void |
setOnreadystatechange(Object onreadystatechange)
Sets the
onreadystatechange event handler for this element. |
void |
setOnreset(Object onreset)
Sets the
onreset event handler for this element. |
void |
setOnresize(Object handler)
Sets the
onresize event handler for this element. |
void |
setOnscroll(Object onscroll)
Sets the
onscroll event handler for this element. |
void |
setOnsearch(Object onsearch)
Sets the
onsearch event handler for this element. |
void |
setOnseeked(Object onseeked)
Sets the
onseeked event handler for this element. |
void |
setOnseeking(Object onseeking)
Sets the
onseeking event handler for this element. |
void |
setOnselect(Object onselect)
Sets the
onselect event handler for this element. |
void |
setOnselectionchange(Object onselectionchange)
Sets the
onselectionchange event handler for this element. |
void |
setOnselectstart(Object onselectstart)
Sets the
onselectstart event handler for this element. |
void |
setOnshow(Object onshow)
Sets the
onshow event handler for this element. |
void |
setOnstalled(Object onstalled)
Sets the
onstalled event handler for this element. |
void |
setOnstop(Object onstop)
Sets the
onstop event handler for this element. |
void |
setOnstoragecommit(Object onstoragecommit)
Sets the
onstoragecommit event handler for this element. |
void |
setOnsubmit(Object onsubmit)
Sets the
onsubmit event handler for this element. |
void |
setOnsuspend(Object onsuspend)
Sets the
onsuspend event handler for this element. |
void |
setOntimeupdate(Object ontimeupdate)
Sets the
ontimeupdate event handler for this element. |
void |
setOntoggle(Object ontoggle)
Sets the
ontoggle event handler for this element. |
void |
setOnvolumechange(Object onvolumechange)
Sets the
onvolumechange event handler for this element. |
void |
setOnwaiting(Object onwaiting)
Sets the
onwaiting event handler for this element. |
void |
setOnwebkitfullscreenchange(Object onwebkitfullscreenchange)
Sets the
onwebkitfullscreenchange event handler for this element. |
void |
setOnwebkitfullscreenerror(Object onwebkitfullscreenerror)
Sets the
onwebkitfullscreenerror event handler for this element. |
void |
setOnwheel(Object onwheel)
Sets the
onwheel event handler for this element. |
void |
setTitle(String title)
Sets this document's title.
|
void |
setVlinkColor(String color)
Sets the value of the
vlinkColor property. |
void |
setWindow(Window window)
Sets the Window JavaScript object that encloses this document.
|
after, appendChild, asJavaScriptException, before, cloneNode, compareDocumentPosition, contains, getAttributes, getBaseURI, getChildNodes, getFirstChild, getJavaScriptNode, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParent, getParentElement, getParentNode, getPrefix, getPreviousSibling, getTextContent, hasAttributes, hasChildNodes, insertBefore, insertBeforeImpl, isSameNode, normalize, remove, removeChild, replaceChild, replaceWith, setNodeValue, setTextContent
addEventListener, clearEventListenersContainer, dispatchEvent, executeEventLocally, fireEvent, getEventHandler, getEventListenersContainer, hasEventHandlers, isEventHandlerOnWindow, removeEventListener, setEventHandler
clone, equivalentValues, getBrowserVersion, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getPrototype, getScriptableFor, getStartingScope, getWindow, getWindow, getWithPreemption, has, hasInstance, initParentScope, makeScriptableFor, setCaseSensitive, setDomNode, setDomNode, setHtmlElement
defineFunctionProperties, defineProperty, getClassName, put, setClassName, setParentScope
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, 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, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setPrototype, size
public void setWindow(Window window)
window
- the Window JavaScript object that encloses this documentpublic Location getLocation()
location
property.location
propertypublic void setLocation(String location) throws IOException
location
property. The location's default property is "href",
so setting "document.location='http://www.sf.net'" is equivalent to setting
"document.location.href='http://www.sf.net'".location
- the location to navigate toIOException
- when location loading failspublic String getReferrer()
referrer
property.referrer
propertypublic Element getDocumentElement()
documentElement
for the document.public Element getRootElement()
rootElement
.public SimpleScriptable getDoctype()
doctype
for the document.public String getDesignMode()
public void setDesignMode(String mode)
mode
- a value which indicates whether or not the document can be editedpublic SgmlPage getPage()
public Object getDefaultView()
public Object createDocumentFragment()
public Attr createAttribute(String attributeName)
attributeName
- the name of the attribute to createpublic Object importNode(Node importedNode, boolean deep)
importedNode
- the node to importdeep
- Whether to recursively import the subtree under the specified node; or notpublic Object adoptNode(Node externalNode)
externalNode
- the node from another document to be adoptedpublic DOMImplementation getImplementation()
public XPathNSResolver createNSResolver(Node nodeResolver)
nodeResolver
- the node to be used as a context for namespace resolutionpublic Object createTextNode(String newData)
newData
- the string value for the text nodepublic Object createComment(String comment)
comment
- the comment textpublic XPathResult evaluate(String expression, Node contextNode, Object resolver, int type, Object result)
expression
- the XPath expression string to be parsed and evaluatedcontextNode
- the context node for the evaluation of this XPath expressionresolver
- the resolver permits translation of all prefixes, including the XML namespace prefix,
within the XPath expression into appropriate namespace URIs.type
- If a specific type is specified, then the result will be returned as the corresponding typeresult
- the result object which may be reused and returned by this methodpublic Object createElement(String tagName)
tagName
- the tag namepublic Object createElementNS(String namespaceURI, String qualifiedName)
namespaceURI
- the URI that identifies an XML namespacequalifiedName
- the qualified name of the element type to instantiatepublic HTMLCollection getElementsByTagName(String tagName)
tagName
- the name to search forpublic Object getElementsByTagNameNS(Object namespaceURI, String localName)
namespaceURI
- the namespace URI of elements to look forlocalName
- is either the local name of elements to look for or the special value "*",
which matches all elements.public Object getActiveElement()
activeElement
property.activeElement
propertypublic String getCharacterSet()
public String getCharset()
public String getDefaultCharset()
public Object getAnchors()
anchors
.public Object getApplets()
applets
.public HTMLElement getBody()
body
element.body
elementpublic void close() throws IOException
close
.
See http://www.whatwg.org/specs/web-apps/current-work/multipage/section-dynamic.html for
a good description of the semantics of open(), write(), writeln() and close().IOException
- if an IO problem occurspublic String getCompatMode()
compatMode
property.compatMode
propertypublic int getDocumentMode()
documentMode
property.documentMode
propertypublic void forceDocumentMode(int documentMode)
documentMode
- the mode forced by the meta tagpublic Node querySelector(String selectors)
selectors
- the selectorspublic NodeList querySelectorAll(String selectors)
selectors
- the selectorspublic boolean queryCommandSupported(String cmd)
cmd
- the command identifiertrue
if the command is supportedpublic boolean queryCommandEnabled(String cmd)
cmd
- the command identifiertrue
if the command can be successfully executedpublic boolean execCommand(String cmd, boolean userInterface, Object value)
cmd
- the command identifieruserInterface
- display a user interface if the command supports onevalue
- the string, number, or other value to assign (possible values depend on the command)true
if the command was successful, false
otherwisepublic String getUniqueID()
public String getURL()
URL
property.URL
propertypublic String getDocumentURI()
documentURI
property.documentURI
propertypublic String getURLUnencoded()
URLUnencoded
property.URLUnencoded
propertypublic Object get(String name, net.sourceforge.htmlunit.corejs.javascript.Scriptable start)
SimpleScriptable.getWithPreemption(String)
.
get
in interface net.sourceforge.htmlunit.corejs.javascript.Scriptable
get
in class SimpleScriptable
public String getCookie()
cookie
property.cookie
propertypublic Event createEvent(String eventType) throws DOMException
DocumentEvent
interface's
DocumentEvent.createEvent(String)
method. The method creates an
uninitialized event of the specified type.eventType
- the event type to createDOMException
- if the event type is not supported (will have a type of
DOMException.NOT_SUPPORTED_ERR)DOMException
public NodeIterator createNodeIterator(Node root, int whatToShow, net.sourceforge.htmlunit.corejs.javascript.Scriptable filter)
root
- The root node at which to begin the NodeIterator's traversal.whatToShow
- an optional long representing a bitmask created by combining
the constant properties of NodeFilter
filter
- an object implementing the NodeFilter
interfacepublic Object createTreeWalker(Node root, double whatToShow, net.sourceforge.htmlunit.corejs.javascript.Scriptable filter, boolean expandEntityReferences) throws DOMException
null
.NodeFilter
for the set of possible Show_ values.NodeFilter
to be used with this TreeWalker, or null
to indicate no filter.false
, the contents of EntityReference nodes are not present
in the logical view.root
- the node which will serve as the root for the TreeWalkerwhatToShow
- specifies which node types may appear in the logical view of the tree presentedfilter
- the NodeFilter to be used with this TreeWalker, or null to indicate no filterexpandEntityReferences
- If false,
the contents of EntityReference nodes are not presented in the logical viewDOMException
- on attempt to create a TreeWalker with a root that is null
DOMException
public Range createRange()
public String getDomain()
null
if the server
cannot be identified by a domain name.public void setDomain(String newDomain)
The domain will be set according to the following rules:
TODO This code could be modified to understand country domain suffixes. The domain www.bbc.co.uk should be trimmable only down to bbc.co.uk trimming to co.uk should not be possible.
newDomain
- the new domain to setpublic void setOnclick(Object handler)
onclick
event handler for this element.handler
- the onclick
event handler for this elementpublic Object getOnclick()
onclick
event handler for this element.onclick
event handler for this elementpublic void setOndblclick(Object handler)
ondblclick
event handler for this element.handler
- the ondblclick
event handler for this elementpublic Object getOndblclick()
ondblclick
event handler for this element.ondblclick
event handler for this elementpublic void setOnblur(Object handler)
onblur
event handler for this element.handler
- the onblur
event handler for this elementpublic Object getOnblur()
onblur
event handler for this element.onblur
event handler for this elementpublic void setOnfocus(Object handler)
onfocus
event handler for this element.handler
- the onfocus
event handler for this elementpublic Object getOnfocus()
onfocus
event handler for this element.onfocus
event handler for this elementpublic void setOnfocusin(Object handler)
onfocusin
event handler for this element.handler
- the onfocusin
event handler for this elementpublic Object getOnfocusin()
onfocusin
event handler for this element.onfocusin
event handler for this elementpublic void setOnfocusout(Object handler)
onfocusout
event handler for this element.handler
- the onfocusout
event handler for this elementpublic Object getOnfocusout()
onfocusout
event handler for this element.onfocusout
event handler for this elementpublic void setOnkeydown(Object handler)
onkeydown
event handler for this element.handler
- the onkeydown
event handler for this elementpublic Object getOnkeydown()
onkeydown
event handler for this element.onkeydown
event handler for this elementpublic void setOnkeypress(Object handler)
onkeypress
event handler for this element.handler
- the onkeypress
event handler for this elementpublic Object getOnkeypress()
onkeypress
event handler for this element.onkeypress
event handler for this elementpublic void setOnkeyup(Object handler)
onkeyup
event handler for this element.handler
- the onkeyup
event handler for this elementpublic Object getOnkeyup()
onkeyup
event handler for this element.onkeyup
event handler for this elementpublic void setOnmousedown(Object handler)
onmousedown
event handler for this element.handler
- the onmousedown
event handler for this elementpublic Object getOnmousedown()
onmousedown
event handler for this element.onmousedown
event handler for this elementpublic void setOnmousemove(Object handler)
onmousemove
event handler for this element.handler
- the onmousemove
event handler for this elementpublic Object getOnmousemove()
onmousemove
event handler for this element.onmousemove
event handler for this elementpublic void setOnmouseout(Object handler)
onmouseout
event handler for this element.handler
- the onmouseout
event handler for this elementpublic Object getOnmouseout()
onmouseout
event handler for this element.onmouseout
event handler for this elementpublic void setOnmouseover(Object handler)
onmouseover
event handler for this element.handler
- the onmouseover
event handler for this elementpublic Object getOnmouseover()
onmouseover
event handler for this element.onmouseover
event handler for this elementpublic void setOnmouseup(Object handler)
onmouseup
event handler for this element.handler
- the onmouseup
event handler for this elementpublic Object getOnmouseup()
onmouseup
event handler for this element.onmouseup
event handler for this elementpublic void setOncontextmenu(Object handler)
oncontextmenu
event handler for this element.handler
- the oncontextmenu
event handler for this elementpublic Object getOncontextmenu()
oncontextmenu
event handler for this element.oncontextmenu
event handler for this elementpublic void setOnresize(Object handler)
onresize
event handler for this element.handler
- the onresize
event handler for this elementpublic Object getOnresize()
onresize
event handler for this element.onresize
event handler for this elementpublic void setOnerror(Object handler)
onerror
event handler for this element.handler
- the onerror
event handler for this elementpublic Object getOnerror()
onerror
event handler for this element.onerror
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOninput()
oninput
event handler for this element.oninput
event handler for this elementpublic void setOninput(Object oninput)
oninput
event handler for this element.oninput
- the oninput
event handler for this elementpublic boolean getHidden()
hidden
property.hidden
propertypublic int getChildElementCount()
getChildElementCount
in class Node
public Object elementFromPoint(int x, int y)
x
- the x offset, in pixelsy
- the y offset, in pixelspublic Object getForms()
forms
property.forms
propertypublic Object getEmbeds()
embeds
property.embeds
propertypublic Object getImages()
embeds
property.embeds
propertypublic Object getScripts()
scripts
property.scripts
propertypublic StyleSheetList getStyleSheets()
CSSStyleDeclaration
object in the document.public Object getPlugins()
plugins
property.plugins
propertypublic Object getLinks()
links
. Refer also to the
MSDN documentation.public HTMLCollection getElementsByClassName(String className)
className
- the name to search forpublic HTMLCollection getElementsByName(String elementName)
name
attribute with the specified value.
Refer to
The DOM spec for details.elementName
- - value of the name
attribute to look forname
attribute with the specified valuepublic boolean hasFocus()
false
if the active element in the document has no focus;
true
if the active element in the document has focus.public String getTitle()
public void setTitle(String title)
title
- the new titlepublic HTMLCollection getChildren()
getChildren
in class Node
public String getContentType()
contentType
property.contentType
propertypublic Selection getSelection()
public Object getHead()
head
element.head
elementpublic String getInputEncoding()
public String getLastModified()
public boolean releaseCapture()
public String getReadyState()
DomNode.READY_STATE_UNINITIALIZED
,
DomNode.READY_STATE_LOADING
,
DomNode.READY_STATE_LOADED
,
DomNode.READY_STATE_INTERACTIVE
,
DomNode.READY_STATE_COMPLETE
public void captureEvents(String type)
type
- the type of events to captureWindow.captureEvents(String)
public void releaseEvents(String type)
type
- the type of events to captureWindow.releaseEvents(String)
public String getAlinkColor()
alinkColor
property.alinkColor
propertypublic void setAlinkColor(String color)
alinkColor
property.color
- the value of the alinkColor
propertypublic String getBgColor()
bgColor
property.bgColor
propertypublic void setBgColor(String color)
bgColor
property.color
- the value of the bgColor
propertypublic String getFgColor()
fgColor
property.fgColor
propertypublic void setFgColor(String color)
fgColor
property.color
- the value of the fgColor
propertypublic String getLinkColor()
linkColor
property.linkColor
propertypublic void setLinkColor(String color)
linkColor
property.color
- the value of the linkColor
propertypublic String getVlinkColor()
vlinkColor
property.vlinkColor
propertypublic void setVlinkColor(String color)
vlinkColor
property.color
- the value of the vlinkColor
propertypublic Object getFrames()
frames
property.public Element getLastElementChild()
getLastElementChild
in class Node
public Element getFirstElementChild()
getFirstElementChild
in class Node
public String getXmlEncoding()
xmlEncoding
property.xmlEncoding
propertypublic boolean isXmlStandalone()
xmlStandalone
property.xmlStandalone
propertypublic String getXmlVersion()
xmlVersion
property.xmlVersion
propertypublic net.sourceforge.htmlunit.corejs.javascript.Function getOnabort()
onabort
event handler for this element.onabort
event handler for this elementpublic void setOnabort(Object onabort)
onabort
event handler for this element.onabort
- the onabort
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnauxclick()
onauxclick
event handler for this element.onauxclick
event handler for this elementpublic void setOnauxclick(Object onauxclick)
onauxclick
event handler for this element.onauxclick
- the onauxclick
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnbeforecopy()
onbeforecopy
event handler for this element.onbeforecopy
event handler for this elementpublic void setOnbeforecopy(Object onbeforecopy)
onbeforecopy
event handler for this element.onbeforecopy
- the onbeforecopy
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnbeforecut()
onbeforecut
event handler for this element.onbeforecut
event handler for this elementpublic void setOnbeforecut(Object onbeforecut)
onbeforecut
event handler for this element.onbeforecut
- the onbeforecut
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnbeforepaste()
onbeforepaste
event handler for this element.onbeforepaste
event handler for this elementpublic void setOnbeforepaste(Object onbeforepaste)
onbeforepaste
event handler for this element.onbeforepaste
- the onbeforepaste
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOncancel()
oncancel
event handler for this element.oncancel
event handler for this elementpublic void setOncancel(Object oncancel)
oncancel
event handler for this element.oncancel
- the oncancel
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOncanplay()
oncanplay
event handler for this element.oncanplay
event handler for this elementpublic void setOncanplay(Object oncanplay)
oncanplay
event handler for this element.oncanplay
- the oncanplay
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOncanplaythrough()
oncanplaythrough
event handler for this element.oncanplaythrough
event handler for this elementpublic void setOncanplaythrough(Object oncanplaythrough)
oncanplaythrough
event handler for this element.oncanplaythrough
- the oncanplaythrough
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnchange()
onchange
event handler for this element.onchange
event handler for this elementpublic void setOnchange(Object onchange)
onchange
event handler for this element.onchange
- the onchange
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnclose()
onclose
event handler for this element.onclose
event handler for this elementpublic void setOnclose(Object onclose)
onclose
event handler for this element.onclose
- the onclose
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOncopy()
oncopy
event handler for this element.oncopy
event handler for this elementpublic void setOncopy(Object oncopy)
oncopy
event handler for this element.oncopy
- the oncopy
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOncuechange()
oncuechange
event handler for this element.oncuechange
event handler for this elementpublic void setOncuechange(Object oncuechange)
oncuechange
event handler for this element.oncuechange
- the oncuechange
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOncut()
oncut
event handler for this element.oncut
event handler for this elementpublic void setOncut(Object oncut)
oncut
event handler for this element.oncut
- the oncut
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOndrag()
ondrag
event handler for this element.ondrag
event handler for this elementpublic void setOndrag(Object ondrag)
ondrag
event handler for this element.ondrag
- the ondrag
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOndragend()
ondragend
event handler for this element.ondragend
event handler for this elementpublic void setOndragend(Object ondragend)
ondragend
event handler for this element.ondragend
- the ondragend
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOndragenter()
ondragenter
event handler for this element.ondragenter
event handler for this elementpublic void setOndragenter(Object ondragenter)
ondragenter
event handler for this element.ondragenter
- the ondragenter
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOndragleave()
ondragleave
event handler for this element.ondragleave
event handler for this elementpublic void setOndragleave(Object ondragleave)
ondragleave
event handler for this element.ondragleave
- the ondragleave
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOndragover()
ondragover
event handler for this element.ondragover
event handler for this elementpublic void setOndragover(Object ondragover)
ondragover
event handler for this element.ondragover
- the ondragover
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOndragstart()
ondragstart
event handler for this element.ondragstart
event handler for this elementpublic void setOndragstart(Object ondragstart)
ondragstart
event handler for this element.ondragstart
- the ondragstart
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOndrop()
ondrop
event handler for this element.ondrop
event handler for this elementpublic void setOndrop(Object ondrop)
ondrop
event handler for this element.ondrop
- the ondrop
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOndurationchange()
ondurationchange
event handler for this element.ondurationchange
event handler for this elementpublic void setOndurationchange(Object ondurationchange)
ondurationchange
event handler for this element.ondurationchange
- the ondurationchange
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnemptied()
onemptied
event handler for this element.onemptied
event handler for this elementpublic void setOnemptied(Object onemptied)
onemptied
event handler for this element.onemptied
- the onemptied
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnended()
onended
event handler for this element.onended
event handler for this elementpublic void setOnended(Object onended)
onended
event handler for this element.onended
- the onended
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOngotpointercapture()
ongotpointercapture
event handler for this element.ongotpointercapture
event handler for this elementpublic void setOngotpointercapture(Object ongotpointercapture)
ongotpointercapture
event handler for this element.ongotpointercapture
- the ongotpointercapture
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOninvalid()
oninvalid
event handler for this element.oninvalid
event handler for this elementpublic void setOninvalid(Object oninvalid)
oninvalid
event handler for this element.oninvalid
- the oninvalid
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnload()
onload
event handler for this element.onload
event handler for this elementpublic void setOnload(Object onload)
onload
event handler for this element.onload
- the onload
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnloadeddata()
onloadeddata
event handler for this element.onloadeddata
event handler for this elementpublic void setOnloadeddata(Object onloadeddata)
onloadeddata
event handler for this element.onloadeddata
- the onloadeddata
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnloadedmetadata()
onloadedmetadata
event handler for this element.onloadedmetadata
event handler for this elementpublic void setOnloadedmetadata(Object onloadedmetadata)
onloadedmetadata
event handler for this element.onloadedmetadata
- the onloadedmetadata
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnloadstart()
onloadstart
event handler for this element.onloadstart
event handler for this elementpublic void setOnloadstart(Object onloadstart)
onloadstart
event handler for this element.onloadstart
- the onloadstart
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnlostpointercapture()
onlostpointercapture
event handler for this element.onlostpointercapture
event handler for this elementpublic void setOnlostpointercapture(Object onlostpointercapture)
onlostpointercapture
event handler for this element.onlostpointercapture
- the onlostpointercapture
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmouseenter()
onmouseenter
event handler for this element.onmouseenter
event handler for this elementpublic void setOnmouseenter(Object onmouseenter)
onmouseenter
event handler for this element.onmouseenter
- the onmouseenter
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmouseleave()
onmouseleave
event handler for this element.onmouseleave
event handler for this elementpublic void setOnmouseleave(Object onmouseleave)
onmouseleave
event handler for this element.onmouseleave
- the onmouseleave
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmousewheel()
onmousewheel
event handler for this element.onmousewheel
event handler for this elementpublic void setOnmousewheel(Object onmousewheel)
onmousewheel
event handler for this element.onmousewheel
- the onmousewheel
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnpaste()
onpaste
event handler for this element.onpaste
event handler for this elementpublic void setOnpaste(Object onpaste)
onpaste
event handler for this element.onpaste
- the onpaste
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnpause()
onpause
event handler for this element.onpause
event handler for this elementpublic void setOnpause(Object onpause)
onpause
event handler for this element.onpause
- the onpause
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnplay()
onplay
event handler for this element.onplay
event handler for this elementpublic void setOnplay(Object onplay)
onplay
event handler for this element.onplay
- the onplay
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnplaying()
onplaying
event handler for this element.onplaying
event handler for this elementpublic void setOnplaying(Object onplaying)
onplaying
event handler for this element.onplaying
- the onplaying
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnpointercancel()
onpointercancel
event handler for this element.onpointercancel
event handler for this elementpublic void setOnpointercancel(Object onpointercancel)
onpointercancel
event handler for this element.onpointercancel
- the onpointercancel
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnpointerdown()
onpointerdown
event handler for this element.onpointerdown
event handler for this elementpublic void setOnpointerdown(Object onpointerdown)
onpointerdown
event handler for this element.onpointerdown
- the onpointerdown
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnpointerenter()
onpointerenter
event handler for this element.onpointerenter
event handler for this elementpublic void setOnpointerenter(Object onpointerenter)
onpointerenter
event handler for this element.onpointerenter
- the onpointerenter
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnpointerleave()
onpointerleave
event handler for this element.onpointerleave
event handler for this elementpublic void setOnpointerleave(Object onpointerleave)
onpointerleave
event handler for this element.onpointerleave
- the onpointerleave
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnpointerlockchange()
onpointerlockchange
event handler for this element.onpointerlockchange
event handler for this elementpublic void setOnpointerlockchange(Object onpointerlockchange)
onpointerlockchange
event handler for this element.onpointerlockchange
- the onpointerlockchange
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnpointerlockerror()
onpointerlockerror
event handler for this element.onpointerlockerror
event handler for this elementpublic void setOnpointerlockerror(Object onpointerlockerror)
onpointerlockerror
event handler for this element.onpointerlockerror
- the onpointerlockerror
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnpointermove()
onpointermove
event handler for this element.onpointermove
event handler for this elementpublic void setOnpointermove(Object onpointermove)
onpointermove
event handler for this element.onpointermove
- the onpointermove
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnpointerout()
onpointerout
event handler for this element.onpointerout
event handler for this elementpublic void setOnpointerout(Object onpointerout)
onpointerout
event handler for this element.onpointerout
- the onpointerout
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnpointerover()
onpointerover
event handler for this element.onpointerover
event handler for this elementpublic void setOnpointerover(Object onpointerover)
onpointerover
event handler for this element.onpointerover
- the onpointerover
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnpointerup()
onpointerup
event handler for this element.onpointerup
event handler for this elementpublic void setOnpointerup(Object onpointerup)
onpointerup
event handler for this element.onpointerup
- the onpointerup
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnprogress()
onprogress
event handler for this element.onprogress
event handler for this elementpublic void setOnprogress(Object onprogress)
onprogress
event handler for this element.onprogress
- the onprogress
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnratechange()
onratechange
event handler for this element.onratechange
event handler for this elementpublic void setOnratechange(Object onratechange)
onratechange
event handler for this element.onratechange
- the onratechange
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnreadystatechange()
onreadystatechange
event handler for this element.onreadystatechange
event handler for this elementpublic void setOnreadystatechange(Object onreadystatechange)
onreadystatechange
event handler for this element.onreadystatechange
- the onreadystatechange
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnreset()
onreset
event handler for this element.onreset
event handler for this elementpublic void setOnreset(Object onreset)
onreset
event handler for this element.onreset
- the onreset
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnscroll()
onscroll
event handler for this element.onscroll
event handler for this elementpublic void setOnscroll(Object onscroll)
onscroll
event handler for this element.onscroll
- the onscroll
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnsearch()
onsearch
event handler for this element.onsearch
event handler for this elementpublic void setOnsearch(Object onsearch)
onsearch
event handler for this element.onsearch
- the onsearch
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnseeked()
onseeked
event handler for this element.onseeked
event handler for this elementpublic void setOnseeked(Object onseeked)
onseeked
event handler for this element.onseeked
- the onseeked
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnseeking()
onseeking
event handler for this element.onseeking
event handler for this elementpublic void setOnseeking(Object onseeking)
onseeking
event handler for this element.onseeking
- the onseeking
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnselect()
onselect
event handler for this element.onselect
event handler for this elementpublic void setOnselect(Object onselect)
onselect
event handler for this element.onselect
- the onselect
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnselectionchange()
onselectionchange
event handler for this element.onselectionchange
event handler for this elementpublic void setOnselectionchange(Object onselectionchange)
onselectionchange
event handler for this element.onselectionchange
- the onselectionchange
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnselectstart()
onselectstart
event handler for this element.onselectstart
event handler for this elementpublic void setOnselectstart(Object onselectstart)
onselectstart
event handler for this element.onselectstart
- the onselectstart
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnshow()
onshow
event handler for this element.onshow
event handler for this elementpublic void setOnshow(Object onshow)
onshow
event handler for this element.onshow
- the onshow
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnstalled()
onstalled
event handler for this element.onstalled
event handler for this elementpublic void setOnstalled(Object onstalled)
onstalled
event handler for this element.onstalled
- the onstalled
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnsubmit()
onsubmit
event handler for this element.onsubmit
event handler for this elementpublic void setOnsubmit(Object onsubmit)
onsubmit
event handler for this element.onsubmit
- the onsubmit
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnsuspend()
onsuspend
event handler for this element.onsuspend
event handler for this elementpublic void setOnsuspend(Object onsuspend)
onsuspend
event handler for this element.onsuspend
- the onsuspend
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOntimeupdate()
ontimeupdate
event handler for this element.ontimeupdate
event handler for this elementpublic void setOntimeupdate(Object ontimeupdate)
ontimeupdate
event handler for this element.ontimeupdate
- the ontimeupdate
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOntoggle()
ontoggle
event handler for this element.ontoggle
event handler for this elementpublic void setOntoggle(Object ontoggle)
ontoggle
event handler for this element.ontoggle
- the ontoggle
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnvolumechange()
onvolumechange
event handler for this element.onvolumechange
event handler for this elementpublic void setOnvolumechange(Object onvolumechange)
onvolumechange
event handler for this element.onvolumechange
- the onvolumechange
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnwaiting()
onwaiting
event handler for this element.onwaiting
event handler for this elementpublic void setOnwaiting(Object onwaiting)
onwaiting
event handler for this element.onwaiting
- the onwaiting
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnwebkitfullscreenchange()
onwebkitfullscreenchange
event handler for this element.onwebkitfullscreenchange
event handler for this elementpublic void setOnwebkitfullscreenchange(Object onwebkitfullscreenchange)
onwebkitfullscreenchange
event handler for this element.onwebkitfullscreenchange
- the onwebkitfullscreenchange
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnwebkitfullscreenerror()
onwebkitfullscreenerror
event handler for this element.onwebkitfullscreenerror
event handler for this elementpublic void setOnwebkitfullscreenerror(Object onwebkitfullscreenerror)
onwebkitfullscreenerror
event handler for this element.onwebkitfullscreenerror
- the onwebkitfullscreenerror
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnwheel()
onwheel
event handler for this element.onwheel
event handler for this elementpublic void setOnwheel(Object onwheel)
onwheel
event handler for this element.onwheel
- the onwheel
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnafterscriptexecute()
onafterscriptexecute
event handler for this element.onafterscriptexecute
event handler for this elementpublic void setOnafterscriptexecute(Object onafterscriptexecute)
onafterscriptexecute
event handler for this element.onafterscriptexecute
- the onafterscriptexecute
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnbeforescriptexecute()
onbeforescriptexecute
event handler for this element.onbeforescriptexecute
event handler for this elementpublic void setOnbeforescriptexecute(Object onbeforescriptexecute)
onbeforescriptexecute
event handler for this element.onbeforescriptexecute
- the onbeforescriptexecute
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmozfullscreenchange()
onmozfullscreenchange
event handler for this element.onmozfullscreenchange
event handler for this elementpublic void setOnmozfullscreenchange(Object onmozfullscreenchange)
onmozfullscreenchange
event handler for this element.onmozfullscreenchange
- the onmozfullscreenchange
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmozfullscreenerror()
onmozfullscreenerror
event handler for this element.onmozfullscreenerror
event handler for this elementpublic void setOnmozfullscreenerror(Object onmozfullscreenerror)
onmozfullscreenerror
event handler for this element.onmozfullscreenerror
- the onmozfullscreenerror
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnhelp()
onhelp
event handler for this element.onhelp
event handler for this elementpublic void setOnhelp(Object onhelp)
onhelp
event handler for this element.onhelp
- the onhelp
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmscontentzoom()
onmscontentzoom
event handler for this element.onmscontentzoom
event handler for this elementpublic void setOnmscontentzoom(Object onmscontentzoom)
onmscontentzoom
event handler for this element.onmscontentzoom
- the onmscontentzoom
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmsfullscreenchange()
onmsfullscreenchange
event handler for this element.onmsfullscreenchange
event handler for this elementpublic void setOnmsfullscreenchange(Object onmsfullscreenchange)
onmsfullscreenchange
event handler for this element.onmsfullscreenchange
- the onmsfullscreenchange
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmsfullscreenerror()
onmsfullscreenerror
event handler for this element.onmsfullscreenerror
event handler for this elementpublic void setOnmsfullscreenerror(Object onmsfullscreenerror)
onmsfullscreenerror
event handler for this element.onmsfullscreenerror
- the onmsfullscreenerror
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmsgesturechange()
onmsgesturechange
event handler for this element.onmsgesturechange
event handler for this elementpublic void setOnmsgesturechange(Object onmsgesturechange)
onmsgesturechange
event handler for this element.onmsgesturechange
- the onmsgesturechange
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmsgesturedoubletap()
onmsgesturedoubletap
event handler for this element.onmsgesturedoubletap
event handler for this elementpublic void setOnmsgesturedoubletap(Object onmsgesturedoubletap)
onmsgesturedoubletap
event handler for this element.onmsgesturedoubletap
- the onmsgesturedoubletap
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmsgestureend()
onmsgestureend
event handler for this element.onmsgestureend
event handler for this elementpublic void setOnmsgestureend(Object onmsgestureend)
onmsgestureend
event handler for this element.onmsgestureend
- the onmsgestureend
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmsgesturehold()
onmsgesturehold
event handler for this element.onmsgesturehold
event handler for this elementpublic void setOnmsgesturehold(Object onmsgesturehold)
onmsgesturehold
event handler for this element.onmsgesturehold
- the onmsgesturehold
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmsgesturestart()
onmsgesturestart
event handler for this element.onmsgesturestart
event handler for this elementpublic void setOnmsgesturestart(Object onmsgesturestart)
onmsgesturestart
event handler for this element.onmsgesturestart
- the onmsgesturestart
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmsgesturetap()
onmsgesturetap
event handler for this element.onmsgesturetap
event handler for this elementpublic void setOnmsgesturetap(Object onmsgesturetap)
onmsgesturetap
event handler for this element.onmsgesturetap
- the onmsgesturetap
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmsinertiastart()
onmsinertiastart
event handler for this element.onmsinertiastart
event handler for this elementpublic void setOnmsinertiastart(Object onmsinertiastart)
onmsinertiastart
event handler for this element.onmsinertiastart
- the onmsinertiastart
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmsmanipulationstatechanged()
onmsmanipulationstatechanged
event handler for this element.onmsmanipulationstatechanged
event handler for this elementpublic void setOnmsmanipulationstatechanged(Object onmsmanipulationstatechanged)
onmsmanipulationstatechanged
event handler for this element.onmsmanipulationstatechanged
- the onmsmanipulationstatechanged
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmspointercancel()
onmspointercancel
event handler for this element.onmspointercancel
event handler for this elementpublic void setOnmspointercancel(Object onmspointercancel)
onmspointercancel
event handler for this element.onmspointercancel
- the onmspointercancel
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmspointerdown()
onmspointerdown
event handler for this element.onmspointerdown
event handler for this elementpublic void setOnmspointerdown(Object onmspointerdown)
onmspointerdown
event handler for this element.onmspointerdown
- the onmspointerdown
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmspointerenter()
onmspointerenter
event handler for this element.onmspointerenter
event handler for this elementpublic void setOnmspointerenter(Object onmspointerenter)
onmspointerenter
event handler for this element.onmspointerenter
- the onmspointerenter
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmspointerleave()
onmspointerleave
event handler for this element.onmspointerleave
event handler for this elementpublic void setOnmspointerleave(Object onmspointerleave)
onmspointerleave
event handler for this element.onmspointerleave
- the onmspointerleave
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmspointermove()
onmspointermove
event handler for this element.onmspointermove
event handler for this elementpublic void setOnmspointermove(Object onmspointermove)
onmspointermove
event handler for this element.onmspointermove
- the onmspointermove
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmspointerout()
onmspointerout
event handler for this element.onmspointerout
event handler for this elementpublic void setOnmspointerout(Object onmspointerout)
onmspointerout
event handler for this element.onmspointerout
- the onmspointerout
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmspointerover()
onmspointerover
event handler for this element.onmspointerover
event handler for this elementpublic void setOnmspointerover(Object onmspointerover)
onmspointerover
event handler for this element.onmspointerover
- the onmspointerover
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmspointerup()
onmspointerup
event handler for this element.onmspointerup
event handler for this elementpublic void setOnmspointerup(Object onmspointerup)
onmspointerup
event handler for this element.onmspointerup
- the onmspointerup
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmssitemodejumplistitemremoved()
onmssitemodejumplistitemremoved
event handler for this element.onmssitemodejumplistitemremoved
event handler for this elementpublic void setOnmssitemodejumplistitemremoved(Object onmssitemodejumplistitemremoved)
onmssitemodejumplistitemremoved
event handler for this element.onmssitemodejumplistitemremoved
- the onmssitemodejumplistitemremoved
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmsthumbnailclick()
onmsthumbnailclick
event handler for this element.onmsthumbnailclick
event handler for this elementpublic void setOnmsthumbnailclick(Object onmsthumbnailclick)
onmsthumbnailclick
event handler for this element.onmsthumbnailclick
- the onmsthumbnailclick
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnstop()
onstop
event handler for this element.onstop
event handler for this elementpublic void setOnstop(Object onstop)
onstop
event handler for this element.onstop
- the onstop
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnstoragecommit()
onstoragecommit
event handler for this element.onstoragecommit
event handler for this elementpublic void setOnstoragecommit(Object onstoragecommit)
onstoragecommit
event handler for this element.onstoragecommit
- the onstoragecommit
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnactivate()
onactivate
event handler for this element.onactivate
event handler for this elementpublic void setOnactivate(Object onactivate)
onactivate
event handler for this element.onactivate
- the onactivate
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnbeforeactivate()
onbeforeactivate
event handler for this element.onbeforeactivate
event handler for this elementpublic void setOnbeforeactivate(Object onbeforeactivate)
onbeforeactivate
event handler for this element.onbeforeactivate
- the onbeforeactivate
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnbeforedeactivate()
onbeforedeactivate
event handler for this element.onbeforedeactivate
event handler for this elementpublic void setOnbeforedeactivate(Object onbeforedeactivate)
onbeforedeactivate
event handler for this element.onbeforedeactivate
- the onbeforedeactivate
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.Function getOndeactivate()
ondeactivate
event handler for this element.ondeactivate
event handler for this elementpublic void setOndeactivate(Object ondeactivate)
ondeactivate
event handler for this element.ondeactivate
- the ondeactivate
event handler for this elementpublic net.sourceforge.htmlunit.corejs.javascript.ScriptableObject getCurrentScript()
currentScript
public void setCurrentScript(net.sourceforge.htmlunit.corejs.javascript.ScriptableObject script)
script
- the currentScript
public net.sourceforge.htmlunit.corejs.javascript.ScriptableObject getFonts()
FontFaceSet
public HTMLCollection getAll()
all
property.all
propertypublic Object getParentWindow()
protected boolean isReadOnlySettable(String name, Object value)
isReadOnlySettable
in class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject
public Object getElementById(String id)
null
otherwise.id
- the ID to search fornull
otherwisepublic Object createProcessingInstruction(String target, String data)
target
- the targetdata
- the datapublic Object createCDATASection(String data)
data
- the datapublic void clear()
Copyright © 2002–2021 Gargoyle Software Inc.. All rights reserved.