|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.microedition.midlet.MIDlet
example.wormgame.WormMain
public class WormMain
Main routine for worm MIDlet.
Constructor Summary | |
---|---|
WormMain()
Default constructor for worm MIDlet game. |
Method Summary | |
---|---|
void |
commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable d)
Respond to a commands issued on any Screen. |
protected void |
destroyApp(boolean unconditional)
Destroy must cleanup everything. |
protected void |
pauseApp()
Pause signals the thread to stop by clearing the thread field. |
protected void |
startApp()
Start creates the thread to do the timing. |
Methods inherited from class javax.microedition.midlet.MIDlet |
---|
checkPermission, getAppProperty, notifyDestroyed, notifyPaused, platformRequest, resumeRequest |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WormMain()
Method Detail |
---|
protected void destroyApp(boolean unconditional)
destroyApp
in class javax.microedition.midlet.MIDlet
unconditional
- if true, force MIDlet destroy processingprotected void pauseApp()
pauseApp
in class javax.microedition.midlet.MIDlet
protected void startApp()
startApp
in class javax.microedition.midlet.MIDlet
public void commandAction(javax.microedition.lcdui.Command c, javax.microedition.lcdui.Displayable d)
commandAction
in interface javax.microedition.lcdui.CommandListener
c
- command object source of actiond
- screen object containing the item the action was performed on
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |