org.hecl.midp20
Class MidletCmd
java.lang.Object
org.hecl.Operator
org.hecl.midp20.MidletCmd
- All Implemented Interfaces:
- Command
public class MidletCmd
- extends Operator
Constructor Summary |
protected |
MidletCmd(int cmdcode,
int minargs,
int maxargs)
|
Method Summary |
static javax.microedition.lcdui.Display |
getDisplay()
|
static void |
load(Interp ip,
javax.microedition.midlet.MIDlet m)
|
static javax.microedition.midlet.MIDlet |
midlet()
|
Thing |
operate(int cmd,
Interp interp,
Thing[] argv)
The operate method dispatches to the actual code. |
static java.util.Vector |
tov(java.lang.String[] s)
|
static void |
unload(Interp ip)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EXIT
public static final int EXIT
- See Also:
- Constant Field Values
PAUSE
public static final int PAUSE
- See Also:
- Constant Field Values
RESUME
public static final int RESUME
- See Also:
- Constant Field Values
PLATFORMREQUEST
public static final int PLATFORMREQUEST
- See Also:
- Constant Field Values
CHECKPERMISSIONS
public static final int CHECKPERMISSIONS
- See Also:
- Constant Field Values
GETPROP
public static final int GETPROP
- See Also:
- Constant Field Values
HASPROP
public static final int HASPROP
- See Also:
- Constant Field Values
RESASSTRING
public static final int RESASSTRING
- See Also:
- Constant Field Values
PLAYTONE
protected static final int PLAYTONE
- See Also:
- Constant Field Values
CONTENTTYPES
protected static final int CONTENTTYPES
- See Also:
- Constant Field Values
PROTOCOLS
protected static final int PROTOCOLS
- See Also:
- Constant Field Values
VIBRATE
protected static final int VIBRATE
- See Also:
- Constant Field Values
FLASHBACKLIGHT
protected static final int FLASHBACKLIGHT
- See Also:
- Constant Field Values
themidlet
protected static javax.microedition.midlet.MIDlet themidlet
MidletCmd
protected MidletCmd(int cmdcode,
int minargs,
int maxargs)
midlet
public static javax.microedition.midlet.MIDlet midlet()
getDisplay
public static javax.microedition.lcdui.Display getDisplay()
operate
public Thing operate(int cmd,
Interp interp,
Thing[] argv)
throws HeclException
- Description copied from class:
Operator
- The
operate
method dispatches to the actual code.
- Specified by:
operate
in class Operator
- Parameters:
cmd
- an int
valueinterp
- an Interp
valueargv
- a Thing[]
value
- Returns:
- a
Thing
value, or null when no value has been
- Throws:
HeclException
- if an error occurs
tov
public static java.util.Vector tov(java.lang.String[] s)
load
public static void load(Interp ip,
javax.microedition.midlet.MIDlet m)
throws HeclException
- Throws:
HeclException
unload
public static void unload(Interp ip)
throws HeclException
- Throws:
HeclException