org.hecl.midp20.lcdui
Class ChoiceGroupCmd

java.lang.Object
  extended by org.hecl.midp20.lcdui.OptionCmd
      extended by org.hecl.midp20.lcdui.ItemCmd
          extended by org.hecl.midp20.lcdui.ChoiceGroupCmd
All Implemented Interfaces:
ClassCommand, Command

public class ChoiceGroupCmd
extends ItemCmd


Constructor Summary
protected ChoiceGroupCmd()
           
 
Method Summary
 Thing cget(Interp ip, java.lang.Object target, java.lang.String optname)
           
 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.
 void cset(Interp ip, java.lang.Object target, java.lang.String optname, Thing optval)
           
 Thing handlecmd(Interp ip, java.lang.Object target, java.lang.String subcmd, Thing[] argv, int startat)
           
 Thing itemcget(Interp ip, java.lang.Object target, int itemno, java.lang.String optname)
           
 void itemcset(Interp ip, java.lang.Object target, int itemno, java.lang.String optname, Thing optval)
           
static void load(Interp ip)
           
static void unload(Interp ip)
           
 
Methods inherited from class org.hecl.midp20.lcdui.OptionCmd
configure, method, setInstanceProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChoiceGroupCmd

protected ChoiceGroupCmd()
Method Detail

load

public static void load(Interp ip)

unload

public static void unload(Interp ip)

cmdCode

public Thing cmdCode(Interp interp,
                     Thing[] argv)
              throws HeclException
Description copied from interface: Command
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

cget

public Thing cget(Interp ip,
                  java.lang.Object target,
                  java.lang.String optname)
           throws HeclException
Overrides:
cget in class ItemCmd
Throws:
HeclException

cset

public void cset(Interp ip,
                 java.lang.Object target,
                 java.lang.String optname,
                 Thing optval)
          throws HeclException
Overrides:
cset in class ItemCmd
Throws:
HeclException

itemcget

public Thing itemcget(Interp ip,
                      java.lang.Object target,
                      int itemno,
                      java.lang.String optname)
               throws HeclException
Overrides:
itemcget in class ItemCmd
Throws:
HeclException

itemcset

public void itemcset(Interp ip,
                     java.lang.Object target,
                     int itemno,
                     java.lang.String optname,
                     Thing optval)
              throws HeclException
Overrides:
itemcset in class ItemCmd
Throws:
HeclException

handlecmd

public Thing handlecmd(Interp ip,
                       java.lang.Object target,
                       java.lang.String subcmd,
                       Thing[] argv,
                       int startat)
                throws HeclException
Overrides:
handlecmd in class ItemCmd
Throws:
HeclException