uk.co.silentsoftware.ui.views
Class TargetListSaveView

java.lang.Object
  extended by javax.microedition.lcdui.Displayable
      extended by javax.microedition.lcdui.Screen
          extended by javax.microedition.lcdui.Form
              extended by uk.co.silentsoftware.ui.views.AbstractFormView
                  extended by uk.co.silentsoftware.ui.views.TargetListSaveView
All Implemented Interfaces:
javax.microedition.lcdui.CommandListener, GPSDataView

public class TargetListSaveView
extends AbstractFormView
implements GPSDataView

The view shown when the user wants to save a target location


Constructor Summary
TargetListSaveView(javax.microedition.midlet.MIDlet m)
           
 
Method Summary
 void commandAction(javax.microedition.lcdui.Command c, javax.microedition.lcdui.Displayable d)
          Command handler to send the location to the specified phone number, or request the location from another user
 void process(javax.microedition.location.Location loc)
          Stores the last fix from the GPS reader for sending
 void process(java.lang.String data)
          Takes String data and processes it.
 
Methods inherited from class javax.microedition.lcdui.Form
append, append, append, delete, deleteAll, get, getHeight, getWidth, insert, set, setItemStateListener, size
 
Methods inherited from class javax.microedition.lcdui.Displayable
addCommand, getTicker, getTitle, isShown, removeCommand, setCommandListener, setTicker, setTitle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TargetListSaveView

public TargetListSaveView(javax.microedition.midlet.MIDlet m)
Method Detail

process

public void process(java.lang.String data)
Description copied from interface: GPSDataView
Takes String data and processes it. Implementing classes should filter the message type on NMEA string headers they need since the data may not be NMEA strings

Specified by:
process in interface GPSDataView

process

public void process(javax.microedition.location.Location loc)
Stores the last fix from the GPS reader for sending

Specified by:
process in interface GPSDataView

commandAction

public void commandAction(javax.microedition.lcdui.Command c,
                          javax.microedition.lcdui.Displayable d)
Command handler to send the location to the specified phone number, or request the location from another user

Specified by:
commandAction in interface javax.microedition.lcdui.CommandListener
Overrides:
commandAction in class AbstractFormView