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.
| Prev | Home | Next |
| netscape.javascript | Up | netscape.lck |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. | ||