netscape.javascript.JSObject (Java class)

The full definition of the JSObject class for encapsulating JavaScript objects in Java. A shortcut to the Packages.netscape.javascript.JSObject class.

Availability:

JavaScript - 1.1
Netscape - 3.0
Class methods:getWindow()

Values of this type are visible to JavaScript as the encapsulated object that was originally passed to Java. Effectively, the wrapper is removed.

Note that you cannot use this as a constructor. There wouldn't be any point anyway because you can create JavaScript objects within the JavaScript environment; there is no need to go through the Java bridge to accomplish that.

See also:Java calling JavaScript, Java to JavaScript values, JavaScript to Java values, JSObject object