uk.co.silentsoftware.ui.views
Class TargetListView

java.lang.Object
  extended by javax.microedition.lcdui.Displayable
      extended by javax.microedition.lcdui.Screen
          extended by javax.microedition.lcdui.List
              extended by uk.co.silentsoftware.ui.views.AbstractListView
                  extended by uk.co.silentsoftware.ui.views.TargetListView
All Implemented Interfaces:
javax.microedition.lcdui.Choice, javax.microedition.lcdui.CommandListener, GPSDataView

public class TargetListView
extends AbstractListView
implements GPSDataView


Field Summary
 
Fields inherited from class javax.microedition.lcdui.List
SELECT_COMMAND
 
Fields inherited from interface javax.microedition.lcdui.Choice
EXCLUSIVE, IMPLICIT, MULTIPLE, POPUP, TEXT_WRAP_DEFAULT, TEXT_WRAP_OFF, TEXT_WRAP_ON
 
Constructor Summary
TargetListView(javax.microedition.midlet.MIDlet parent, boolean deleteMode)
           
 
Method Summary
 void commandAction(javax.microedition.lcdui.Command c, javax.microedition.lcdui.Displayable d)
           
 void process(javax.microedition.location.Location data)
          Takes Location data and processes it.
 void process(java.lang.String data)
          Takes String data and processes it.
 
Methods inherited from class uk.co.silentsoftware.ui.views.AbstractListView
displayList
 
Methods inherited from class javax.microedition.lcdui.List
append, delete, deleteAll, getFitPolicy, getFont, getImage, getSelectedFlags, getSelectedIndex, getString, getTicker, insert, isSelected, removeCommand, set, setFitPolicy, setFont, setSelectCommand, setSelectedFlags, setSelectedIndex, setTicker, setTitle, size
 
Methods inherited from class javax.microedition.lcdui.Displayable
addCommand, getHeight, getTitle, getWidth, isShown, setCommandListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TargetListView

public TargetListView(javax.microedition.midlet.MIDlet parent,
                      boolean deleteMode)
Method Detail

commandAction

public void commandAction(javax.microedition.lcdui.Command c,
                          javax.microedition.lcdui.Displayable d)
Specified by:
commandAction in interface javax.microedition.lcdui.CommandListener

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 data)
Description copied from interface: GPSDataView
Takes Location data and processes it. Implementing classes should only treat the Location object as the device's location, if other GPS data is needed use the process method with raw NMEA data.

Specified by:
process in interface GPSDataView