java.lang.Object
org.htmlunit.corejs.javascript.Delegator
- All Implemented Interfaces:
Serializable,org.htmlunit.corejs.javascript.Callable,org.htmlunit.corejs.javascript.Constructable,org.htmlunit.corejs.javascript.Function,org.htmlunit.corejs.javascript.PropHolder<org.htmlunit.corejs.javascript.Scriptable>,org.htmlunit.corejs.javascript.Scriptable,org.htmlunit.corejs.javascript.SymbolScriptable
Proxy for a
Window script object.- Author:
- Marc Guillemot, Ronald Brill
- See Also:
-
Field Summary
Fields inherited from class org.htmlunit.corejs.javascript.Delegator
objFields inherited from interface org.htmlunit.corejs.javascript.Scriptable
NOT_FOUND -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetParentScope(org.htmlunit.corejs.javascript.VarScope parent) Does nothing, as the window is the top-level scope and its parent scope must remainnull.Methods inherited from class org.htmlunit.javascript.HtmlUnitScriptableProxy
get, get, getDefaultValue, has, has, hasInstance, put, putMethods inherited from class org.htmlunit.corejs.javascript.Delegator
call, construct, delete, delete, delete, get, getClassName, getIds, getParentScope, getPrototype, has, newInstance, put, setDelegee, setPrototypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.htmlunit.corejs.javascript.Function
getDeclarationScope, isConstructorMethods inherited from interface org.htmlunit.corejs.javascript.Scriptable
getAncestor
-
Constructor Details
-
WindowProxy
- Parameters:
webWindow- the web window to proxy
-
-
Method Details
-
getDelegee
- Overrides:
getDelegeein classorg.htmlunit.corejs.javascript.Delegator
-
setParentScope
public void setParentScope(org.htmlunit.corejs.javascript.VarScope parent) Does nothing, as the window is the top-level scope and its parent scope must remainnull.- Specified by:
setParentScopein interfaceorg.htmlunit.corejs.javascript.Scriptable- Overrides:
setParentScopein classorg.htmlunit.corejs.javascript.Delegator- Parameters:
parent- the new parent scope (ignored)
-