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 WindowHtmlUnitScriptable. getWindow()Gets the window that is the top scope for this object.protected static WindowHtmlUnitScriptable. 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 voidJavaScriptEngine. 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.RhinoExceptionJavaScriptEngine. asJavaScriptException(Window window, DOMException exception)INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Encapsulates the givenDOMExceptioninto a Rhino-compatible exception.private static voidJavaScriptEngine. 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 WindowLocation. window_The window which owns this location object.Methods in org.htmlunit.javascript.host that return Window Modifier and Type Method Description WindowWindowProxy. getDelegee()WindowWindow. getFrames_js()Returns the value of theframesproperty.WindowWindow. getSelf()Returns theselfproperty.WindowWindow. getWindow_js()Returns the window property.Methods in org.htmlunit.javascript.host with parameters of type Window Modifier and Type Method Description voidLocation. initialize(Window window, Page page)Initializes this Location.private static intWindowOrWorkerGlobalScopeMixin. 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 WindowDocument. window_Methods in org.htmlunit.javascript.host.dom with parameters of type Window Modifier and Type Method Description voidDocument. setWindow(Window window)Sets the Window JavaScript object that encloses this document.private static org.htmlunit.corejs.javascript.ScriptableDocument. 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 WindowMessageEvent. source_Methods in org.htmlunit.javascript.host.event that return Window Modifier and Type Method Description WindowMessageEvent. getSource()Retrieves the data contained.Methods in org.htmlunit.javascript.host.event with parameters of type Window Modifier and Type Method Description voidMessageEvent. 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 WindowDedicatedWorkerGlobalScope. 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)
-