Class WindowProxy

  • All Implemented Interfaces:
    java.io.Serializable, org.htmlunit.corejs.javascript.Callable, org.htmlunit.corejs.javascript.Constructable, org.htmlunit.corejs.javascript.Function, org.htmlunit.corejs.javascript.Scriptable, org.htmlunit.corejs.javascript.SymbolScriptable

    public class WindowProxy
    extends HtmlUnitScriptableProxy<Window>
    Proxy for a Window script object.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private WebWindow webWindow_  
      • Fields inherited from class org.htmlunit.corejs.javascript.Delegator

        obj
      • Fields inherited from interface org.htmlunit.corejs.javascript.Scriptable

        NOT_FOUND
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Window getDelegee()
      void setParentScope​(org.htmlunit.corejs.javascript.Scriptable parent)
      Does nothing.
      • Methods inherited from class org.htmlunit.corejs.javascript.Delegator

        call, construct, delete, delete, delete, get, getClassName, getIds, getParentScope, getPrototype, has, newInstance, put, setDelegee, setPrototype
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • webWindow_

        private final WebWindow webWindow_
    • Constructor Detail

      • WindowProxy

        public WindowProxy​(WebWindow webWindow)
        Construct a proxy for the Window of the WebWindow.
        Parameters:
        webWindow - the window
    • Method Detail

      • getDelegee

        public Window getDelegee()
        Overrides:
        getDelegee in class org.htmlunit.corejs.javascript.Delegator
      • setParentScope

        public void setParentScope​(org.htmlunit.corejs.javascript.Scriptable parent)
        Does nothing.
        Specified by:
        setParentScope in interface org.htmlunit.corejs.javascript.Scriptable
        Overrides:
        setParentScope in class org.htmlunit.corejs.javascript.Delegator
        Parameters:
        parent - the new parent scope