JavaScript: The Definitive Guide
25.186. JSObject.getMember( ): read a property of a JavaScript object
Java method in Java plug-in
25.186.1. Synopsis
public Object getMember(String name) 25.186.1.1. Arguments
25.186.1.2. Returns
A Java object that contains the value of the named property of the specified JSObject. 25.186.2. Description
The getMember( ) method of the Java JSObject class reads and returns to Java the value of a named property of a JavaScript object. The return value may be another JSObject object or a Double, Boolean, or String object, but it is returned as a generic Object, which you must cast as necessary. |
Категории