|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.microedition.midlet.MIDlet
example.serverscript.demo.Demo
public class Demo
JSR 172 demo. Almost all screens displayed by the demo comes from server in xml format. It's up to server, what the demo will do.
Nested Class Summary | |
---|---|
(package private) class |
Demo.ParserHandler
Parser handler class to parse screen information received from server. |
Constructor Summary | |
---|---|
Demo()
|
Method Summary | |
---|---|
void |
commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable d)
Handle users commands. |
void |
destroyApp(boolean unconditional)
Destroy midlet. |
void |
error(java.lang.String msg)
Display error screen. |
void |
pauseApp()
Pause the midlet. |
void |
run()
Retrieving and parsing thread. |
void |
startApp()
Initialize midlet data, service, parsers |
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 Demo()
Method Detail |
---|
public void startApp()
startApp
in class javax.microedition.midlet.MIDlet
public void pauseApp()
pauseApp
in class javax.microedition.midlet.MIDlet
public void destroyApp(boolean unconditional)
destroyApp
in class javax.microedition.midlet.MIDlet
unconditional
- Unconditional flag.public void run()
run
in interface java.lang.Runnable
public void error(java.lang.String msg)
public void commandAction(javax.microedition.lcdui.Command c, javax.microedition.lcdui.Displayable d)
commandAction
in interface javax.microedition.lcdui.CommandListener
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |