org.hecl
Interface Command

All Known Implementing Classes:
AlertCmd, CanvasCmd, ChoiceGroupCmd, CommandCmd, DateFieldCmd, DisplayableCmd, EventCmd, FileCmds, FormCmd, GraphicsCmd, HeclJavaCmd, ImageCmd, ImageItemCmd, ItemCmd, JavaCmd, ListCmd, MathCmds, MidletCmd, NullCmd, Operator, OptionCmd, RMSCmd, ScreenCmd, SettingsCmd, SpacerCmd, StringItemCmd, TextBoxCmd, TextFieldCmd, TickerCmd

public interface Command

The Command interface is the template for all commands implemented in Hecl.

Version:
1.0
Author:
David N. Welton

Method Summary
 Thing cmdCode(Interp interp, Thing[] argv)
          The cmdCode method takes an interpreter and an array of Things, performs some calculations, and returns a Thing representing the computed value, or null.
 

Method Detail

cmdCode

Thing cmdCode(Interp interp,
              Thing[] argv)
              throws HeclException
The cmdCode method takes an interpreter and an array of Things, performs some calculations, and returns a Thing representing the computed value, or null.

Parameters:
interp - an Interp value
argv - a Thing[] value
Returns:
A Thing representing the computed value, or null.
Throws:
HeclException - if an error occurs