|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.microedition.midlet.MIDlet
examples.cityguide.CityGuideMIDlet
public class CityGuideMIDlet
Main CityGuide MIDlet
Constructor Summary | |
---|---|
CityGuideMIDlet()
Main City Guide MIDlet |
Method Summary | |
---|---|
void |
commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable s)
Action handler |
(package private) void |
createLocationProvider()
Initializes LocationProvider uses default criteria |
void |
destroyApp(boolean unconditional)
|
static CityGuideMIDlet |
getInstance()
|
java.util.Vector |
getLandmarks(java.lang.String[] categories,
double minLat,
double minLon,
double maxLat,
double maxLon)
Get landmarks of the categories in given extent |
java.util.Vector |
getSelectedCategories()
which categories are selected |
boolean |
isMapDisplayed()
is map display on |
void |
pauseApp()
|
void |
selectedCategoriesChanged()
Update map display - categories have changed |
void |
showDetailsScreen()
Details screen contains detailed info about landmarks. |
void |
showErrorForm(java.lang.String message)
Show error screen with last error |
void |
showMapCanvas(boolean updateLandmarks)
Initializes map display and sets listener for location updates use LocationProvider defaults |
void |
showProgressScreen(java.lang.String title,
int size)
Progress screen while loading landmarks Especially while creating new landmark store from text resource file |
void |
showSettingsScreen(boolean show)
Settings screen let user select categories of points of interest he/she is interested in. |
void |
showWelcomeScreen()
Simple welcome screen |
void |
startApp()
|
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 CityGuideMIDlet()
Method Detail |
---|
public static CityGuideMIDlet getInstance()
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
public void commandAction(javax.microedition.lcdui.Command c, javax.microedition.lcdui.Displayable s)
commandAction
in interface javax.microedition.lcdui.CommandListener
void createLocationProvider()
public void showMapCanvas(boolean updateLandmarks)
public void showErrorForm(java.lang.String message)
public void showProgressScreen(java.lang.String title, int size)
public void showSettingsScreen(boolean show)
public void showDetailsScreen()
public void showWelcomeScreen()
public boolean isMapDisplayed()
public java.util.Vector getSelectedCategories()
public void selectedCategoriesChanged()
public java.util.Vector getLandmarks(java.lang.String[] categories, double minLat, double minLon, double maxLat, double maxLon)
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |