| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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)
This method implements the functionality of the command.  | 
| Method Detail | 
|---|
void cmdProc(Interp interp,
             TclObject[] objv)
             throws TclException
interp - The interpreter for setting the results and which contains the
            contextobjv - the argument list for the command; objv[0[ is the command name
            itself
TclException - on any errors
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||