"Fossies" - the Fresh Open Source Software archive

Member "jacl1.4.1/docs/TclJava/JavaObjCmd.html" of archive 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 source code. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively 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.