Uses of Class
org.htmlunit.javascript.host.Window
-
Packages that use Window Package Description org.htmlunit.javascript Classes in this package are specific to the JavaScript engine - users of HtmlUnit shouldn't need anything in this package.org.htmlunit.javascript.host Implementations of the various JavaScript host objects - users of HtmlUnit shouldn't need anything in this package.org.htmlunit.javascript.host.crypto Implementations of the Crypto JavaScript host objects - users of HtmlUnit shouldn't need anything in this package.org.htmlunit.javascript.host.dom Implementations of the DOM JavaScript host objects - users of HtmlUnit shouldn't need anything in this package.org.htmlunit.javascript.host.event Implementations of the JavaScript host objects for events - users of HtmlUnit shouldn't need anything in this package.org.htmlunit.javascript.host.svg Implementations of the Scalable Vector Graphics JavaScript host objects - users of HtmlUnit shouldn't need anything in this package.org.htmlunit.javascript.host.worker Implementations of the Web Workers JavaScript host objects - users of HtmlUnit shouldn't need anything in this package. -
-
Uses of Window in org.htmlunit.javascript
Methods in org.htmlunit.javascript that return Window Modifier and Type Method Description Window
HtmlUnitScriptable. getWindow()
Gets the window that is the top scope for this object.protected static Window
HtmlUnitScriptable. getWindow(org.htmlunit.corejs.javascript.Scriptable s)
Gets the window that is the top scope for the specified object.Methods in org.htmlunit.javascript with parameters of type Window Modifier and Type Method Description private static void
JavaScriptEngine. additionalCtor(Window window, java.util.Map<java.lang.String,org.htmlunit.corejs.javascript.Scriptable> prototypesPerJSName, java.lang.reflect.Method ctorMethod, java.lang.String prop, java.lang.String clazzName)
static org.htmlunit.corejs.javascript.RhinoException
JavaScriptEngine. asJavaScriptException(Window window, DOMException exception)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Encapsulates the givenDOMException
into a Rhino-compatible exception.private static void
JavaScriptEngine. defineConstructor(Window window, org.htmlunit.corejs.javascript.Scriptable prototype, org.htmlunit.corejs.javascript.ScriptableObject constructor)
-
Uses of Window in org.htmlunit.javascript.host
Fields in org.htmlunit.javascript.host declared as Window Modifier and Type Field Description private Window
Location. window_
The window which owns this location object.Methods in org.htmlunit.javascript.host that return Window Modifier and Type Method Description Window
WindowProxy. getDelegee()
Window
Window. getFrames_js()
Returns the value of theframes
property.Window
Window. getSelf()
Returns theself
property.Window
Window. getWindow_js()
Returns the window property.Methods in org.htmlunit.javascript.host with parameters of type Window Modifier and Type Method Description void
Location. initialize(Window window, Page page)
Initializes this Location.private static int
WindowOrWorkerGlobalScopeMixin. setTimeoutIntervalImpl(Window window, java.lang.Object code, int timeout, boolean isTimeout, java.lang.Object[] params)
Constructors in org.htmlunit.javascript.host with parameters of type Window Constructor Description Netscape(Window window)
Storage(Window window, java.util.Map<java.lang.String,java.lang.String> store)
Constructor.WebSocket(java.lang.String url, Window window)
Creates a new instance. -
Uses of Window in org.htmlunit.javascript.host.crypto
Constructors in org.htmlunit.javascript.host.crypto with parameters of type Window Constructor Description Crypto(Window window)
Facility constructor. -
Uses of Window in org.htmlunit.javascript.host.dom
Fields in org.htmlunit.javascript.host.dom declared as Window Modifier and Type Field Description private Window
Document. window_
Methods in org.htmlunit.javascript.host.dom with parameters of type Window Modifier and Type Method Description void
Document. setWindow(Window window)
Sets the Window JavaScript object that encloses this document.private static org.htmlunit.corejs.javascript.Scriptable
Document. staticGetPrototype(Window window, java.lang.Class<? extends HtmlUnitScriptable> javaScriptClass)
-
Uses of Window in org.htmlunit.javascript.host.event
Fields in org.htmlunit.javascript.host.event declared as Window Modifier and Type Field Description private Window
MessageEvent. source_
Methods in org.htmlunit.javascript.host.event that return Window Modifier and Type Method Description Window
MessageEvent. getSource()
Retrieves the data contained.Methods in org.htmlunit.javascript.host.event with parameters of type Window Modifier and Type Method Description void
MessageEvent. initMessageEvent(java.lang.String type, boolean canBubble, boolean cancelable, java.lang.Object data, java.lang.String origin, java.lang.String lastEventId, Window source, java.lang.Object ports)
Initializes an event object. -
Uses of Window in org.htmlunit.javascript.host.svg
Constructors in org.htmlunit.javascript.host.svg with parameters of type Window Constructor Description SVGMatrix(Window scope)
Instantiates and configure scope and prototype. -
Uses of Window in org.htmlunit.javascript.host.worker
Fields in org.htmlunit.javascript.host.worker declared as Window Modifier and Type Field Description private Window
DedicatedWorkerGlobalScope. owningWindow_
Constructors in org.htmlunit.javascript.host.worker with parameters of type Window Constructor Description DedicatedWorkerGlobalScope(Window owningWindow, org.htmlunit.corejs.javascript.Context context, WebClient webClient, Worker worker)
Constructor.Worker(org.htmlunit.corejs.javascript.Context cx, Window owningWindow, java.lang.String url)
-