| example.audiodemo.BBall
BBall | public class BBall extends MIDlet implements CommandListener,Runnable(Code) | | |
Constructor Summary | |
public | BBall() |
Method Summary | |
public void | commandAction(Command c, Displayable s) | public void | destroyApp(boolean unconditional) Destroy must cleanup everything not handled
by the garbage collector. | public void | displayList() | public void | pauseApp() Called when this MIDlet is paused. | public void | run() | public void | startApp() Called when this MIDlet is started for the first time,
or when the MIDlet returns from paused mode.
If it is the first time, display the menu list.
Otherwise, wake up the thread. |
commandAction | public void commandAction(Command c, Displayable s)(Code) | | |
destroyApp | public void destroyApp(boolean unconditional)(Code) | | Destroy must cleanup everything not handled
by the garbage collector.
|
displayList | public void displayList()(Code) | | |
pauseApp | public void pauseApp()(Code) | | Called when this MIDlet is paused.
Pause the thread.
If the game is not already paused, call its pause method.
For consistency across different VM's,
it's a good idea to stop the player if
it's currently playing.
|
startApp | public void startApp()(Code) | | Called when this MIDlet is started for the first time,
or when the MIDlet returns from paused mode.
If it is the first time, display the menu list.
Otherwise, wake up the thread. If music was playing
when the MIDlet was paused, call the game's
start method.
|
|
|