tcl.lang
Interface Command

All Known Subinterfaces:
CommandWithDispose
All Known Implementing Classes:
JavaForCmd, JavaImportCmd, JavaTryCmd, NamespaceCmd, Procedure, ReflectObject, TclParser, TclParserExtension, UnsupportedJDetachCallCmd

public interface Command

The Command interface specifies the method that a new Tcl command must implement. See the createCommand method of the Interp class to see how to add a new command to an interperter.


Method Summary
 void cmdProc(Interp interp, TclObject[] objv)
           
 

Method Detail

cmdProc

void cmdProc(Interp interp,
             TclObject[] objv)
             throws TclException
Throws:
TclException