courselog
Class ListenerToGPS

java.lang.Object
  extended by courselog.ListenerToGPS
All Implemented Interfaces:
ewe.ui.EventListener

public class ListenerToGPS
extends java.lang.Object
implements ewe.ui.EventListener

Listens to the GPS, update the track if needed and forward values to other elements of the MainApp.


Field Summary
 MainApplication myApp
          The main courselog application
 
Constructor Summary
ListenerToGPS(MainApplication app)
          Creates a new instance of ListenerToGPS for a main application
 
Method Summary
 void onEvent(ewe.ui.Event ev)
          Get Events from the GPS connection
 void pauseTracking()
          Pause track logging.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myApp

public MainApplication myApp
The main courselog application

Constructor Detail

ListenerToGPS

public ListenerToGPS(MainApplication app)
Creates a new instance of ListenerToGPS for a main application

Method Detail

onEvent

public void onEvent(ewe.ui.Event ev)
Get Events from the GPS connection

Specified by:
onEvent in interface ewe.ui.EventListener

pauseTracking

public void pauseTracking()
Pause track logging.