Name
JavaObject — JavaScript representation of a Java object
Availability
Client-side Navigator 3
Synopsis
// Read or write an instance field or method
javaobject.member
Properties
Each JavaObject object contains properties that have the same names as
the public instance fields and methods (but not the static or class
fields and methods) of the Java object it represents. These properties
allow you to read and write the value of public fields. The properties
of a given JavaObject object obviously depend on the type of Java
object it represents. You can use the for/in
loop to enumerate the
properties of any given JavaObject.
Get Webmaster in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.