Section 25.186. JSObject.getMember( ): read a property of a JavaScript object


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

name

The name of the property to be read.

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.




JavaScript. The Definitive Guide
JavaScript: The Definitive Guide
ISBN: 0596101996
EAN: 2147483647
Year: 2004
Pages: 767

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net