tcl.lang.cmd
Class TraceCmd

java.lang.Object
  extended by tcl.lang.cmd.TraceCmd
All Implemented Interfaces:
Command

public class TraceCmd
extends Object
implements Command

The TraceCmd class implements the Command interface for specifying a new Tcl command. The method cmdProc implements the built-in Tcl command "trace" which is used to manupilate variable traces. See user documentation for more details.


Constructor Summary
TraceCmd()
           
 
Method Summary
 void cmdProc(Interp interp, TclObject[] objv)
          This procedure is invoked as part of the Command interface to process the "trace" Tcl command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TraceCmd

public TraceCmd()
Method Detail

cmdProc

public void cmdProc(Interp interp,
                    TclObject[] objv)
             throws TclException
This procedure is invoked as part of the Command interface to process the "trace" Tcl command. See the user documentation for details on what it does.

Specified by:
cmdProc in interface Command
Parameters:
interp - current interpreter.
objv - argument list.
Throws:
TclException


Copyright © 2015. All rights reserved.