|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.microedition.midlet.MIDlet
midlet.MapViewer
public class MapViewer
MapViewer is the main MIDlet of the application MobileSOM.
It consists of:
The User Interface displayed on the Mobile Device
The gui.MapCanvas
displays a map or covers and menu items on the screen.
It handles user input (pointer and key events)
The Player
The AudioPlayer
streams or plays audiofiles eighter on the
mobile device or sends remote requests to a different device. In the latter
case the player acts like a remote control.
MAP
Grid
: holds a list of all items in a unit table. Every item
(e.g.song) is mapped to a specific unit on the map.MapPoint
s: A list of points drawed by the user
on the mobile (=Path)MapItem
: An item that belongs to a Unit on the Grid,
saved with its nameMapItemList
: A list of items that are queued in the
itemlist.PropertyManager
: Containing the mapsource, the mapimage,
the mp3server, ... see conf.properties
LanguageManager
: A wordlist used by the appliction to
display text to the user.
Constructor Summary | |
---|---|
MapViewer()
|
Method Summary | |
---|---|
void |
commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable d)
Called by the system to indicate that a command has been invoked on a particular displayable. |
void |
destroyApp(boolean unconditional)
This method is called by the Applicationmanager, as soon the MIDlet terminates |
void |
pauseApp()
This method is called by the Applicationmanager, as an incoming call occurs |
void |
startApp()
This method is called by the Applicationmanager as soon the MIDlet is launched by a user |
Methods inherited from class javax.microedition.midlet.MIDlet |
---|
checkPermission, getAppProperty, notifyDestroyed, notifyPaused, platformRequest, resumeRequest |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MapViewer()
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
- -public void commandAction(javax.microedition.lcdui.Command c, javax.microedition.lcdui.Displayable d)
commandAction
in interface javax.microedition.lcdui.CommandListener
c
- the Command that was invokedd
- the Displayable on which the command was invoked
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |