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.