uk.co.silentsoftware.ui.views
Class DataView

java.lang.Object
  extended by javax.microedition.lcdui.Displayable
      extended by javax.microedition.lcdui.Screen
          extended by javax.microedition.lcdui.TextBox
              extended by uk.co.silentsoftware.ui.views.AbstractTextBoxView
                  extended by uk.co.silentsoftware.ui.views.DataView
All Implemented Interfaces:
javax.microedition.lcdui.CommandListener, GPSDataView

public class DataView
extends AbstractTextBoxView
implements javax.microedition.lcdui.CommandListener, GPSDataView

The simplest of the views - just dumps raw GPS data to the screen. Useful also for debugging/info, since it will also display progress messages/errors


Constructor Summary
DataView(javax.microedition.midlet.MIDlet parent)
          Default constructor Inits commands and base class
 
Method Summary
 void process(javax.microedition.location.Location loc)
          Simply outputs the GPS Location object data to screen
 void process(java.lang.String data)
          Simply outputs any String data to screen, e.g.
 
Methods inherited from class uk.co.silentsoftware.ui.views.AbstractTextBoxView
commandAction
 
Methods inherited from class javax.microedition.lcdui.TextBox
delete, getCaretPosition, getChars, getConstraints, getMaxSize, getString, insert, insert, setChars, setConstraints, setInitialInputMode, setMaxSize, setString, setTicker, setTitle, size
 
Methods inherited from class javax.microedition.lcdui.Displayable
addCommand, getHeight, getTicker, getTitle, getWidth, isShown, removeCommand, setCommandListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.microedition.lcdui.CommandListener
commandAction
 

Constructor Detail

DataView

public DataView(javax.microedition.midlet.MIDlet parent)
Default constructor Inits commands and base class

Parameters:
parent -
Method Detail

process

public void process(java.lang.String data)
Simply outputs any String data to screen, e.g. debug, nmea strings etc.

Specified by:
process in interface GPSDataView

process

public void process(javax.microedition.location.Location loc)
Simply outputs the GPS Location object data to screen

Specified by:
process in interface GPSDataView