public class Window extends EventTarget implements WindowOrWorkerGlobalScope, net.sourceforge.htmlunit.corejs.javascript.Function, AutoCloseable
Window
.Modifier and Type | Field and Description |
---|---|
static short |
PERSISTENT
To be documented.
|
static short |
TEMPORARY
To be documented.
|
Constructor and Description |
---|
Window()
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
void |
alert(Object message)
The JavaScript function
alert() . |
int |
animateAnimationsFrames()
Invokes all the animation callbacks registered for this window by
calling
requestAnimationFrame(Object) once. |
String |
atob(String encodedData)
Decodes a string of data which has been encoded using base-64 encoding.
|
void |
blur()
Removes focus from this element.
|
String |
btoa(String stringToEncode)
Creates a base-64 encoded ASCII string from a string of binary data.
|
Object |
call(net.sourceforge.htmlunit.corejs.javascript.Context cx,
net.sourceforge.htmlunit.corejs.javascript.Scriptable scope,
net.sourceforge.htmlunit.corejs.javascript.Scriptable thisObj,
Object[] args) |
void |
cancelAnimationFrame(Object requestId)
Remove the callback from the list of animationFrames.
|
void |
captureEvents(String type)
Does nothing special anymore.
|
void |
clearComputedStyles()
Clears the computed styles.
|
void |
clearComputedStyles(Element element)
Clears the computed styles for a specific
Element . |
void |
clearComputedStylesUpToRoot(Element element)
Clears the computed styles for a specific
Element
and all parent elements. |
void |
clearInterval(int intervalID)
Cancels the interval previously started using the
setInterval(Context, Scriptable, Object[], Function) method. |
void |
clearTimeout(int timeoutId)
Cancels a time-out previously set with the
setTimeout(Context, Scriptable, Object[], Function) method. |
void |
close_js()
Closes this window.
|
void |
close() |
void |
collectGarbage()
An undocumented IE function.
|
boolean |
confirm(String message)
The JavaScript function
confirm . |
net.sourceforge.htmlunit.corejs.javascript.Scriptable |
construct(net.sourceforge.htmlunit.corejs.javascript.Context cx,
net.sourceforge.htmlunit.corejs.javascript.Scriptable scope,
Object[] args) |
boolean |
dispatchEvent(Event event)
Dispatches an event into the event system (standards-conformant browsers only).
|
void |
dump(String message)
Prints messages to the
console . |
boolean |
find(String search,
boolean caseSensitive,
boolean backwards,
boolean wrapAround,
boolean wholeWord,
boolean searchInFrames,
boolean showDialog)
Stub only at the moment.
|
void |
focus()
Sets the focus to this element.
|
Object |
get(int index,
net.sourceforge.htmlunit.corejs.javascript.Scriptable start) |
ApplicationCache |
getApplicationCache()
Returns the application cache.
|
Navigator |
getClientInformation()
Returns the JavaScript property
clientInformation . |
DataTransfer |
getClipboardData()
Returns the JavaScript property
clipboardData . |
CSS2Properties |
getComputedStyle(Object element,
String pseudoElement)
Returns computed style of the element.
|
net.sourceforge.htmlunit.corejs.javascript.ScriptableObject |
getConsole()
Returns the
console property. |
Object |
getControllers()
Gets the
controllers . |
Crypto |
getCrypto()
Returns the
crypto property. |
Event |
getCurrentEvent()
Returns the current event (used internally regardless of the emulation mode).
|
int |
getDevicePixelRatio()
Returns the
devicePixelRatio property. |
DocumentProxy |
getDocument_js()
Returns the JavaScript property
document . |
Document |
getDocument()
Returns the window's current document.
|
Object |
getDoNotTrack()
Returns the
doNotTrack property. |
Object |
getEvent()
Returns the current event.
|
External |
getExternal()
Returns the
external property. |
Object |
getFrameElement()
Returns the (i)frame in which the window is contained.
|
Window |
getFrames_js()
Returns the value of the
frames property. |
History |
getHistory()
Returns the
history property. |
int |
getInnerHeight()
Returns the
innerHeight . |
int |
getInnerWidth()
Returns the
innerWidth . |
int |
getLength()
Returns the number of frames contained by this window.
|
Storage |
getLocalStorage()
Returns the
localStorage property. |
Location |
getLocation()
Returns the
location property. |
int |
getMozInnerScreenX()
Returns the value of
mozInnerScreenX property. |
int |
getMozInnerScreenY()
Returns the value of
mozInnerScreenY property. |
String |
getName()
Returns the value of the window's
name property. |
Navigator |
getNavigator()
Returns the JavaScript property
navigator . |
Netscape |
getNetscape()
Returns the value of
netscape property. |
Object |
getOffscreenBuffering()
Returns the
offscreenBuffering property. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnabort()
Returns the
onabort event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnafterprint()
Returns the
onafterprint event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnanimationend()
Returns the
onanimationend event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnanimationiteration()
Returns the
onanimationiteration event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnanimationstart()
Returns the
onanimationstart event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnauxclick()
Returns the
onauxclick event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnbeforeprint()
Returns the
onbeforeprint event handler. |
Object |
getOnbeforeunload()
Returns the value of the window's
onbeforeunload property. |
Object |
getOnblur()
Returns the
onblur property (not necessary a function if something else has been set). |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOncancel()
Returns the
oncancel event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOncanplay()
Returns the
oncanplay event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOncanplaythrough()
Returns the
oncanplaythrough event handler. |
Object |
getOnchange()
Getter for the
onchange event handler. |
Object |
getOnclick()
Returns the
onclick property (not necessary a function if something else has been set). |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnclose()
Returns the
onclose event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOncontextmenu()
Returns the
oncontextmenu event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOncuechange()
Returns the
oncuechange event handler. |
Object |
getOndblclick()
Returns the
ondblclick property (not necessary a function if something else has been set). |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOndevicelight()
Returns the
ondevicelight event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOndevicemotion()
Returns the
ondevicemotion event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOndeviceorientation()
Returns the
ondeviceorientation event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOndeviceorientationabsolute()
Returns the
ondeviceorientationabsolute event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOndeviceproximity()
Returns the
ondeviceproximity event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOndrag()
Returns the
ondrag event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOndragend()
Returns the
ondragend event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOndragenter()
Returns the
ondragenter event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOndragleave()
Returns the
ondragleave event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOndragover()
Returns the
ondragover event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOndragstart()
Returns the
ondragstart event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOndrop()
Returns the
ondrop event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOndurationchange()
Returns the
ondurationchange event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnemptied()
Returns the
onemptied event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnended()
Returns the
onended event handler. |
Object |
getOnerror()
Returns the value of the window's
onerror property. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnfocus()
Returns the
onfocus event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnfocusin()
Returns the
onfocusin event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnfocusout()
Returns the
onfocusout event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOngotpointercapture()
Returns the
ongotpointercapture event handler. |
Object |
getOnhashchange()
Returns the
onhashchange property (not necessary a function if something else has been set). |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnhelp()
Returns the
onhelp event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOninput()
Returns the
oninput event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOninvalid()
Returns the
oninvalid event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnkeydown()
Returns the
onkeydown event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnkeypress()
Returns the
onkeypress event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnkeyup()
Returns the
onkeyup event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnlanguagechange()
Returns the
onlanguagechange event handler. |
Object |
getOnload()
Returns the
onload property. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnloadeddata()
Returns the
onloadeddata event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnloadedmetadata()
Returns the
onloadedmetadata event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnloadstart()
Returns the
onloadstart event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnlostpointercapture()
Returns the
onlostpointercapture event handler. |
Object |
getOnmessage()
Returns the value of the window's
onmessage property. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmousedown()
Returns the
onmousedown event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmouseenter()
Returns the
onmouseenter event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmouseleave()
Returns the
onmouseleave event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmousemove()
Returns the
onmousemove event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmouseout()
Returns the
onmouseout event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmouseover()
Returns the
onmouseover event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmouseup()
Returns the
onmouseup event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmousewheel()
Returns the
onmousewheel event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmozfullscreenchange()
Returns the
onmozfullscreenchange event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmozfullscreenerror()
Returns the
onmozfullscreenerror event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmsgesturechange()
Returns the
onmsgesturechange event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmsgesturedoubletap()
Returns the
onmsgesturedoubletap event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmsgestureend()
Returns the
onmsgestureend event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmsgesturehold()
Returns the
onmsgesturehold event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmsgesturestart()
Returns the
onmsgesturestart event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmsgesturetap()
Returns the
onmsgesturetap event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmsinertiastart()
Returns the
onmsinertiastart event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmspointercancel()
Returns the
onmspointercancel event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmspointerdown()
Returns the
onmspointerdown event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmspointerenter()
Returns the
onmspointerenter event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmspointerleave()
Returns the
onmspointerleave event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmspointermove()
Returns the
onmspointermove event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmspointerout()
Returns the
onmspointerout event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmspointerover()
Returns the
onmspointerover event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnmspointerup()
Returns the
onmspointerup event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnoffline()
Returns the
onoffline event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnonline()
Returns the
ononline event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnpagehide()
Returns the
onpagehide event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnpageshow()
Returns the
onpageshow event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnpause()
Returns the
onpause event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnplay()
Returns the
onplay event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnplaying()
Returns the
onplaying event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnpointercancel()
Returns the
onpointercancel event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnpointerdown()
Returns the
onpointerdown event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnpointerenter()
Returns the
onpointerenter event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnpointerleave()
Returns the
onpointerleave event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnpointermove()
Returns the
onpointermove event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnpointerout()
Returns the
onpointerout event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnpointerover()
Returns the
onpointerover event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnpointerup()
Returns the
onpointerup event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnpopstate()
Returns the
onpopstate event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnprogress()
Returns the
onprogress event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnratechange()
Returns the
onratechange event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnreadystatechange()
Returns the
onreadystatechange event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnrejectionhandled()
Returns the
onrejectionhandled event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnreset()
Returns the
onreset event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnresize()
Returns the
onresize event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnscroll()
Returns the
onscroll event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnsearch()
Returns the
onsearch event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnseeked()
Returns the
onseeked event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnseeking()
Returns the
onseeking event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnselect()
Returns the
onselect event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnshow()
Returns the
onshow event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnstalled()
Returns the
onstalled event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnstorage()
Returns the
onstorage event handler. |
Object |
getOnsubmit()
Getter for the
onsubmit event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnsuspend()
Returns the
onsuspend event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOntimeupdate()
Returns the
ontimeupdate event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOntoggle()
Returns the
ontoggle event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOntransitionend()
Returns the
ontransitionend event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnunhandledrejection()
Returns the
onunhandledrejection event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnunload()
Returns the
onunload event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnuserproximity()
Returns the
onuserproximity event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnvolumechange()
Returns the
onvolumechange event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnwaiting()
Returns the
onwaiting event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnwebkitanimationend()
Returns the
onwebkitanimationend event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnwebkitanimationiteration()
Returns the
onwebkitanimationiteration event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnwebkitanimationstart()
Returns the
onwebkitanimationstart event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnwebkittransitionend()
Returns the
onwebkittransitionend event handler. |
net.sourceforge.htmlunit.corejs.javascript.Function |
getOnwheel()
Returns the
onwheel event handler. |
Object |
getOpener()
Returns the value of the
opener property. |
int |
getOuterHeight()
Returns the
outerHeight . |
int |
getOuterWidth()
Returns the
outerWidth . |
int |
getPageXOffset()
Returns the value of
pageXOffset property. |
int |
getPageYOffset()
Returns the value of
pageYOffset property. |
net.sourceforge.htmlunit.corejs.javascript.ScriptableObject |
getParent()
Returns the value of the
parent property. |
Performance |
getPerformance()
Returns the
performance property. |
static int |
getPort(URL url)
Returns the port of the specified URL.
|
net.sourceforge.htmlunit.corejs.javascript.Scriptable |
getPrototype(Class<? extends SimpleScriptable> jsClass)
Returns the prototype object corresponding to the specified HtmlUnit class inside the window scope.
|
net.sourceforge.htmlunit.corejs.javascript.Scriptable |
getPrototype(String className)
Returns the prototype object corresponding to the specified HtmlUnit class inside the window scope.
|
static WindowProxy |
getProxy(WebWindow w)
Returns the proxy for the specified window.
|
Screen |
getScreen()
Returns the
screen property. |
int |
getScrollX()
Returns the value of
scrollX property. |
int |
getScrollY()
Returns the value of
scrollY property. |
Selection |
getSelection()
Returns the current selection.
|
Selection |
getSelectionImpl()
Returns the current selection.
|
Window |
getSelf()
Returns the
self property. |
Storage |
getSessionStorage()
Returns the
sessionStorage property. |
SpeechSynthesis |
getSpeechSynthesis()
Returns the
speechSynthesis property. |
String |
getStatus()
Returns the text from the status line.
|
Storage |
getStorage(StorageHolder.Type storageType)
Gets the storage of the specified type.
|
StyleMedia |
getStyleMedia()
Returns the
styleMedia property. |
Object |
getTop()
Returns the value of the
top property. |
WebWindow |
getWebWindow()
Returns the WebWindow associated with this Window.
|
Window |
getWindow_js()
Returns the window property.
|
Object |
getWithFallback(String name)
To be called when the property detection fails in normal scenarios.
|
void |
initialize()
Initializes the object.
|
void |
initialize(Page enclosedPage)
Initialize the object.
|
void |
initialize(WebWindow webWindow,
Page pageToEnclose)
Initializes this window.
|
boolean |
isClosed()
Indicates if this window is closed.
|
boolean |
isConst(String name)
Used to allow re-declaration of constants (eg: "var undefined;").
|
protected boolean |
isReadOnlySettable(String name,
Object value) |
static net.sourceforge.htmlunit.corejs.javascript.Scriptable |
jsConstructor(net.sourceforge.htmlunit.corejs.javascript.Context cx,
Object[] args,
net.sourceforge.htmlunit.corejs.javascript.Function ctorObj,
boolean inNewExpr)
Creates an instance.
|
MediaQueryList |
matchMedia(String mediaQueryString)
Returns a new MediaQueryList object representing the parsed results of the specified media query string.
|
void |
moveBy(int x,
int y)
Does nothing.
|
void |
moveTo(int x,
int y)
Does nothing.
|
void |
navigate(String url)
Loads the new HTML document corresponding to the specified URL.
|
WindowProxy |
open(Object url,
Object name,
Object features,
Object replace)
Opens a new window.
|
void |
postMessage(String message,
String targetOrigin,
Object transfer)
Posts a message.
|
void |
print()
Prints the current page.
|
String |
prompt(String message,
Object defaultValue)
The JavaScript function
prompt . |
void |
releaseEvents(String type)
Does nothing special anymore.
|
int |
requestAnimationFrame(Object callback)
Add callback to the list of animationFrames.
|
void |
resizeBy(int width,
int height)
Does nothing.
|
void |
resizeTo(int width,
int height)
Does nothing.
|
String |
scriptEngine()
Gets the name of the scripting engine.
|
int |
scriptEngineBuildVersion()
Gets the build version of the scripting engine.
|
int |
scriptEngineMajorVersion()
Gets the major version of the scripting engine.
|
int |
scriptEngineMinorVersion()
Gets the minor version of the scripting engine.
|
void |
scroll(int x,
int y)
Scrolls to the specified location on the page.
|
void |
scrollBy(int x,
int y)
Scrolls the window content the specified distance.
|
void |
scrollByLines(int lines)
Scrolls the window content down by the specified number of lines.
|
void |
scrollByPages(int pages)
Scrolls the window content down by the specified number of pages.
|
void |
scrollTo(int x,
int y)
Scrolls to the specified location on the page.
|
void |
setClientInformation(Object ignore)
Special setter for IE to ignore this call.
|
void |
setConsole(net.sourceforge.htmlunit.corejs.javascript.ScriptableObject console)
Sets the
console . |
void |
setControllers(Object value)
Sets the
controllers . |
void |
setCurrentEvent(Event event)
Sets the current event.
|
void |
setInneHeight(int height)
Sets the
innerHeight . |
void |
setInnerWidth(int width)
Sets the
innerWidth . |
static Object |
setInterval(net.sourceforge.htmlunit.corejs.javascript.Context context,
net.sourceforge.htmlunit.corejs.javascript.Scriptable thisObj,
Object[] args,
net.sourceforge.htmlunit.corejs.javascript.Function function)
Sets a chunk of JavaScript to be invoked each time a specified number of milliseconds has elapsed.
|
void |
setLocation(String newLocation)
Sets the
location property. |
void |
setName(String name)
Sets the value of the window's
name property. |
void |
setOnabort(Object onabort)
Sets the
onabort event handler. |
void |
setOnafterprint(Object onafterprint)
Sets the
onafterprint event handler. |
void |
setOnanimationend(Object onanimationend)
Sets the
onanimationend event handler. |
void |
setOnanimationiteration(Object onanimationiteration)
Sets the
onanimationiteration event handler. |
void |
setOnanimationstart(Object onanimationstart)
Sets the
onanimationstart event handler. |
void |
setOnauxclick(Object onauxclick)
Sets the
onauxclick event handler. |
void |
setOnbeforeprint(Object onbeforeprint)
Sets the
onbeforeprint event handler. |
void |
setOnbeforeunload(Object onbeforeunload)
Sets the value of the window's
onbeforeunload property. |
void |
setOnblur(Object onblur)
Sets the value of the
onblur event handler. |
void |
setOncancel(Object oncancel)
Sets the
oncancel event handler. |
void |
setOncanplay(Object oncanplay)
Sets the
oncanplay event handler. |
void |
setOncanplaythrough(Object oncanplaythrough)
Sets the
oncanplaythrough event handler. |
void |
setOnchange(Object onchange)
Setter for the
onchange event handler. |
void |
setOnclick(Object onclick)
Sets the value of the
onclick event handler. |
void |
setOnclose(Object onclose)
Sets the
onclose event handler. |
void |
setOncontextmenu(Object oncontextmenu)
Sets the
oncontextmenu event handler. |
void |
setOncuechange(Object oncuechange)
Sets the
oncuechange event handler. |
void |
setOndblclick(Object ondblclick)
Sets the value of the
ondblclick event handler. |
void |
setOndevicelight(Object ondevicelight)
Sets the
ondevicelight event handler. |
void |
setOndevicemotion(Object ondevicemotion)
Sets the
ondevicemotion event handler. |
void |
setOndeviceorientation(Object ondeviceorientation)
Sets the
ondeviceorientation event handler. |
void |
setOndeviceorientationabsolute(Object ondeviceorientationabsolute)
Sets the
ondeviceorientationabsolute event handler. |
void |
setOndeviceproximity(Object ondeviceproximity)
Sets the
ondeviceproximity event handler. |
void |
setOndrag(Object ondrag)
Sets the
ondrag event handler. |
void |
setOndragend(Object ondragend)
Sets the
ondragend event handler. |
void |
setOndragenter(Object ondragenter)
Sets the
ondragenter event handler. |
void |
setOndragleave(Object ondragleave)
Sets the
ondragleave event handler. |
void |
setOndragover(Object ondragover)
Sets the
ondragover event handler. |
void |
setOndragstart(Object ondragstart)
Sets the
ondragstart event handler. |
void |
setOndrop(Object ondrop)
Sets the
ondrop event handler. |
void |
setOndurationchange(Object ondurationchange)
Sets the
ondurationchange event handler. |
void |
setOnemptied(Object onemptied)
Sets the
onemptied event handler. |
void |
setOnended(Object onended)
Sets the
onended event handler. |
void |
setOnerror(Object onerror)
Sets the value of the window's
onerror property. |
void |
setOnfocus(Object onfocus)
Sets the
onfocus event handler. |
void |
setOnfocusin(Object onfocusin)
Sets the
onfocusin event handler. |
void |
setOnfocusout(Object onfocusout)
Sets the
onfocusout event handler. |
void |
setOngotpointercapture(Object ongotpointercapture)
Sets the
ongotpointercapture event handler. |
void |
setOnhashchange(Object onhashchange)
Sets the value of the
onhashchange event handler. |
void |
setOnhelp(Object onhelp)
Sets the
onhelp event handler. |
void |
setOninput(Object oninput)
Sets the
oninput event handler. |
void |
setOninvalid(Object oninvalid)
Sets the
oninvalid event handler. |
void |
setOnkeydown(Object onkeydown)
Sets the
onkeydown event handler. |
void |
setOnkeypress(Object onkeypress)
Sets the
onkeypress event handler. |
void |
setOnkeyup(Object onkeyup)
Sets the
onkeyup event handler. |
void |
setOnlanguagechange(Object onlanguagechange)
Sets the
onlanguagechange event handler. |
void |
setOnload(Object onload)
Sets the value of the
onload event handler. |
void |
setOnloadeddata(Object onloadeddata)
Sets the
onloadeddata event handler. |
void |
setOnloadedmetadata(Object onloadedmetadata)
Sets the
onloadedmetadata event handler. |
void |
setOnloadstart(Object onloadstart)
Sets the
onloadstart event handler. |
void |
setOnlostpointercapture(Object onlostpointercapture)
Sets the
onlostpointercapture event handler. |
void |
setOnmessage(Object onmessage)
Sets the value of the window's
onmessage property. |
void |
setOnmousedown(Object onmousedown)
Sets the
onmousedown event handler. |
void |
setOnmouseenter(Object onmouseenter)
Sets the
onmouseenter event handler. |
void |
setOnmouseleave(Object onmouseleave)
Sets the
onmouseleave event handler. |
void |
setOnmousemove(Object onmousemove)
Sets the
onmousemove event handler. |
void |
setOnmouseout(Object onmouseout)
Sets the
onmouseout event handler. |
void |
setOnmouseover(Object onmouseover)
Sets the
onmouseover event handler. |
void |
setOnmouseup(Object onmouseup)
Sets the
onmouseup event handler. |
void |
setOnmousewheel(Object onmousewheel)
Sets the
onmousewheel event handler. |
void |
setOnmozfullscreenchange(Object onmozfullscreenchange)
Sets the
onmozfullscreenchange event handler. |
void |
setOnmozfullscreenerror(Object onmozfullscreenerror)
Sets the
onmozfullscreenerror event handler. |
void |
setOnmsgesturechange(Object onmsgesturechange)
Sets the
onmsgesturechange event handler. |
void |
setOnmsgesturedoubletap(Object onmsgesturedoubletap)
Sets the
onmsgesturedoubletap event handler. |
void |
setOnmsgestureend(Object onmsgestureend)
Sets the
onmsgestureend event handler. |
void |
setOnmsgesturehold(Object onmsgesturehold)
Sets the
onmsgesturehold event handler. |
void |
setOnmsgesturestart(Object onmsgesturestart)
Sets the
onmsgesturestart event handler. |
void |
setOnmsgesturetap(Object onmsgesturetap)
Sets the
onmsgesturetap event handler. |
void |
setOnmsinertiastart(Object onmsinertiastart)
Sets the
onmsinertiastart event handler. |
void |
setOnmspointercancel(Object onmspointercancel)
Sets the
onmspointercancel event handler. |
void |
setOnmspointerdown(Object onmspointerdown)
Sets the
onmspointerdown event handler. |
void |
setOnmspointerenter(Object onmspointerenter)
Sets the
onmspointerenter event handler. |
void |
setOnmspointerleave(Object onmspointerleave)
Sets the
onmspointerleave event handler. |
void |
setOnmspointermove(Object onmspointermove)
Sets the
onmspointermove event handler. |
void |
setOnmspointerout(Object onmspointerout)
Sets the
onmspointerout event handler. |
void |
setOnmspointerover(Object onmspointerover)
Sets the
onmspointerover event handler. |
void |
setOnmspointerup(Object onmspointerup)
Sets the
onmspointerup event handler. |
void |
setOnoffline(Object onoffline)
Sets the
onoffline event handler. |
void |
setOnonline(Object ononline)
Sets the
ononline event handler. |
void |
setOnpagehide(Object onpagehide)
Sets the
onpagehide event handler. |
void |
setOnpageshow(Object onpageshow)
Sets the
onpageshow event handler. |
void |
setOnpause(Object onpause)
Sets the
onpause event handler. |
void |
setOnplay(Object onplay)
Sets the
onplay event handler. |
void |
setOnplaying(Object onplaying)
Sets the
onplaying event handler. |
void |
setOnpointercancel(Object onpointercancel)
Sets the
onpointercancel event handler. |
void |
setOnpointerdown(Object onpointerdown)
Sets the
onpointerdown event handler. |
void |
setOnpointerenter(Object onpointerenter)
Sets the
onpointerenter event handler. |
void |
setOnpointerleave(Object onpointerleave)
Sets the
onpointerleave event handler. |
void |
setOnpointermove(Object onpointermove)
Sets the
onpointermove event handler. |
void |
setOnpointerout(Object onpointerout)
Sets the
onpointerout event handler. |
void |
setOnpointerover(Object onpointerover)
Sets the
onpointerover event handler. |
void |
setOnpointerup(Object onpointerup)
Sets the
onpointerup event handler. |
void |
setOnpopstate(Object onpopstate)
Sets the
onpopstate event handler. |
void |
setOnprogress(Object onprogress)
Sets the
onprogress event handler. |
void |
setOnratechange(Object onratechange)
Sets the
onratechange event handler. |
void |
setOnreadystatechange(Object onreadystatechange)
Sets the
onreadystatechange event handler. |
void |
setOnrejectionhandled(Object onrejectionhandled)
Sets the
onrejectionhandled event handler. |
void |
setOnreset(Object onreset)
Sets the
onreset event handler. |
void |
setOnresize(Object onresize)
Sets the
onresize event handler. |
void |
setOnscroll(Object onscroll)
Sets the
onscroll event handler. |
void |
setOnsearch(Object onsearch)
Sets the
onsearch event handler. |
void |
setOnseeked(Object onseeked)
Sets the
onseeked event handler. |
void |
setOnseeking(Object onseeking)
Sets the
onseeking event handler. |
void |
setOnselect(Object onselect)
Sets the
onselect event handler. |
void |
setOnshow(Object onshow)
Sets the
onshow event handler. |
void |
setOnstalled(Object onstalled)
Sets the
onstalled event handler. |
void |
setOnstorage(Object onstorage)
Sets the
onstorage event handler. |
void |
setOnsubmit(Object onsubmit)
Setter for the
onsubmit event handler. |
void |
setOnsuspend(Object onsuspend)
Sets the
onsuspend event handler. |
void |
setOntimeupdate(Object ontimeupdate)
Sets the
ontimeupdate event handler. |
void |
setOntoggle(Object ontoggle)
Sets the
ontoggle event handler. |
void |
setOntransitionend(Object ontransitionend)
Sets the
ontransitionend event handler. |
void |
setOnunhandledrejection(Object onunhandledrejection)
Sets the
onunhandledrejection event handler. |
void |
setOnunload(Object onunload)
Sets the
onunload event handler. |
void |
setOnuserproximity(Object onuserproximity)
Sets the
onuserproximity event handler. |
void |
setOnvolumechange(Object onvolumechange)
Sets the
onvolumechange event handler. |
void |
setOnwaiting(Object onwaiting)
Sets the
onwaiting event handler. |
void |
setOnwebkitanimationend(Object onwebkitanimationend)
Sets the
onwebkitanimationend event handler. |
void |
setOnwebkitanimationiteration(Object onwebkitanimationiteration)
Sets the
onwebkitanimationiteration event handler. |
void |
setOnwebkitanimationstart(Object onwebkitanimationstart)
Sets the
onwebkitanimationstart event handler. |
void |
setOnwebkittransitionend(Object onwebkittransitionend)
Sets the
onwebkittransitionend event handler. |
void |
setOnwheel(Object onwheel)
Sets the
onwheel event handler. |
void |
setOpener(Object newValue)
Sets the
opener property. |
void |
setOuterHeight(int height)
Sets the
outerHeight . |
void |
setOuterWidth(int width)
Sets the
outerWidth . |
void |
setParentScope(net.sourceforge.htmlunit.corejs.javascript.Scriptable parent)
Does nothing.
|
void |
setPrototypes(Map<Class<? extends net.sourceforge.htmlunit.corejs.javascript.Scriptable>,net.sourceforge.htmlunit.corejs.javascript.Scriptable> map,
Map<String,net.sourceforge.htmlunit.corejs.javascript.Scriptable> prototypesPerJSName)
Sets the prototypes for HtmlUnit host classes.
|
void |
setStatus(String message)
Sets the text from the status line.
|
static Object |
setTimeout(net.sourceforge.htmlunit.corejs.javascript.Context context,
net.sourceforge.htmlunit.corejs.javascript.Scriptable thisObj,
Object[] args,
net.sourceforge.htmlunit.corejs.javascript.Function function)
Sets a chunk of JavaScript to be invoked at some specified time later.
|
void |
setTop(Object o)
Sets the value of the
top property. |
Object |
showModalDialog(String url,
Object arguments,
String features)
Creates a modal dialog box that displays the specified HTML document.
|
Object |
showModelessDialog(String url,
Object arguments,
String features)
Creates a modeless dialog box that displays the specified HTML document.
|
void |
stop()
Should implement the stop() function on the window object.
|
void |
triggerOnError(ScriptException e)
Triggers the
onerror handler, if one has been set. |
addEventListener, clearEventListenersContainer, executeEventLocally, fireEvent, getEventHandler, getEventListenersContainer, hasEventHandlers, isEventHandlerOnWindow, removeEventListener, setEventHandler
clone, equivalentValues, get, getBrowserVersion, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getScriptableFor, getStartingScope, getWindow, getWindow, getWithPreemption, has, hasInstance, initParentScope, makeScriptableFor, setCaseSensitive, setDomNode, setDomNode, setHtmlElement
defineFunctionProperties, defineProperty, getClassName, put, setClassName
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, 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, 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 static final short TEMPORARY
public static final short PERSISTENT
public static net.sourceforge.htmlunit.corejs.javascript.Scriptable jsConstructor(net.sourceforge.htmlunit.corejs.javascript.Context cx, Object[] args, net.sourceforge.htmlunit.corejs.javascript.Function ctorObj, boolean inNewExpr)
cx
- the current contextargs
- the arguments to the ActiveXObject constructorctorObj
- the function objectinNewExpr
- Is new or notpublic net.sourceforge.htmlunit.corejs.javascript.Scriptable getPrototype(Class<? extends SimpleScriptable> jsClass)
getPrototype
in class SimpleScriptable
jsClass
- the class whose prototype is to be returnedpublic net.sourceforge.htmlunit.corejs.javascript.Scriptable getPrototype(String className)
className
- the class name whose prototype is to be returnedpublic void setPrototypes(Map<Class<? extends net.sourceforge.htmlunit.corejs.javascript.Scriptable>,net.sourceforge.htmlunit.corejs.javascript.Scriptable> map, Map<String,net.sourceforge.htmlunit.corejs.javascript.Scriptable> prototypesPerJSName)
public void alert(Object message)
alert()
.message
- the messagepublic String btoa(String stringToEncode)
btoa
in interface WindowOrWorkerGlobalScope
stringToEncode
- string to encodepublic String atob(String encodedData)
atob
in interface WindowOrWorkerGlobalScope
encodedData
- the encoded stringpublic boolean confirm(String message)
confirm
.message
- the messagepublic String prompt(String message, Object defaultValue)
prompt
.message
- the messagedefaultValue
- the default value displayed in the text input fieldnull
if the user pressed cancel
public DocumentProxy getDocument_js()
document
.public Document getDocument()
public ApplicationCache getApplicationCache()
public Object getEvent()
null
if no event is currently availablepublic Event getCurrentEvent()
null
if no event is currently availablepublic void setCurrentEvent(Event event)
event
- the current eventpublic WindowProxy open(Object url, Object name, Object features, Object replace)
url
- when a new document is opened, url is a String that specifies a MIME type for the document.
When a new window is opened, url is a String that specifies the URL to render in the new windowname
- the namefeatures
- the featuresreplace
- whether to replace in the history list or nonull
if popup windows have been disabledWebClientOptions.isPopupBlockerEnabled()
,
MSDN documentationpublic static Object setTimeout(net.sourceforge.htmlunit.corejs.javascript.Context context, net.sourceforge.htmlunit.corejs.javascript.Scriptable thisObj, Object[] args, net.sourceforge.htmlunit.corejs.javascript.Function function)
context
- the JavaScript contextthisObj
- the scriptableargs
- the arguments passed into the methodfunction
- the functionpublic static Object setInterval(net.sourceforge.htmlunit.corejs.javascript.Context context, net.sourceforge.htmlunit.corejs.javascript.Scriptable thisObj, Object[] args, net.sourceforge.htmlunit.corejs.javascript.Function function)
context
- the JavaScript contextthisObj
- the scriptableargs
- the arguments passed into the methodfunction
- the functionpublic void clearTimeout(int timeoutId)
setTimeout(Context, Scriptable, Object[], Function)
method.timeoutId
- identifier for the timeout to clear
as returned by setTimeout(Context, Scriptable, Object[], Function)
public void clearInterval(int intervalID)
setInterval(Context, Scriptable, Object[], Function)
method.
Current implementation does nothing.intervalID
- specifies the interval to cancel as returned by the
setInterval(Context, Scriptable, Object[], Function)
methodpublic Navigator getNavigator()
navigator
.public Navigator getClientInformation()
clientInformation
.public void setClientInformation(Object ignore)
ignore
- param gets ignoredpublic DataTransfer getClipboardData()
clipboardData
.DataTransfer
public Window getWindow_js()
self
.public Window getSelf()
self
property.public Storage getLocalStorage()
localStorage
property.localStorage
propertypublic Storage getSessionStorage()
sessionStorage
property.sessionStorage
propertypublic Storage getStorage(StorageHolder.Type storageType)
storageType
- the typepublic Location getLocation()
location
property.location
propertypublic void setLocation(String newLocation) throws IOException
location
property. This will cause a reload of the window.newLocation
- the URL of the new contentIOException
- when location loading failspublic net.sourceforge.htmlunit.corejs.javascript.ScriptableObject getConsole()
console
property.console
propertypublic void setConsole(net.sourceforge.htmlunit.corejs.javascript.ScriptableObject console)
console
.console
- the consolepublic void dump(String message)
console
.message
- the message to logpublic int animateAnimationsFrames()
requestAnimationFrame(Object)
once.public int requestAnimationFrame(Object callback)
callback
- the function to call when it's time to update the animationpublic void cancelAnimationFrame(Object requestId)
requestId
- the ID value returned by the call to window.requestAnimationFrame()public Screen getScreen()
screen
property.screen
propertypublic History getHistory()
history
property.history
propertypublic External getExternal()
external
property.external
propertypublic void initialize(WebWindow webWindow, Page pageToEnclose)
webWindow
- the web window corresponding to this windowpageToEnclose
- the page that will become the enclosing pagepublic void initialize(Page enclosedPage)
enclosedPage
- the page containing the JavaScriptpublic void initialize()
public Object getTop()
top
property.top
public void setTop(Object o)
top
property.o
- the new valuepublic net.sourceforge.htmlunit.corejs.javascript.ScriptableObject getParent()
parent
property.parent
propertypublic Object getOpener()
opener
property.opener
, or null
for a top level windowpublic void setOpener(Object newValue)
opener
property.newValue
- the new valuepublic Object getFrameElement()
null
for a top level windowpublic Window getFrames_js()
frames
property.frames
propertypublic int getLength()
public WebWindow getWebWindow()
public void focus()
public void blur()
public void close_js()
public boolean isClosed()
true
if this window is closedpublic void moveTo(int x, int y)
x
- the horizontal positiony
- the vertical positionpublic void moveBy(int x, int y)
x
- the horizontal positiony
- the vertical positionpublic void navigate(String url) throws IOException
url
- the location of the new HTML document to loadIOException
- if loading the specified location failspublic void resizeBy(int width, int height)
width
- the width offsetheight
- the height offsetpublic void resizeTo(int width, int height)
width
- the width of the Window in pixel after resizeheight
- the height of the Window in pixel after resizepublic void scroll(int x, int y)
x
- the horizontal position to scroll toy
- the vertical position to scroll topublic void scrollBy(int x, int y)
x
- the horizontal distance to scroll byy
- the vertical distance to scroll bypublic void scrollByLines(int lines)
lines
- the number of lines to scroll downpublic void scrollByPages(int pages)
pages
- the number of pages to scroll downpublic void scrollTo(int x, int y)
x
- the horizontal position to scroll toy
- the vertical position to scroll topublic Object getOnload()
onload
property. Note that this is not necessarily a function if something else has been set.onload
propertypublic void setOnload(Object onload)
onload
event handler.onload
- the new handlerpublic void setOnblur(Object onblur)
onblur
event handler.onblur
- the new handlerpublic Object getOnblur()
onblur
property (not necessary a function if something else has been set).onblur
propertypublic Object getOnclick()
onclick
property (not necessary a function if something else has been set).onclick
propertypublic void setOnclick(Object onclick)
onclick
event handler.onclick
- the new handlerpublic Object getOndblclick()
ondblclick
property (not necessary a function if something else has been set).ondblclick
propertypublic void setOndblclick(Object ondblclick)
ondblclick
event handler.ondblclick
- the new handlerpublic Object getOnhashchange()
onhashchange
property (not necessary a function if something else has been set).onhashchange
propertypublic void setOnhashchange(Object onhashchange)
onhashchange
event handler.onhashchange
- the new handlerpublic String getName()
name
property.name
propertypublic void setName(String name)
name
property.name
- the value of the window's name
propertypublic Object getOnbeforeunload()
onbeforeunload
property.onbeforeunload
propertypublic void setOnbeforeunload(Object onbeforeunload)
onbeforeunload
property.onbeforeunload
- the value of the window's onbeforeunload
propertypublic Object getOnerror()
onerror
property.onerror
propertypublic void setOnerror(Object onerror)
onerror
property.onerror
- the value of the window's onerror
propertypublic Object getOnmessage()
onmessage
property.onmessage
propertypublic void setOnmessage(Object onmessage)
onmessage
property.onmessage
- the value of the window's onmessage
propertypublic void triggerOnError(ScriptException e)
onerror
handler, if one has been set.e
- the error that needs to be reportedpublic Object call(net.sourceforge.htmlunit.corejs.javascript.Context cx, net.sourceforge.htmlunit.corejs.javascript.Scriptable scope, net.sourceforge.htmlunit.corejs.javascript.Scriptable thisObj, Object[] args)
call
in interface net.sourceforge.htmlunit.corejs.javascript.Callable
call
in interface net.sourceforge.htmlunit.corejs.javascript.Function
public net.sourceforge.htmlunit.corejs.javascript.Scriptable construct(net.sourceforge.htmlunit.corejs.javascript.Context cx, net.sourceforge.htmlunit.corejs.javascript.Scriptable scope, Object[] args)
construct
in interface net.sourceforge.htmlunit.corejs.javascript.Function
public Object getWithFallback(String name)
name
- the nameScriptable.NOT_FOUND
public Object get(int index, net.sourceforge.htmlunit.corejs.javascript.Scriptable start)
get
in interface net.sourceforge.htmlunit.corejs.javascript.Scriptable
get
in class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject
public static WindowProxy getProxy(WebWindow w)
w
- the window whose proxy is to be returnedpublic String getStatus()
public void setStatus(String message)
message
- the status line textpublic int getInnerWidth()
innerWidth
.innerWidth
public void setInnerWidth(int width)
innerWidth
.width
- the innerWidth
public int getOuterWidth()
outerWidth
.outerWidth
public void setOuterWidth(int width)
outerWidth
.width
- the outerWidth
public int getInnerHeight()
innerHeight
.innerHeight
public void setInneHeight(int height)
innerHeight
.height
- the innerHeight
public int getOuterHeight()
outerHeight
.outerHeight
public void setOuterHeight(int height)
outerHeight
.height
- the outerHeight
public void print()
public void captureEvents(String type)
type
- the type of events to captureDocument.captureEvents(String)
public void releaseEvents(String type)
type
- the type of events to captureDocument.releaseEvents(String)
public void collectGarbage()
public CSS2Properties getComputedStyle(Object element, String pseudoElement)
element
- the elementpseudoElement
- a string specifying the pseudo-element to match (may be null
);
e.g. ':before'public Selection getSelection()
public Selection getSelectionImpl()
public Object showModalDialog(String url, Object arguments, String features)
url
- the URL of the document to load and displayarguments
- object to be made available via window.dialogArguments in the dialog windowfeatures
- string that specifies the window ornaments for the dialog windowreturnValue
property as set by the modal dialog's windowpublic Object showModelessDialog(String url, Object arguments, String features)
url
- the URL of the document to load and displayarguments
- object to be made available via window.dialogArguments in the dialog windowfeatures
- string that specifies the window ornaments for the dialog windowpublic Object getControllers()
controllers
. The result doesn't currently matter but it is important to return an
object as some JavaScript libraries check it.public void setControllers(Object value)
controllers
.value
- the new valuepublic int getMozInnerScreenX()
mozInnerScreenX
property.mozInnerScreenX
propertypublic int getMozInnerScreenY()
mozInnerScreenY
property.mozInnerScreenY
propertypublic void clearComputedStyles()
public void clearComputedStyles(Element element)
Element
.element
- the element to clear its cachepublic void clearComputedStylesUpToRoot(Element element)
Element
and all parent elements.element
- the element to clear its cachepublic String scriptEngine()
public int scriptEngineBuildVersion()
public int scriptEngineMajorVersion()
public int scriptEngineMinorVersion()
public void stop()
public int getPageXOffset()
pageXOffset
property.pageXOffset
propertypublic int getPageYOffset()
pageYOffset
property.pageYOffset
propertypublic int getScrollX()
scrollX
property.scrollX
propertypublic int getScrollY()
scrollY
property.scrollY
propertypublic Netscape getNetscape()
netscape
property.netscape
propertypublic boolean isConst(String name)
isConst
in interface net.sourceforge.htmlunit.corejs.javascript.ConstProperties
isConst
in class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject
public boolean dispatchEvent(Event event)
dispatchEvent
in class EventTarget
event
- the event to be dispatchedfalse
if at least one of the event handlers which handled the event
called preventDefault; true
otherwisepublic Object getOnchange()
onchange
event handler.public void setOnchange(Object onchange)
onchange
event handler.onchange
- the handlerpublic Object getOnsubmit()
onsubmit
event handler.public void setOnsubmit(Object onsubmit)
onsubmit
event handler.onsubmit
- the handlerpublic void postMessage(String message, String targetOrigin, Object transfer)
message
- the object passed to the windowtargetOrigin
- the origin this window must be for the event to be dispatchedtransfer
- an optional sequence of Transferable objectspublic static int getPort(URL url)
url
- the URLpublic Performance getPerformance()
performance
property.performance
propertypublic int getDevicePixelRatio()
devicePixelRatio
property.devicePixelRatio
propertypublic StyleMedia getStyleMedia()
styleMedia
property.styleMedia
propertypublic MediaQueryList matchMedia(String mediaQueryString)
mediaQueryString
- the media querypublic boolean find(String search, boolean caseSensitive, boolean backwards, boolean wrapAround, boolean wholeWord, boolean searchInFrames, boolean showDialog)
search
- the text string for which to searchcaseSensitive
- if true, specifies a case-sensitive searchbackwards
- if true, specifies a backward searchwrapAround
- if true, specifies a wrap around searchwholeWord
- if true, specifies a whole word searchsearchInFrames
- if true, specifies a search in framesshowDialog
- if true, specifies a show Dialog.public SpeechSynthesis getSpeechSynthesis()
speechSynthesis
property.speechSynthesis
propertypublic Object getOffscreenBuffering()
offscreenBuffering
property.offscreenBuffering
propertypublic Crypto getCrypto()
crypto
property.crypto
propertypublic void close()
close
in interface AutoCloseable
public void setParentScope(net.sourceforge.htmlunit.corejs.javascript.Scriptable parent)
setParentScope
in interface net.sourceforge.htmlunit.corejs.javascript.Scriptable
setParentScope
in class HtmlUnitScriptable
parent
- the new parent scopepublic net.sourceforge.htmlunit.corejs.javascript.Function getOnfocusin()
onfocusin
event handler.onfocusin
event handlerpublic void setOnfocusin(Object onfocusin)
onfocusin
event handler.onfocusin
- the onfocusin
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnfocus()
onfocus
event handler.onfocus
event handlerpublic void setOnfocus(Object onfocus)
onfocus
event handler.onfocus
- the onfocus
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOndragend()
ondragend
event handler.ondragend
event handlerpublic void setOndragend(Object ondragend)
ondragend
event handler.ondragend
- the ondragend
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOninvalid()
oninvalid
event handler.oninvalid
event handlerpublic void setOninvalid(Object oninvalid)
oninvalid
event handler.oninvalid
- the oninvalid
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnpointerout()
onpointerout
event handler.onpointerout
event handlerpublic void setOnpointerout(Object onpointerout)
onpointerout
event handler.onpointerout
- the onpointerout
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnhelp()
onhelp
event handler.onhelp
event handlerpublic void setOnhelp(Object onhelp)
onhelp
event handler.onhelp
- the onhelp
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnratechange()
onratechange
event handler.onratechange
event handlerpublic void setOnratechange(Object onratechange)
onratechange
event handler.onratechange
- the onratechange
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnanimationiteration()
onanimationiteration
event handler.onanimationiteration
event handlerpublic void setOnanimationiteration(Object onanimationiteration)
onanimationiteration
event handler.onanimationiteration
- the onanimationiteration
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOncanplaythrough()
oncanplaythrough
event handler.oncanplaythrough
event handlerpublic void setOncanplaythrough(Object oncanplaythrough)
oncanplaythrough
event handler.oncanplaythrough
- the oncanplaythrough
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOncancel()
oncancel
event handler.oncancel
event handlerpublic void setOncancel(Object oncancel)
oncancel
event handler.oncancel
- the oncancel
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnpointerenter()
onpointerenter
event handler.onpointerenter
event handlerpublic void setOnpointerenter(Object onpointerenter)
onpointerenter
event handler.onpointerenter
- the onpointerenter
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnselect()
onselect
event handler.onselect
event handlerpublic void setOnselect(Object onselect)
onselect
event handler.onselect
- the onselect
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnauxclick()
onauxclick
event handler.onauxclick
event handlerpublic void setOnauxclick(Object onauxclick)
onauxclick
event handler.onauxclick
- the onauxclick
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnscroll()
onscroll
event handler.onscroll
event handlerpublic void setOnscroll(Object onscroll)
onscroll
event handler.onscroll
- the onscroll
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnkeydown()
onkeydown
event handler.onkeydown
event handlerpublic void setOnkeydown(Object onkeydown)
onkeydown
event handler.onkeydown
- the onkeydown
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmspointerleave()
onmspointerleave
event handler.onmspointerleave
event handlerpublic void setOnmspointerleave(Object onmspointerleave)
onmspointerleave
event handler.onmspointerleave
- the onmspointerleave
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnwebkitanimationstart()
onwebkitanimationstart
event handler.onwebkitanimationstart
event handlerpublic void setOnwebkitanimationstart(Object onwebkitanimationstart)
onwebkitanimationstart
event handler.onwebkitanimationstart
- the onwebkitanimationstart
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnkeyup()
onkeyup
event handler.onkeyup
event handlerpublic void setOnkeyup(Object onkeyup)
onkeyup
event handler.onkeyup
- the onkeyup
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmsgesturestart()
onmsgesturestart
event handler.onmsgesturestart
event handlerpublic void setOnmsgesturestart(Object onmsgesturestart)
onmsgesturestart
event handler.onmsgesturestart
- the onmsgesturestart
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOndeviceproximity()
ondeviceproximity
event handler.ondeviceproximity
event handlerpublic void setOndeviceproximity(Object ondeviceproximity)
ondeviceproximity
event handler.ondeviceproximity
- the ondeviceproximity
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnreset()
onreset
event handler.onreset
event handlerpublic void setOnreset(Object onreset)
onreset
event handler.onreset
- the onreset
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnkeypress()
onkeypress
event handler.onkeypress
event handlerpublic void setOnkeypress(Object onkeypress)
onkeypress
event handler.onkeypress
- the onkeypress
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOndrag()
ondrag
event handler.ondrag
event handlerpublic void setOndrag(Object ondrag)
ondrag
event handler.ondrag
- the ondrag
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnfocusout()
onfocusout
event handler.onfocusout
event handlerpublic void setOnfocusout(Object onfocusout)
onfocusout
event handler.onfocusout
- the onfocusout
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnseeked()
onseeked
event handler.onseeked
event handlerpublic void setOnseeked(Object onseeked)
onseeked
event handler.onseeked
- the onseeked
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnoffline()
onoffline
event handler.onoffline
event handlerpublic void setOnoffline(Object onoffline)
onoffline
event handler.onoffline
- the onoffline
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOndeviceorientation()
ondeviceorientation
event handler.ondeviceorientation
event handlerpublic void setOndeviceorientation(Object ondeviceorientation)
ondeviceorientation
event handler.ondeviceorientation
- the ondeviceorientation
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOntoggle()
ontoggle
event handler.ontoggle
event handlerpublic void setOntoggle(Object ontoggle)
ontoggle
event handler.ontoggle
- the ontoggle
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnplay()
onplay
event handler.onplay
event handlerpublic void setOnplay(Object onplay)
onplay
event handler.onplay
- the onplay
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOncontextmenu()
oncontextmenu
event handler.oncontextmenu
event handlerpublic void setOncontextmenu(Object oncontextmenu)
oncontextmenu
event handler.oncontextmenu
- the oncontextmenu
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmousemove()
onmousemove
event handler.onmousemove
event handlerpublic void setOnmousemove(Object onmousemove)
onmousemove
event handler.onmousemove
- the onmousemove
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnreadystatechange()
onreadystatechange
event handler.onreadystatechange
event handlerpublic void setOnreadystatechange(Object onreadystatechange)
onreadystatechange
event handler.onreadystatechange
- the onreadystatechange
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmspointerover()
onmspointerover
event handler.onmspointerover
event handlerpublic void setOnmspointerover(Object onmspointerover)
onmspointerover
event handler.onmspointerover
- the onmspointerover
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnpointermove()
onpointermove
event handler.onpointermove
event handlerpublic void setOnpointermove(Object onpointermove)
onpointermove
event handler.onpointermove
- the onpointermove
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmspointermove()
onmspointermove
event handler.onmspointermove
event handlerpublic void setOnmspointermove(Object onmspointermove)
onmspointermove
event handler.onmspointermove
- the onmspointermove
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmouseover()
onmouseover
event handler.onmouseover
event handlerpublic void setOnmouseover(Object onmouseover)
onmouseover
event handler.onmouseover
- the onmouseover
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnuserproximity()
onuserproximity
event handler.onuserproximity
event handlerpublic void setOnuserproximity(Object onuserproximity)
onuserproximity
event handler.onuserproximity
- the onuserproximity
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnlostpointercapture()
onlostpointercapture
event handler.onlostpointercapture
event handlerpublic void setOnlostpointercapture(Object onlostpointercapture)
onlostpointercapture
event handler.onlostpointercapture
- the onlostpointercapture
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnpointerover()
onpointerover
event handler.onpointerover
event handlerpublic void setOnpointerover(Object onpointerover)
onpointerover
event handler.onpointerover
- the onpointerover
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnclose()
onclose
event handler.onclose
event handlerpublic void setOnclose(Object onclose)
onclose
event handler.onclose
- the onclose
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnanimationend()
onanimationend
event handler.onanimationend
event handlerpublic void setOnanimationend(Object onanimationend)
onanimationend
event handler.onanimationend
- the onanimationend
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOndragenter()
ondragenter
event handler.ondragenter
event handlerpublic void setOndragenter(Object ondragenter)
ondragenter
event handler.ondragenter
- the ondragenter
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnafterprint()
onafterprint
event handler.onafterprint
event handlerpublic void setOnafterprint(Object onafterprint)
onafterprint
event handler.onafterprint
- the onafterprint
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmozfullscreenerror()
onmozfullscreenerror
event handler.onmozfullscreenerror
event handlerpublic void setOnmozfullscreenerror(Object onmozfullscreenerror)
onmozfullscreenerror
event handler.onmozfullscreenerror
- the onmozfullscreenerror
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmouseleave()
onmouseleave
event handler.onmouseleave
event handlerpublic void setOnmouseleave(Object onmouseleave)
onmouseleave
event handler.onmouseleave
- the onmouseleave
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmousewheel()
onmousewheel
event handler.onmousewheel
event handlerpublic void setOnmousewheel(Object onmousewheel)
onmousewheel
event handler.onmousewheel
- the onmousewheel
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnseeking()
onseeking
event handler.onseeking
event handlerpublic void setOnseeking(Object onseeking)
onseeking
event handler.onseeking
- the onseeking
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOncuechange()
oncuechange
event handler.oncuechange
event handlerpublic void setOncuechange(Object oncuechange)
oncuechange
event handler.oncuechange
- the oncuechange
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnpageshow()
onpageshow
event handler.onpageshow
event handlerpublic void setOnpageshow(Object onpageshow)
onpageshow
event handler.onpageshow
- the onpageshow
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmspointerenter()
onmspointerenter
event handler.onmspointerenter
event handlerpublic void setOnmspointerenter(Object onmspointerenter)
onmspointerenter
event handler.onmspointerenter
- the onmspointerenter
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmozfullscreenchange()
onmozfullscreenchange
event handler.onmozfullscreenchange
event handlerpublic void setOnmozfullscreenchange(Object onmozfullscreenchange)
onmozfullscreenchange
event handler.onmozfullscreenchange
- the onmozfullscreenchange
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOndurationchange()
ondurationchange
event handler.ondurationchange
event handlerpublic void setOndurationchange(Object ondurationchange)
ondurationchange
event handler.ondurationchange
- the ondurationchange
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnplaying()
onplaying
event handler.onplaying
event handlerpublic void setOnplaying(Object onplaying)
onplaying
event handler.onplaying
- the onplaying
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnended()
onended
event handler.onended
event handlerpublic void setOnended(Object onended)
onended
event handler.onended
- the onended
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnloadeddata()
onloadeddata
event handler.onloadeddata
event handlerpublic void setOnloadeddata(Object onloadeddata)
onloadeddata
event handler.onloadeddata
- the onloadeddata
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnunhandledrejection()
onunhandledrejection
event handler.onunhandledrejection
event handlerpublic void setOnunhandledrejection(Object onunhandledrejection)
onunhandledrejection
event handler.onunhandledrejection
- the onunhandledrejection
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmouseout()
onmouseout
event handler.onmouseout
event handlerpublic void setOnmouseout(Object onmouseout)
onmouseout
event handler.onmouseout
- the onmouseout
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnsuspend()
onsuspend
event handler.onsuspend
event handlerpublic void setOnsuspend(Object onsuspend)
onsuspend
event handler.onsuspend
- the onsuspend
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnwaiting()
onwaiting
event handler.onwaiting
event handlerpublic void setOnwaiting(Object onwaiting)
onwaiting
event handler.onwaiting
- the onwaiting
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOncanplay()
oncanplay
event handler.oncanplay
event handlerpublic void setOncanplay(Object oncanplay)
oncanplay
event handler.oncanplay
- the oncanplay
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmousedown()
onmousedown
event handler.onmousedown
event handlerpublic void setOnmousedown(Object onmousedown)
onmousedown
event handler.onmousedown
- the onmousedown
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnlanguagechange()
onlanguagechange
event handler.onlanguagechange
event handlerpublic void setOnlanguagechange(Object onlanguagechange)
onlanguagechange
event handler.onlanguagechange
- the onlanguagechange
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnemptied()
onemptied
event handler.onemptied
event handlerpublic void setOnemptied(Object onemptied)
onemptied
event handler.onemptied
- the onemptied
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnrejectionhandled()
onrejectionhandled
event handler.onrejectionhandled
event handlerpublic void setOnrejectionhandled(Object onrejectionhandled)
onrejectionhandled
event handler.onrejectionhandled
- the onrejectionhandled
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnpointercancel()
onpointercancel
event handler.onpointercancel
event handlerpublic void setOnpointercancel(Object onpointercancel)
onpointercancel
event handler.onpointercancel
- the onpointercancel
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmsgestureend()
onmsgestureend
event handler.onmsgestureend
event handlerpublic void setOnmsgestureend(Object onmsgestureend)
onmsgestureend
event handler.onmsgestureend
- the onmsgestureend
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnresize()
onresize
event handler.onresize
event handlerpublic void setOnresize(Object onresize)
onresize
event handler.onresize
- the onresize
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnpause()
onpause
event handler.onpause
event handlerpublic void setOnpause(Object onpause)
onpause
event handler.onpause
- the onpause
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnloadstart()
onloadstart
event handler.onloadstart
event handlerpublic void setOnloadstart(Object onloadstart)
onloadstart
event handler.onloadstart
- the onloadstart
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnprogress()
onprogress
event handler.onprogress
event handlerpublic void setOnprogress(Object onprogress)
onprogress
event handler.onprogress
- the onprogress
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnpointerup()
onpointerup
event handler.onpointerup
event handlerpublic void setOnpointerup(Object onpointerup)
onpointerup
event handler.onpointerup
- the onpointerup
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnwheel()
onwheel
event handler.onwheel
event handlerpublic void setOnwheel(Object onwheel)
onwheel
event handler.onwheel
- the onwheel
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmspointerdown()
onmspointerdown
event handler.onmspointerdown
event handlerpublic void setOnmspointerdown(Object onmspointerdown)
onmspointerdown
event handler.onmspointerdown
- the onmspointerdown
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnpointerleave()
onpointerleave
event handler.onpointerleave
event handlerpublic void setOnpointerleave(Object onpointerleave)
onpointerleave
event handler.onpointerleave
- the onpointerleave
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnbeforeprint()
onbeforeprint
event handler.onbeforeprint
event handlerpublic void setOnbeforeprint(Object onbeforeprint)
onbeforeprint
event handler.onbeforeprint
- the onbeforeprint
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnstorage()
onstorage
event handler.onstorage
event handlerpublic void setOnstorage(Object onstorage)
onstorage
event handler.onstorage
- the onstorage
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOndevicelight()
ondevicelight
event handler.ondevicelight
event handlerpublic void setOndevicelight(Object ondevicelight)
ondevicelight
event handler.ondevicelight
- the ondevicelight
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnanimationstart()
onanimationstart
event handler.onanimationstart
event handlerpublic void setOnanimationstart(Object onanimationstart)
onanimationstart
event handler.onanimationstart
- the onanimationstart
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmspointercancel()
onmspointercancel
event handler.onmspointercancel
event handlerpublic void setOnmspointercancel(Object onmspointercancel)
onmspointercancel
event handler.onmspointercancel
- the onmspointercancel
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOntimeupdate()
ontimeupdate
event handler.ontimeupdate
event handlerpublic void setOntimeupdate(Object ontimeupdate)
ontimeupdate
event handler.ontimeupdate
- the ontimeupdate
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnpagehide()
onpagehide
event handler.onpagehide
event handlerpublic void setOnpagehide(Object onpagehide)
onpagehide
event handler.onpagehide
- the onpagehide
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnwebkitanimationiteration()
onwebkitanimationiteration
event handler.onwebkitanimationiteration
event handlerpublic void setOnwebkitanimationiteration(Object onwebkitanimationiteration)
onwebkitanimationiteration
event handler.onwebkitanimationiteration
- the onwebkitanimationiteration
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmspointerup()
onmspointerup
event handler.onmspointerup
event handlerpublic void setOnmspointerup(Object onmspointerup)
onmspointerup
event handler.onmspointerup
- the onmspointerup
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnabort()
onabort
event handler.onabort
event handlerpublic void setOnabort(Object onabort)
onabort
event handler.onabort
- the onabort
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnloadedmetadata()
onloadedmetadata
event handler.onloadedmetadata
event handlerpublic void setOnloadedmetadata(Object onloadedmetadata)
onloadedmetadata
event handler.onloadedmetadata
- the onloadedmetadata
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmsinertiastart()
onmsinertiastart
event handler.onmsinertiastart
event handlerpublic void setOnmsinertiastart(Object onmsinertiastart)
onmsinertiastart
event handler.onmsinertiastart
- the onmsinertiastart
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmouseup()
onmouseup
event handler.onmouseup
event handlerpublic void setOnmouseup(Object onmouseup)
onmouseup
event handler.onmouseup
- the onmouseup
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmsgesturetap()
onmsgesturetap
event handler.onmsgesturetap
event handlerpublic void setOnmsgesturetap(Object onmsgesturetap)
onmsgesturetap
event handler.onmsgesturetap
- the onmsgesturetap
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOndragover()
ondragover
event handler.ondragover
event handlerpublic void setOndragover(Object ondragover)
ondragover
event handler.ondragover
- the ondragover
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnonline()
ononline
event handler.ononline
event handlerpublic void setOnonline(Object ononline)
ononline
event handler.ononline
- the ononline
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmsgesturedoubletap()
onmsgesturedoubletap
event handler.onmsgesturedoubletap
event handlerpublic void setOnmsgesturedoubletap(Object onmsgesturedoubletap)
onmsgesturedoubletap
event handler.onmsgesturedoubletap
- the onmsgesturedoubletap
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnsearch()
onsearch
event handler.onsearch
event handlerpublic void setOnsearch(Object onsearch)
onsearch
event handler.onsearch
- the onsearch
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOninput()
oninput
event handler.oninput
event handlerpublic void setOninput(Object oninput)
oninput
event handler.oninput
- the oninput
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnwebkittransitionend()
onwebkittransitionend
event handler.onwebkittransitionend
event handlerpublic void setOnwebkittransitionend(Object onwebkittransitionend)
onwebkittransitionend
event handler.onwebkittransitionend
- the onwebkittransitionend
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmspointerout()
onmspointerout
event handler.onmspointerout
event handlerpublic void setOnmspointerout(Object onmspointerout)
onmspointerout
event handler.onmspointerout
- the onmspointerout
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOndevicemotion()
ondevicemotion
event handler.ondevicemotion
event handlerpublic void setOndevicemotion(Object ondevicemotion)
ondevicemotion
event handler.ondevicemotion
- the ondevicemotion
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnstalled()
onstalled
event handler.onstalled
event handlerpublic void setOnstalled(Object onstalled)
onstalled
event handler.onstalled
- the onstalled
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmouseenter()
onmouseenter
event handler.onmouseenter
event handlerpublic void setOnmouseenter(Object onmouseenter)
onmouseenter
event handler.onmouseenter
- the onmouseenter
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOndragleave()
ondragleave
event handler.ondragleave
event handlerpublic void setOndragleave(Object ondragleave)
ondragleave
event handler.ondragleave
- the ondragleave
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnpointerdown()
onpointerdown
event handler.onpointerdown
event handlerpublic void setOnpointerdown(Object onpointerdown)
onpointerdown
event handler.onpointerdown
- the onpointerdown
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOndrop()
ondrop
event handler.ondrop
event handlerpublic void setOndrop(Object ondrop)
ondrop
event handler.ondrop
- the ondrop
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnunload()
onunload
event handler.onunload
event handlerpublic void setOnunload(Object onunload)
onunload
event handler.onunload
- the onunload
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnwebkitanimationend()
onwebkitanimationend
event handler.onwebkitanimationend
event handlerpublic void setOnwebkitanimationend(Object onwebkitanimationend)
onwebkitanimationend
event handler.onwebkitanimationend
- the onwebkitanimationend
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOndragstart()
ondragstart
event handler.ondragstart
event handlerpublic void setOndragstart(Object ondragstart)
ondragstart
event handler.ondragstart
- the ondragstart
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOntransitionend()
ontransitionend
event handler.ontransitionend
event handlerpublic void setOntransitionend(Object ontransitionend)
ontransitionend
event handler.ontransitionend
- the ontransitionend
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmsgesturehold()
onmsgesturehold
event handler.onmsgesturehold
event handlerpublic void setOnmsgesturehold(Object onmsgesturehold)
onmsgesturehold
event handler.onmsgesturehold
- the onmsgesturehold
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOndeviceorientationabsolute()
ondeviceorientationabsolute
event handler.ondeviceorientationabsolute
event handlerpublic void setOndeviceorientationabsolute(Object ondeviceorientationabsolute)
ondeviceorientationabsolute
event handler.ondeviceorientationabsolute
- the ondeviceorientationabsolute
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnshow()
onshow
event handler.onshow
event handlerpublic void setOnshow(Object onshow)
onshow
event handler.onshow
- the onshow
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnvolumechange()
onvolumechange
event handler.onvolumechange
event handlerpublic void setOnvolumechange(Object onvolumechange)
onvolumechange
event handler.onvolumechange
- the onvolumechange
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnmsgesturechange()
onmsgesturechange
event handler.onmsgesturechange
event handlerpublic void setOnmsgesturechange(Object onmsgesturechange)
onmsgesturechange
event handler.onmsgesturechange
- the onmsgesturechange
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOngotpointercapture()
ongotpointercapture
event handler.ongotpointercapture
event handlerpublic void setOngotpointercapture(Object ongotpointercapture)
ongotpointercapture
event handler.ongotpointercapture
- the ongotpointercapture
event handlerpublic net.sourceforge.htmlunit.corejs.javascript.Function getOnpopstate()
onpopstate
event handler.onpopstate
event handlerpublic void setOnpopstate(Object onpopstate)
onpopstate
event handler.onpopstate
- the onpopstate
event handlerpublic Object getDoNotTrack()
doNotTrack
property.doNotTrack
propertyCopyright © 2002–2021 Gargoyle Software Inc.. All rights reserved.