net.landspurg
Class InfoMap
java.lang.Object
javax.microedition.lcdui.Displayable
javax.microedition.lcdui.Screen
javax.microedition.lcdui.Alert
net.landspurg.InfoMap
- All Implemented Interfaces:
- java.lang.Runnable, javax.microedition.lcdui.CommandListener
public class InfoMap
- extends javax.microedition.lcdui.Alert
- implements java.lang.Runnable, javax.microedition.lcdui.CommandListener
Display the information box when program is started, and
connect to j2memap.landspurg.net server, to check for updates
and to syncrhonize eventually user configuration (mainly bookmarks)
username/password needs to be set up
| Fields inherited from class javax.microedition.lcdui.Alert |
DISMISS_COMMAND, FOREVER |
|
Constructor Summary |
InfoMap(javax.microedition.lcdui.Display d,
Settings mySettings,
java.lang.String inMessage)
|
|
Method Summary |
void |
commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable arg1)
|
int |
getId()
|
void |
info(java.lang.String inString)
|
void |
run()
|
| Methods inherited from class javax.microedition.lcdui.Alert |
addCommand, getDefaultTimeout, getImage, getIndicator, getString, getTimeout, getType, removeCommand, setCommandListener, setImage, setIndicator, setString, setTimeout, setType |
| Methods inherited from class javax.microedition.lcdui.Displayable |
getHeight, getTicker, getTitle, getWidth, isShown, setTicker, setTitle, sizeChanged |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
theMain
public static MapMain theMain
InfoMap
public InfoMap(javax.microedition.lcdui.Display d,
Settings mySettings,
java.lang.String inMessage)
getId
public int getId()
info
public void info(java.lang.String inString)
run
public void run()
- Specified by:
run in interface java.lang.Runnable
commandAction
public void commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable arg1)
- Specified by:
commandAction in interface javax.microedition.lcdui.CommandListener