Interface Window

All Superinterfaces:
AbstractView, EventTarget, GlobalEventHandlers, WindowBase64, WindowConsole, WindowEventHandlers, WindowOrWorkerGlobalScope, WindowTimers
All Known Subinterfaces:
WindowProxy
All Known Implementing Classes:
WindowImpl

A window containing a DOM document; the document property points to the DOM document loaded in that window.
  • Method Details

    • getClientInformation

      Navigator getClientInformation()

      getClientInformation.

      Returns:
      a Navigator object.
    • isClosed

      boolean isClosed()

      isClosed.

      Returns:
      a boolean.
    • getDefaultStatus

      String getDefaultStatus()

      getDefaultStatus.

      Returns:
      a String object.
    • setDefaultStatus

      void setDefaultStatus(String defaultStatus)

      setDefaultStatus.

      Parameters:
      defaultStatus - a String object.
    • getDevicePixelRatio

      double getDevicePixelRatio()

      getDevicePixelRatio.

      Returns:
      a Double object.
    • getDoNotTrack

      String getDoNotTrack()

      getDoNotTrack.

      Returns:
      a String object.
    • getHistory

      History getHistory()

      getHistory.

      Returns:
      a History object.
    • getInnerHeight

      double getInnerHeight()

      getInnerHeight.

      Returns:
      a Double object.
    • setInnerHeight

      void setInnerHeight(double innerHeight)

      setInnerHeight.

      Parameters:
      innerHeight - a boolean.
    • getInnerWidth

      double getInnerWidth()

      getInnerWidth.

      Returns:
      a Double object.
    • setInnerWidth

      void setInnerWidth(double innerWidth)

      setInnerWidth.

      Parameters:
      innerWidth - a boolean.
    • isIsSecureContext

      boolean isIsSecureContext()

      isIsSecureContext.

      Returns:
      a boolean.
    • getLength

      int getLength()

      getLength.

      Returns:
      a Integer object.
    • getLocation

      Location getLocation()

      getLocation.

      Returns:
      a Location object.
    • setLocation

      void setLocation(Location location)

      setLocation.

      Parameters:
      location - a Location object.
    • setLocation

      void setLocation(String location)

      setLocation.

      Parameters:
      location - a String object.
    • getLocationbar

      BarProp getLocationbar()

      getLocationbar.

      Returns:
      a BarProp object.
    • getMenubar

      BarProp getMenubar()

      getMenubar.

      Returns:
      a BarProp object.
    • getName

      String getName()

      getName.

      Returns:
      a String object.
    • setName

      void setName(String name)

      setName.

      Parameters:
      name - a String object.
    • getNavigator

      Navigator getNavigator()

      getNavigator.

      Returns:
      a Navigator object.
    • getOuterHeight

      double getOuterHeight()

      getOuterHeight.

      Returns:
      a Double object.
    • setOuterHeight

      void setOuterHeight(double outerHeight)

      setOuterHeight.

      Parameters:
      outerHeight - a boolean.
    • getOuterWidth

      double getOuterWidth()

      getOuterWidth.

      Returns:
      a Double object.
    • setOuterWidth

      void setOuterWidth(double outerWidth)

      setOuterWidth.

      Parameters:
      outerWidth - a boolean.
    • getPageXOffset

      double getPageXOffset()

      getPageXOffset.

      Returns:
      a Double object.
    • getPageYOffset

      double getPageYOffset()

      getPageYOffset.

      Returns:
      a Double object.
    • getParent

      Window getParent()

      getParent.

      Returns:
      a Window object.
    • getPersonalbar

      BarProp getPersonalbar()

      getPersonalbar.

      Returns:
      a BarProp object.
    • getScreen

      Screen getScreen()

      getScreen.

      Returns:
      a Screen object.
    • getScreenLeft

      double getScreenLeft()

      getScreenLeft.

      Returns:
      a Double object.
    • getScreenTop

      double getScreenTop()

      getScreenTop.

      Returns:
      a Double object.
    • getScreenX

      double getScreenX()

      getScreenX.

      Returns:
      a Double object.
    • getScreenY

      double getScreenY()

      getScreenY.

      Returns:
      a Double object.
    • getScrollX

      double getScrollX()

      getScrollX.

      Returns:
      a Double object.
    • getScrollY

      double getScrollY()

      getScrollY.

      Returns:
      a Double object.
    • getScrollbars

      BarProp getScrollbars()

      getScrollbars.

      Returns:
      a BarProp object.
    • getSelf

      Window getSelf()

      getSelf.

      Returns:
      a Window object.
    • getStatus

      String getStatus()

      getStatus.

      Returns:
      a String object.
    • setStatus

      void setStatus(String status)

      setStatus.

      Parameters:
      status - a String object.
    • getStatusbar

      BarProp getStatusbar()

      getStatusbar.

      Returns:
      a BarProp object.
    • getToolbar

      BarProp getToolbar()

      getToolbar.

      Returns:
      a BarProp object.
    • getTop

      Window getTop()

      getTop.

      Returns:
      a Window object.
    • getWindow

      Window getWindow()

      getWindow.

      Returns:
      a Window object.
    • alert

      void alert(String message)

      alert.

      Parameters:
      message - a String object.
    • blur

      void blur()

      blur.

    • back

      void back()

      back.

    • close

      void close()

      close.

    • confirm

      boolean confirm(String message)

      confirm.

      Parameters:
      message - a String object.
      Returns:
      a boolean.
    • confirm

      boolean confirm()

      confirm.

      Returns:
      a boolean.
    • focus

      void focus()

      focus.

    • getComputedStyle

      ComputedCSSStyleDeclaration getComputedStyle(Element elt, String pseudoElt)

      getComputedStyle.

      Parameters:
      elt - a Element object.
      pseudoElt - a String object.
      Returns:
      a ComputedCSSStyleDeclaration object.
    • getComputedStyle

      ComputedCSSStyleDeclaration getComputedStyle(Element elt)

      getComputedStyle.

      Parameters:
      elt - a Element object.
      Returns:
      a ComputedCSSStyleDeclaration object.
    • getMatchedCSSRules

      CSSRuleListImpl getMatchedCSSRules(Element elt, String pseudoElt)

      getMatchedCSSRules.

      Parameters:
      elt - a Element object.
      pseudoElt - a String object.
      Returns:
      a CSSRuleListImpl object.
    • getMatchedCSSRules

      CSSRuleListImpl getMatchedCSSRules(Element elt)

      getMatchedCSSRules.

      Parameters:
      elt - a Element object.
      Returns:
      a CSSRuleListImpl object.
    • getSelection

      Selection getSelection()

      getSelection.

      Returns:
      a Selection object.
    • matchMedia

      MediaQueryList matchMedia(String query)

      matchMedia.

      Parameters:
      query - a String object.
      Returns:
      a MediaQueryList object.
    • moveBy

      void moveBy(double x, double y)

      moveBy.

      Parameters:
      x - a Double object.
      y - a Double object.
    • moveTo

      void moveTo(double x, double y)

      moveTo.

      Parameters:
      x - a Double object.
      y - a Double object.
    • open

      Window open(String url, String target, String features, boolean replace)

      open.

      Parameters:
      url - a String object.
      target - a String object.
      features - a String object.
      replace - a boolean.
      Returns:
      a Window object.
    • open

      Window open(String url, String target, String features)

      open.

      Parameters:
      url - a String object.
      target - a String object.
      features - a String object.
      Returns:
      a Window object.
    • open

      Window open(String url, String target)

      open.

      Parameters:
      url - a String object.
      target - a String object.
      Returns:
      a Window object.
    • open

      Window open(String url)

      open.

      Parameters:
      url - a String object.
      Returns:
      a Window object.
    • open

      Window open()

      open.

      Returns:
      a Window object.
    • postMessage

      void postMessage(String message, String targetOrigin)

      postMessage.

      Parameters:
      message - a String object.
      targetOrigin - a String object.
    • print

      void print()

      print.

    • prompt

      String prompt(String message, Object defaultValue)

      prompt.

      Parameters:
      message - a String object.
      defaultValue - a Object object.
      Returns:
      a String object.
    • prompt

      String prompt(String message)

      prompt.

      Parameters:
      message - a String object.
      Returns:
      a String object.
    • prompt

      String prompt()

      prompt.

      Returns:
      a String object.
    • getLocalStorage

      Storage getLocalStorage()

      Getter for the field local storage.

      Returns:
      a Storage object.
    • getSessionStorage

      Storage getSessionStorage()

      Getter for the field session storage.

      Returns:
      a Storage object.
    • resizeBy

      void resizeBy(double x, double y)

      resizeBy.

      Parameters:
      x - a Double object.
      y - a Double object.
    • resizeTo

      void resizeTo(double x, double y)

      resizeTo.

      Parameters:
      x - a Double object.
      y - a Double object.
    • scroll

      void scroll()

      scroll.

    • scroll

      void scroll(double x, double y)

      scroll.

      Parameters:
      x - a Double object.
      y - a Double object.
    • scrollBy

      void scrollBy()

      scrollBy.

    • scrollBy

      void scrollBy(double x, double y)

      scrollBy.

      Parameters:
      x - a Double object.
      y - a Double object.
    • scrollTo

      void scrollTo()

      scrollTo.

    • scrollTo

      void scrollTo(double x, double y)

      scrollTo.

      Parameters:
      x - a Double object.
      y - a Double object.
    • stop

      void stop()

      stop.

    • clearInterval

      void clearInterval(int aTimerID)

      clearInterval.

    • clearTimeout

      void clearTimeout(int timeoutID)

      clearTimeout.

    • setOpener

      void setOpener(Window opener)

      opener.

      Parameters:
      opener - a Window object.
    • getOpener

      Window getOpener()

      opener.

      Returns:
      a Window object.
    • get

      Window get(int index)

      get.

      Parameters:
      index - a Integer object.
      Returns:
      a Window object.
    • getFrames

      Window getFrames()

      getFrames.

      Returns:
      a Window object.
    • getMsg

      List<String> getMsg()

      getMsg.

      Returns:
      a List object.
    • getConfig

      Object getConfig()
    • namedItem

      Node namedItem(String name)

      namedItem.

      Parameters:
      name - a String object.
      Returns:
      a Node object.