Class WindowImpl
- All Implemented Interfaces:
EventTarget
,GlobalEventHandlers
,WindowConsole
,ScriptableDelegate
,Window
,WindowBase64
,WindowEventHandlers
,WindowOrWorkerGlobalScope
,WindowTimers
,AbstractView
WindowImpl class.
-
Constructor Summary
ConstructorDescriptionWindowImpl
(HtmlRendererContext rcontext, UserAgentContext uaContext, HtmlRendererConfig config) Constructor for WindowImpl. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addEventListener
(String type, Function listener) addEventListener.void
addEventListener
(String type, Function listener, boolean useCapture) addEventListener.void
alert.atob.void
back()
back.void
blur()
blur.btoa.void
clearInterval
(int aTimerID) clearInterval.void
clearTimeout
(int timeoutID) clearTimeout.void
close()
close.boolean
confirm()
confirm.boolean
confirm.boolean
dispatchEvent
(Event evt) dispatchEvent.boolean
dispatchEvent
(Node element, Event evt) dispatchEvent.void
focus()
focus.get
(int index) get.getClientInformation.getComputedStyle
(Element elt) getComputedStyle.getComputedStyle
(Element element, String pseudoElement) getComputedStyle.getConsole.getDefaultStatus.double
getDevicePixelRatio.getDocument.getDoNotTrack.getFrames.getHistory.getHtmlRendererContext.double
getInnerHeight.double
getInnerWidth.int
getLength.Getter for the field local storage.getLocation.getLocationbar.getMatchedCSSRules.getMatchedCSSRules
(Element elt, String pseudoElt) getMatchedCSSRules.getMenubar.getName()
getName.getNavigator.Fires immediately after the browser loads the object.opener.double
getOuterHeight.double
getOuterWidth.double
getPageXOffset.double
getPageYOffset.getParent.getPersonalbar.getScreen.double
getScreenLeft.double
getScreenTop.double
getScreenX.double
getScreenY.getScrollbars.double
getScrollX.double
getScrollY.getSelection.getSelf()
getSelf.Getter for the field session storage.getStatus.getStatusbar.getToolbar.getTop()
getTop.getUserAgentContext.getWindow.static WindowImpl
getWindow
(HtmlRendererContext rcontext, HtmlRendererConfig config) getWindow.getWindowScope
(Context context) Getter for the field windowScope.boolean
isClosed()
isClosed.boolean
isIsSecureContext.matchMedia
(String mediaQueryString) matchMedia.void
moveBy
(double x, double y) moveBy.void
moveTo
(double x, double y) moveTo.namedItem.open()
open.open.open.open.open.void
postMessage
(String message, String targetOrigin) postMessage.void
print()
print.prompt()
prompt.prompt.prompt.void
removeEventListener
(String type, Function listener) removeEventListener.void
removeEventListener
(String type, Function listener, boolean useCapture) removeEventListener.void
resizeBy
(double byWidth, double byHeight) resizeBy.void
resizeTo
(double width, double height) resizeTo.void
scroll()
scroll.void
scroll
(double x, double y) scroll.void
scrollBy()
scrollBy.void
scrollBy
(double x, double y) scrollBy.void
scrollTo()
scrollTo.void
scrollTo
(double x, double y) scrollTo.void
setDefaultStatus
(String defaultStatus) setDefaultStatus.void
setDocument
(HTMLDocumentImpl document) Setter for the field document.void
setInnerHeight
(double innerHeight) setInnerHeight.void
setInnerWidth
(double innerWidth) setInnerWidth.int
setInterval
(Object aFunction, double aTimeInMs) setInterval.void
setLength
(int length) Setter for the field length.void
setLocation
(String location) setLocation.void
setLocation
(Location location) setLocation.void
setName.void
Sets onload.void
opener.void
setOuterHeight
(double outerHeight) setOuterHeight.void
setOuterWidth
(double outerWidth) setOuterWidth.void
setStatus.int
setTimeout
(Object function) setTimeout.int
setTimeout
(Object function, double millis) setTimeout.void
stop()
stop.toString()
Methods inherited from class org.loboevolution.html.dom.domimpl.WindowEventHandlersImpl
getOnabort, getOnafterprint, getOnanimationcancel, getOnanimationend, getOnanimationiteration, getOnanimationstart, getOnauxclick, getOnbeforeprint, getOnblur, getOncancel, getOncanplay, getOncanplaythrough, getOnchange, getOnclick, getOnclose, getOncontextmenu, getOncuechange, getOndblclick, getOndrag, getOndragend, getOndragenter, getOndragexit, getOndragleave, getOndragover, getOndragstart, getOndrop, getOndurationchange, getOnemptied, getOnended, getOnerror, getOnfocus, getOnfocusin, getOnfocusout, getOnfullscreenchange, getOngotpointercapture, getOninput, getOninvalid, getOnkeydown, getOnkeypress, getOnkeyup, getOnlanguagechange, getOnloadeddata, getOnloadedmetadata, getOnloadend, getOnloadstart, getOnlostpointercapture, getOnmousedown, getOnmouseenter, getOnmouseleave, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnoffline, getOnonline, getOnpause, getOnplay, getOnplaying, getOnpointercancel, getOnpointerdown, getOnpointerenter, getOnpointerleave, getOnpointermove, getOnpointerout, getOnpointerover, getOnpointerup, getOnprogress, getOnratechange, getOnreset, getOnresize, getOnscroll, getOnsecuritypolicyviolation, getOnseeked, getOnseeking, getOnselect, getOnselectionchange, getOnselectstart, getOnstalled, getOnsubmit, getOnsuspend, getOntimeupdate, getOntoggle, getOntouchcancel, getOntouchend, getOntouchmove, getOntouchstart, getOntransitioncancel, getOntransitionend, getOntransitionrun, getOntransitionstart, getOnunload, getOnvolumechange, getOnwaiting, getOnwheel, setOnabort, setOnafterprint, setOnanimationcancel, setOnanimationend, setOnanimationiteration, setOnanimationstart, setOnauxclick, setOnbeforeprint, setOnblur, setOncancel, setOncanplay, setOncanplaythrough, setOnchange, setOnclick, setOnclose, setOncontextmenu, setOncuechange, setOndblclick, setOndrag, setOndragend, setOndragenter, setOndragexit, setOndragleave, setOndragover, setOndragstart, setOndrop, setOndurationchange, setOnemptied, setOnended, setOnerror, setOnfocus, setOnfocusin, setOnfocusout, setOngotpointercapture, setOninput, setOninvalid, setOnkeydown, setOnkeypress, setOnkeyup, setOnlanguagechange, setOnloadeddata, setOnloadedmetadata, setOnloadend, setOnloadstart, setOnlostpointercapture, setOnmousedown, setOnmouseenter, setOnmouseleave, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnoffline, setOnonline, setOnpause, setOnplay, setOnplaying, setOnpointercancel, setOnpointerdown, setOnpointerenter, setOnpointerleave, setOnpointermove, setOnpointerout, setOnpointerover, setOnpointerup, setOnprogress, setOnratechange, setOnreset, setOnresize, setOnscroll, setOnsecuritypolicyviolation, setOnseeked, setOnseeking, setOnselect, setOnselectionchange, setOnselectstart, setOnstalled, setOnsubmit, setOnsuspend, setOntimeupdate, setOntoggle, setOntouchcancel, setOntouchend, setOntouchmove, setOntouchstart, setOntransitioncancel, setOntransitionend, setOntransitionrun, setOntransitionstart, setOnunload, setOnvolumechange, setOnwaiting, setOnwheel
Methods inherited from class org.loboevolution.html.dom.nodeimpl.event.EventTargetImpl
getFunction
Methods inherited from class org.loboevolution.js.AbstractScriptableDelegate
getScriptable, setScriptable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.loboevolution.events.GlobalEventHandlers
addAbortEventListener, addAbortEventListener, addAnimationCancelEventListener, addAnimationCancelEventListener, addAnimationEndEventListener, addAnimationEndEventListener, addAnimationIterationEventListener, addAnimationIterationEventListener, addAnimationStartEventListener, addAnimationStartEventListener, addAuxClickEventListener, addAuxClickEventListener, addBlurEventListener, addBlurEventListener, addCancelEventListener, addCancelEventListener, addCanPlayEventListener, addCanPlayEventListener, addCanPlayThroughEventListener, addCanPlayThroughEventListener, addChangeEventListener, addChangeEventListener, addClickEventListener, addClickEventListener, addCloseEventListener, addCloseEventListener, addContextMenuEventListener, addContextMenuEventListener, addCueChangeEventListener, addCueChangeEventListener, addDblClickEventListener, addDblClickEventListener, addDragEndEventListener, addDragEndEventListener, addDragEnterEventListener, addDragEnterEventListener, addDragEventListener, addDragEventListener, addDragExitEventListener, addDragExitEventListener, addDragLeaveEventListener, addDragLeaveEventListener, addDragOverEventListener, addDragOverEventListener, addDragStartEventListener, addDragStartEventListener, addDropEventListener, addDropEventListener, addDurationChangeEventListener, addDurationChangeEventListener, addEmptiedEventListener, addEmptiedEventListener, addEndedEventListener, addEndedEventListener, addErrorEventListener, addErrorEventListener, addFocusEventListener, addFocusEventListener, addFocusInEventListener, addFocusInEventListener, addFocusOutEventListener, addFocusOutEventListener, addGotPointerCaptureEventListener, addGotPointerCaptureEventListener, addInputEventListener, addInputEventListener, addInvalidEventListener, addInvalidEventListener, addKeyDownEventListener, addKeyDownEventListener, addKeyPressEventListener, addKeyPressEventListener, addKeyUpEventListener, addKeyUpEventListener, addLoadedDataEventListener, addLoadedDataEventListener, addLoadedMetaDataEventListener, addLoadedMetaDataEventListener, addLoadEndEventListener, addLoadEndEventListener, addLoadEventListener, addLoadEventListener, addLoadStartEventListener, addLoadStartEventListener, addLostPointerCaptureEventListener, addLostPointerCaptureEventListener, addMouseDownEventListener, addMouseDownEventListener, addMouseEnterEventListener, addMouseEnterEventListener, addMouseLeaveEventListener, addMouseLeaveEventListener, addMouseMoveEventListener, addMouseMoveEventListener, addMouseOutEventListener, addMouseOutEventListener, addMouseOverEventListener, addMouseOverEventListener, addMouseUpEventListener, addMouseUpEventListener, addPauseEventListener, addPauseEventListener, addPlayEventListener, addPlayEventListener, addPlayingEventListener, addPlayingEventListener, addPointerCancelEventListener, addPointerCancelEventListener, addPointerDownEventListener, addPointerDownEventListener, addPointerEnterEventListener, addPointerEnterEventListener, addPointerLeaveEventListener, addPointerLeaveEventListener, addPointerMoveEventListener, addPointerMoveEventListener, addPointerOutEventListener, addPointerOutEventListener, addPointerOverEventListener, addPointerOverEventListener, addPointerUpEventListener, addPointerUpEventListener, addProgressEventListener, addProgressEventListener, addRateChangeEventListener, addRateChangeEventListener, addResetEventListener, addResetEventListener, addResizeEventListener, addResizeEventListener, addScrollEventListener, addScrollEventListener, addSecurityPolicyViolationEventListener, addSecurityPolicyViolationEventListener, addSeekedEventListener, addSeekedEventListener, addSeekingEventListener, addSeekingEventListener, addSelectEventListener, addSelectEventListener, addSelectionChangeEventListener, addSelectionChangeEventListener, addSelectStartEventListener, addSelectStartEventListener, addStalledEventListener, addStalledEventListener, addSubmitEventListener, addSubmitEventListener, addSuspendEventListener, addSuspendEventListener, addTimeUpdateEventListener, addTimeUpdateEventListener, addToggleEventListener, addToggleEventListener, addTouchCancelEventListener, addTouchCancelEventListener, addTouchEndEventListener, addTouchEndEventListener, addTouchMoveEventListener, addTouchMoveEventListener, addTouchStartEventListener, addTouchStartEventListener, addTransitionCancelEventListener, addTransitionCancelEventListener, addTransitionEndEventListener, addTransitionEndEventListener, addTransitionRunEventListener, addTransitionRunEventListener, addTransitionStartEventListener, addTransitionStartEventListener, addVolumeChangeEventListener, addVolumeChangeEventListener, addWaitingEventListener, addWaitingEventListener, addWheelEventListener, addWheelEventListener, getOnabort, getOnanimationcancel, getOnanimationend, getOnanimationiteration, getOnanimationstart, getOnauxclick, getOnblur, getOncancel, getOncanplay, getOncanplaythrough, getOnchange, getOnclick, getOnclose, getOncontextmenu, getOncuechange, getOndblclick, getOndrag, getOndragend, getOndragenter, getOndragexit, getOndragleave, getOndragover, getOndragstart, getOndrop, getOndurationchange, getOnemptied, getOnended, getOnerror, getOnfocus, getOnfocusin, getOnfocusout, getOnfullscreenchange, getOngotpointercapture, getOninput, getOninvalid, getOnkeydown, getOnkeypress, getOnkeyup, getOnloadeddata, getOnloadedmetadata, getOnloadend, getOnloadstart, getOnlostpointercapture, getOnmousedown, getOnmouseenter, getOnmouseleave, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnpause, getOnplay, getOnplaying, getOnpointercancel, getOnpointerdown, getOnpointerenter, getOnpointerleave, getOnpointermove, getOnpointerout, getOnpointerover, getOnpointerup, getOnprogress, getOnratechange, getOnreset, getOnresize, getOnscroll, getOnsecuritypolicyviolation, getOnseeked, getOnseeking, getOnselect, getOnselectionchange, getOnselectstart, getOnstalled, getOnsubmit, getOnsuspend, getOntimeupdate, getOntoggle, getOntouchcancel, getOntouchend, getOntouchmove, getOntouchstart, getOntransitioncancel, getOntransitionend, getOntransitionrun, getOntransitionstart, getOnvolumechange, getOnwaiting, getOnwheel, removeAbortEventListener, removeAbortEventListener, removeAnimationCancelEventListener, removeAnimationCancelEventListener, removeAnimationEndEventListener, removeAnimationEndEventListener, removeAnimationIterationEventListener, removeAnimationIterationEventListener, removeAnimationStartEventListener, removeAnimationStartEventListener, removeAuxClickEventListener, removeAuxClickEventListener, removeBlurEventListener, removeBlurEventListener, removeCancelEventListener, removeCancelEventListener, removeCanPlayEventListener, removeCanPlayEventListener, removeCanPlayThroughEventListener, removeCanPlayThroughEventListener, removeChangeEventListener, removeChangeEventListener, removeClickEventListener, removeClickEventListener, removeCloseEventListener, removeCloseEventListener, removeContextMenuEventListener, removeContextMenuEventListener, removeCueChangeEventListener, removeCueChangeEventListener, removeDblClickEventListener, removeDblClickEventListener, removeDragEndEventListener, removeDragEndEventListener, removeDragEnterEventListener, removeDragEnterEventListener, removeDragEventListener, removeDragEventListener, removeDragExitEventListener, removeDragExitEventListener, removeDragLeaveEventListener, removeDragLeaveEventListener, removeDragOverEventListener, removeDragOverEventListener, removeDragStartEventListener, removeDragStartEventListener, removeDropEventListener, removeDropEventListener, removeDurationChangeEventListener, removeDurationChangeEventListener, removeEmptiedEventListener, removeEmptiedEventListener, removeEndedEventListener, removeEndedEventListener, removeErrorEventListener, removeErrorEventListener, removeFocusEventListener, removeFocusEventListener, removeFocusInEventListener, removeFocusInEventListener, removeFocusOutEventListener, removeFocusOutEventListener, removeGotPointerCaptureEventListener, removeGotPointerCaptureEventListener, removeInputEventListener, removeInputEventListener, removeInvalidEventListener, removeInvalidEventListener, removeKeyDownEventListener, removeKeyDownEventListener, removeKeyPressEventListener, removeKeyPressEventListener, removeKeyUpEventListener, removeKeyUpEventListener, removeLoadedDataEventListener, removeLoadedDataEventListener, removeLoadedMetaDataEventListener, removeLoadedMetaDataEventListener, removeLoadEndEventListener, removeLoadEndEventListener, removeLoadEventListener, removeLoadEventListener, removeLoadStartEventListener, removeLoadStartEventListener, removeLostPointerCaptureEventListener, removeLostPointerCaptureEventListener, removeMouseDownEventListener, removeMouseDownEventListener, removeMouseEnterEventListener, removeMouseEnterEventListener, removeMouseLeaveEventListener, removeMouseLeaveEventListener, removeMouseMoveEventListener, removeMouseMoveEventListener, removeMouseOutEventListener, removeMouseOutEventListener, removeMouseOverEventListener, removeMouseOverEventListener, removeMouseUpEventListener, removeMouseUpEventListener, removePauseEventListener, removePauseEventListener, removePlayEventListener, removePlayEventListener, removePlayingEventListener, removePlayingEventListener, removePointerCancelEventListener, removePointerCancelEventListener, removePointerDownEventListener, removePointerDownEventListener, removePointerEnterEventListener, removePointerEnterEventListener, removePointerLeaveEventListener, removePointerLeaveEventListener, removePointerMoveEventListener, removePointerMoveEventListener, removePointerOutEventListener, removePointerOutEventListener, removePointerOverEventListener, removePointerOverEventListener, removePointerUpEventListener, removePointerUpEventListener, removeProgressEventListener, removeProgressEventListener, removeRateChangeEventListener, removeRateChangeEventListener, removeResetEventListener, removeResetEventListener, removeResizeEventListener, removeResizeEventListener, removeScrollEventListener, removeScrollEventListener, removeSecurityPolicyViolationEventListener, removeSecurityPolicyViolationEventListener, removeSeekedEventListener, removeSeekedEventListener, removeSeekingEventListener, removeSeekingEventListener, removeSelectEventListener, removeSelectEventListener, removeSelectionChangeEventListener, removeSelectionChangeEventListener, removeSelectStartEventListener, removeSelectStartEventListener, removeStalledEventListener, removeStalledEventListener, removeSubmitEventListener, removeSubmitEventListener, removeSuspendEventListener, removeSuspendEventListener, removeTimeUpdateEventListener, removeTimeUpdateEventListener, removeToggleEventListener, removeToggleEventListener, removeTouchCancelEventListener, removeTouchCancelEventListener, removeTouchEndEventListener, removeTouchEndEventListener, removeTouchMoveEventListener, removeTouchMoveEventListener, removeTouchStartEventListener, removeTouchStartEventListener, removeTransitionCancelEventListener, removeTransitionCancelEventListener, removeTransitionEndEventListener, removeTransitionEndEventListener, removeTransitionRunEventListener, removeTransitionRunEventListener, removeTransitionStartEventListener, removeTransitionStartEventListener, removeVolumeChangeEventListener, removeVolumeChangeEventListener, removeWaitingEventListener, removeWaitingEventListener, removeWheelEventListener, removeWheelEventListener, setOnabort, setOnanimationcancel, setOnanimationend, setOnanimationiteration, setOnanimationstart, setOnauxclick, setOnblur, setOncancel, setOncanplay, setOncanplaythrough, setOnchange, setOnclick, setOnclose, setOncontextmenu, setOncuechange, setOndblclick, setOndrag, setOndragend, setOndragenter, setOndragexit, setOndragleave, setOndragover, setOndragstart, setOndrop, setOndurationchange, setOnemptied, setOnended, setOnerror, setOnfocus, setOnfocusin, setOnfocusout, setOngotpointercapture, setOninput, setOninvalid, setOnkeydown, setOnkeypress, setOnkeyup, setOnloadeddata, setOnloadedmetadata, setOnloadend, setOnloadstart, setOnlostpointercapture, setOnmousedown, setOnmouseenter, setOnmouseleave, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnpause, setOnplay, setOnplaying, setOnpointercancel, setOnpointerdown, setOnpointerenter, setOnpointerleave, setOnpointermove, setOnpointerout, setOnpointerover, setOnpointerup, setOnprogress, setOnratechange, setOnreset, setOnresize, setOnscroll, setOnsecuritypolicyviolation, setOnseeked, setOnseeking, setOnselect, setOnselectionchange, setOnselectstart, setOnstalled, setOnsubmit, setOnsuspend, setOntimeupdate, setOntoggle, setOntouchcancel, setOntouchend, setOntouchmove, setOntouchstart, setOntransitioncancel, setOntransitionend, setOntransitionrun, setOntransitionstart, setOnvolumechange, setOnwaiting, setOnwheel
Methods inherited from interface org.loboevolution.js.WindowEventHandlers
addAfterPrintEventListener, addAfterPrintEventListener, addBeforePrintEventListener, addBeforePrintEventListener, addLanguageChangeEventListener, addLanguageChangeEventListener, addOfflineEventListener, addOfflineEventListener, addOnlineEventListener, addOnlineEventListener, addRejectionHandledEventListener, addRejectionHandledEventListener, addUnloadEventListener, addUnloadEventListener, getOnafterprint, getOnbeforeprint, getOnlanguagechange, getOnoffline, getOnonline, getOnunload, removeAfterPrintEventListener, removeAfterPrintEventListener, removeBeforePrintEventListener, removeBeforePrintEventListener, removeLanguageChangeEventListener, removeLanguageChangeEventListener, removeOfflineEventListener, removeOfflineEventListener, removeOnlineEventListener, removeOnlineEventListener, removeRejectionHandledEventListener, removeRejectionHandledEventListener, removeUnloadEventListener, removeUnloadEventListener, setOnafterprint, setOnbeforeprint, setOnlanguagechange, setOnoffline, setOnonline, setOnunload
-
Constructor Details
-
WindowImpl
public WindowImpl(HtmlRendererContext rcontext, UserAgentContext uaContext, HtmlRendererConfig config) Constructor for WindowImpl.
- Parameters:
rcontext
- aHtmlRendererContext
object.uaContext
- aUserAgentContext
object.config
- aHtmlRendererConfig
object.
-
-
Method Details
-
getWindow
getWindow.
- Parameters:
rcontext
- aHtmlRendererContext
object.- Returns:
- a
WindowImpl
object.
-
setDocument
Setter for the field document.
- Parameters:
document
- aHTMLDocumentImpl
object.
-
getHtmlRendererContext
getHtmlRendererContext.
- Returns:
- a
HtmlRendererContext
object.
-
getUserAgentContext
getUserAgentContext.
- Returns:
- a
UserAgentContext
object.
-
getWindow
getWindow.
- Specified by:
getWindow
in interfaceWindow
- Returns:
- a
WindowImpl
object.
-
namedItem
namedItem.
-
getWindowScope
Getter for the field windowScope.
- Parameters:
context
- aContext
object.- Returns:
- a
Scriptable
object.
-
alert
alert.
-
back
public void back()back.
-
blur
public void blur()blur.
-
clearInterval
public void clearInterval(int aTimerID) clearInterval.
- Specified by:
clearInterval
in interfaceWindow
-
clearTimeout
public void clearTimeout(int timeoutID) clearTimeout.
- Specified by:
clearTimeout
in interfaceWindow
-
close
public void close()close.
-
confirm
confirm.
-
focus
public void focus()focus.
-
getComputedStyle
getComputedStyle.
- Specified by:
getComputedStyle
in interfaceWindow
- Parameters:
element
- aElement
object.pseudoElement
- aString
object.- Returns:
- a
ComputedCSSStyleDeclaration
object.
-
getComputedStyle
getComputedStyle.
- Specified by:
getComputedStyle
in interfaceWindow
- Parameters:
elt
- aElement
object.- Returns:
- a
ComputedCSSStyleDeclaration
object.
-
getDefaultStatus
getDefaultStatus.
- Specified by:
getDefaultStatus
in interfaceWindow
- Returns:
- a
String
object.
-
getDocument
getDocument.
- Specified by:
getDocument
in interfaceAbstractView
- Returns:
- a
DocumentView
object.
-
getDocumentNode
-
getHistory
getHistory.
- Specified by:
getHistory
in interfaceWindow
- Returns:
- a
History
object.
-
getLocalStorage
Getter for the field local storage.
- Specified by:
getLocalStorage
in interfaceWindow
- Returns:
- a
Storage
object.
-
getSessionStorage
Getter for the field session storage.
- Specified by:
getSessionStorage
in interfaceWindow
- Returns:
- a
Storage
object.
-
getLength
public int getLength()getLength.
-
getLocation
getLocation.
- Specified by:
getLocation
in interfaceWindow
- Returns:
- a
Location
object.
-
getName
getName.
-
getOnload
Fires immediately after the browser loads the object.- Specified by:
getOnload
in interfaceGlobalEventHandlers
- Overrides:
getOnload
in classWindowEventHandlersImpl
- Returns:
- the onload
-
getOpener
opener.
-
getParent
getParent.
-
getScreen
getScreen.
-
getSelf
getSelf.
-
getStatus
getStatus.
-
getTop
getTop.
-
isClosed
public boolean isClosed()isClosed.
-
open
open.
-
open
open.
-
open
open.
-
open
public WindowImpl open(String relativeUrl, String windowName, String windowFeatures, boolean replace) open.
-
prompt
prompt.
-
prompt
prompt.
-
resizeBy
public void resizeBy(double byWidth, double byHeight) resizeBy.
-
resizeTo
public void resizeTo(double width, double height) resizeTo.
-
scrollBy
public void scrollBy(double x, double y) scrollBy.
-
scrollTo
public void scrollTo(double x, double y) scrollTo.
-
scroll
public void scroll(double x, double y) scroll.
-
setInterval
setInterval.
- Specified by:
setInterval
in interfaceWindowOrWorkerGlobalScope
- Parameters:
aFunction
- aObject
object.aTimeInMs
- aDouble
object.- Returns:
- a
Integer
object.
-
setLength
public void setLength(int length) Setter for the field length.
- Parameters:
length
- aInteger
object.
-
setLocation
setLocation.
- Specified by:
setLocation
in interfaceWindow
- Parameters:
location
- aString
object.
-
setLocation
setLocation.
- Specified by:
setLocation
in interfaceWindow
- Parameters:
location
- aLocation
object.
-
setOnload
Sets onload.- Specified by:
setOnload
in interfaceGlobalEventHandlers
- Overrides:
setOnload
in classWindowEventHandlersImpl
- Parameters:
onload
- the onload
-
setOpener
opener.
-
setStatus
setStatus.
-
setTimeout
setTimeout.
- Specified by:
setTimeout
in interfaceWindowOrWorkerGlobalScope
- Parameters:
function
- aFunction
object.- Returns:
- a
Integer
object.
-
setTimeout
setTimeout.
- Specified by:
setTimeout
in interfaceWindowOrWorkerGlobalScope
- Parameters:
function
- aObject
object.millis
- aDouble
object.- Returns:
- a
Integer
object.
-
addEventListener
addEventListener.
- Specified by:
addEventListener
in interfaceEventTarget
- Overrides:
addEventListener
in classWindowEventHandlersImpl
- Parameters:
type
- aString
object.listener
- aFunction
object.
-
addEventListener
addEventListener.
- Specified by:
addEventListener
in interfaceEventTarget
- Overrides:
addEventListener
in classEventTargetImpl
- Parameters:
type
- aString
object.listener
- aFunction
object.useCapture
- a boolean.
-
dispatchEvent
dispatchEvent.
- Specified by:
dispatchEvent
in interfaceEventTarget
- Overrides:
dispatchEvent
in classEventTargetImpl
- Parameters:
evt
- aEvent
object.- Returns:
- a boolean.
- Throws:
EventException
- if any.
-
removeEventListener
removeEventListener.
- Specified by:
removeEventListener
in interfaceEventTarget
- Overrides:
removeEventListener
in classEventTargetImpl
- Parameters:
type
- aString
object.listener
- aFunction
object.
-
removeEventListener
removeEventListener.
- Specified by:
removeEventListener
in interfaceEventTarget
- Overrides:
removeEventListener
in classEventTargetImpl
- Parameters:
type
- aString
object.listener
- aFunction
object.useCapture
- a boolean.
-
dispatchEvent
Description copied from interface:EventTarget
dispatchEvent.
- Specified by:
dispatchEvent
in interfaceEventTarget
- Overrides:
dispatchEvent
in classEventTargetImpl
- Parameters:
element
- aNode
object.evt
- aEvent
object.- Returns:
- a boolean.
-
getInnerHeight
public double getInnerHeight()getInnerHeight.
- Specified by:
getInnerHeight
in interfaceWindow
- Returns:
- a
Double
object.
-
setInnerHeight
public void setInnerHeight(double innerHeight) setInnerHeight.
- Specified by:
setInnerHeight
in interfaceWindow
- Parameters:
innerHeight
- a boolean.
-
getInnerWidth
public double getInnerWidth()getInnerWidth.
- Specified by:
getInnerWidth
in interfaceWindow
- Returns:
- a
Double
object.
-
setInnerWidth
public void setInnerWidth(double innerWidth) setInnerWidth.
- Specified by:
setInnerWidth
in interfaceWindow
- Parameters:
innerWidth
- a boolean.
-
getOuterHeight
public double getOuterHeight()getOuterHeight.
- Specified by:
getOuterHeight
in interfaceWindow
- Returns:
- a
Double
object.
-
setOuterHeight
public void setOuterHeight(double outerHeight) setOuterHeight.
- Specified by:
setOuterHeight
in interfaceWindow
- Parameters:
outerHeight
- a boolean.
-
getOuterWidth
public double getOuterWidth()getOuterWidth.
- Specified by:
getOuterWidth
in interfaceWindow
- Returns:
- a
Double
object.
-
setOuterWidth
public void setOuterWidth(double outerWidth) setOuterWidth.
- Specified by:
setOuterWidth
in interfaceWindow
- Parameters:
outerWidth
- a boolean.
-
matchMedia
matchMedia.
- Specified by:
matchMedia
in interfaceWindow
- Parameters:
mediaQueryString
- aString
object.- Returns:
- a
MediaQueryList
object.
-
atob
atob.
- Specified by:
atob
in interfaceWindowBase64
- Parameters:
encodedString
- aString
object.- Returns:
- a
String
object. - Throws:
DOMException
-
btoa
btoa.
- Specified by:
btoa
in interfaceWindowBase64
- Parameters:
rString
- aString
object.- Returns:
- a
String
object.
-
getConsole
getConsole.
- Specified by:
getConsole
in interfaceWindowConsole
- Returns:
- a
Console
object.
-
getClientInformation
getClientInformation.
- Specified by:
getClientInformation
in interfaceWindow
- Returns:
- a
Navigator
object.
-
setDefaultStatus
setDefaultStatus.
- Specified by:
setDefaultStatus
in interfaceWindow
- Parameters:
defaultStatus
- aString
object.
-
getDevicePixelRatio
public double getDevicePixelRatio()getDevicePixelRatio.
- Specified by:
getDevicePixelRatio
in interfaceWindow
- Returns:
- a
Double
object.
-
getDoNotTrack
getDoNotTrack.
- Specified by:
getDoNotTrack
in interfaceWindow
- Returns:
- a
String
object.
-
isIsSecureContext
public boolean isIsSecureContext()isIsSecureContext.
- Specified by:
isIsSecureContext
in interfaceWindow
- Returns:
- a boolean.
-
getLocationbar
getLocationbar.
- Specified by:
getLocationbar
in interfaceWindow
- Returns:
- a
BarProp
object.
-
getMenubar
getMenubar.
- Specified by:
getMenubar
in interfaceWindow
- Returns:
- a
BarProp
object.
-
setName
setName.
-
getPageXOffset
public double getPageXOffset()getPageXOffset.
- Specified by:
getPageXOffset
in interfaceWindow
- Returns:
- a
Double
object.
-
getPageYOffset
public double getPageYOffset()getPageYOffset.
- Specified by:
getPageYOffset
in interfaceWindow
- Returns:
- a
Double
object.
-
getPersonalbar
getPersonalbar.
- Specified by:
getPersonalbar
in interfaceWindow
- Returns:
- a
BarProp
object.
-
getScreenLeft
public double getScreenLeft()getScreenLeft.
- Specified by:
getScreenLeft
in interfaceWindow
- Returns:
- a
Double
object.
-
getScreenTop
public double getScreenTop()getScreenTop.
- Specified by:
getScreenTop
in interfaceWindow
- Returns:
- a
Double
object.
-
getScreenX
public double getScreenX()getScreenX.
- Specified by:
getScreenX
in interfaceWindow
- Returns:
- a
Double
object.
-
getScreenY
public double getScreenY()getScreenY.
- Specified by:
getScreenY
in interfaceWindow
- Returns:
- a
Double
object.
-
getScrollX
public double getScrollX()getScrollX.
- Specified by:
getScrollX
in interfaceWindow
- Returns:
- a
Double
object.
-
getScrollY
public double getScrollY()getScrollY.
- Specified by:
getScrollY
in interfaceWindow
- Returns:
- a
Double
object.
-
getScrollbars
getScrollbars.
- Specified by:
getScrollbars
in interfaceWindow
- Returns:
- a
BarProp
object.
-
getStatusbar
getStatusbar.
- Specified by:
getStatusbar
in interfaceWindow
- Returns:
- a
BarProp
object.
-
getToolbar
getToolbar.
- Specified by:
getToolbar
in interfaceWindow
- Returns:
- a
BarProp
object.
-
confirm
public boolean confirm()confirm.
-
getMatchedCSSRules
getMatchedCSSRules.
- Specified by:
getMatchedCSSRules
in interfaceWindow
- Parameters:
elt
- aElement
object.pseudoElt
- aString
object.- Returns:
- a
CSSRuleListImpl
object.
-
getMatchedCSSRules
getMatchedCSSRules.
- Specified by:
getMatchedCSSRules
in interfaceWindow
- Parameters:
elt
- aElement
object.- Returns:
- a
CSSRuleListImpl
object.
-
getSelection
getSelection.
- Specified by:
getSelection
in interfaceWindow
- Returns:
- a
Selection
object.
-
moveBy
public void moveBy(double x, double y) moveBy.
-
moveTo
public void moveTo(double x, double y) moveTo.
-
open
open.
-
postMessage
postMessage.
- Specified by:
postMessage
in interfaceWindow
- Parameters:
message
- aString
object.targetOrigin
- aString
object.
-
print
public void print()print.
-
prompt
prompt.
-
scroll
public void scroll()scroll.
-
scrollBy
public void scrollBy()scrollBy.
-
scrollTo
public void scrollTo()scrollTo.
-
stop
public void stop()stop.
-
get
get.
-
getFrames
getFrames.
-
getNodeFilter
-
toString
-