"Fossies" - the Fresh Open Source Software Archive

Member "jacl1.4.1/docs/TclJava/JavaObjCmd.html" (27 Dec 2002, 1091 Bytes) of package /linux/misc/jacl1.4.1.tar.gz:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. Alternatively you can here view or download the uninterpreted raw source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.


The javaObj Command


Usage:

javaObj ?-noconvert? signature ?arg arg ...?

Each Java object handle is also the name of a Tcl command that can be used to invoke accessible methods of that object from Tcl. The signature argument specifies which instance method to invoke. The Signatures section covers the form of the signature argument in more detail. Additional parameters to an object command are converted to Java objects or primitive Java values and passed to the method. It is not possible to invoke static methods via a javaObj handle, use the java::call method instead.

The Conversions section describes the result and possible error conditions of the object command, including the effect of the optional -noconvert flag.

Copyright © 1997-1998 Sun Microsystems, Inc.