Section 25.188. JSObject.getWindow( ): return initial JSObject for browser window


25.188. JSObject.getWindow( ): return initial JSObject for browser window

Java method in Java plug-in

25.188.1. Synopsis

 public static JSObject getWindow(java.applet.Applet applet) 

25.188.1.1. Arguments

applet

An Applet object running in the web browser window for which a JSObject is to be obtained.

25.188.1.2. Returns

A JSObject that represents the JavaScript Window object for the web browser window that contains the specified applet.

25.188.2. Description

The getWindow( ) method is the first JSObject method that any Java applet calls. JSObject does not define a constructor, and the static getWindow( ) method provides the only way to obtain an initial "root" JSObject from which other JSObjects may be obtained.




JavaScript. The Definitive Guide
JavaScript: The Definitive Guide
ISBN: 0596101996
EAN: 2147483647
Year: 2004
Pages: 767

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net