June 1999
Intermediate to advanced
540 pages
21h 39m
English
JavaClass — JavaScript representation of a Java class
Client-side Navigator 3
// Read or write a static Java field or method
javaclass.static_member
// Create a new Java object
new javaclass( . . . )Each JavaClass object contains properties that have the same names as
the public static fields and methods of the Java class it
represents. These properties allow you to read and write the static
fields of the class. The properties that represent Java methods refer
to JavaMethod objects, which are JavaScript objects that allow you to
invoke Java methods.
Each JavaClass object has different properties;
you can use a for/in loop to enumerate them for any given JavaClass
object.
Read now
Unlock full access