"Fossies" - the Fresh Open Source Software Archive

Member "jacl1.4.1/docs/TclJava/JavaPropCmd.html" (8 May 1999, 1072 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 java::prop Command


Usage:

java::prop ?-noconvert? javaObj property ?value property value ...?

The java::prop command is used to manipulate Java Bean properties from Tcl. The javaObj argument specifies an object handle. The property argument specifies a Java Bean property that has corresponding get and set methods. If an additional value parameter exists, then the property will be set to value, otherwise the current value of the property is returned. Multiple properties may be set via additional parameters by alternating properties and values.

The Conversions section describes the effect of the optional -noconvert flag on the result. The -noconvert flag can only be used when getting the value of a property.

Copyright © 1997-1998 Sun Microsystems, Inc.