courselog.gpsutils
Interface XPositionDisplayer

All Known Implementing Classes:
DistanceForm, TiledMapBrowser

public interface XPositionDisplayer

Interface for all objects capable to display the current state of a ListenerToGPS object.


Field Summary
static int OPT_POSUPDATED
          Option bit if current position updated
static int OPT_TRACKUPDATED
          Option bit if track is updated
 
Method Summary
 boolean isActive()
          Indicator meaning that the displayer should be updated.
 void listenerUpdated(int opt, PositionTracer lG)
          Receive the information of the update of the current status.
 void setCurrentTrack(TrackRecord tr)
          Provide the current track log to the displayer.
 

Field Detail

OPT_TRACKUPDATED

static final int OPT_TRACKUPDATED
Option bit if track is updated

See Also:
Constant Field Values

OPT_POSUPDATED

static final int OPT_POSUPDATED
Option bit if current position updated

See Also:
Constant Field Values
Method Detail

isActive

boolean isActive()
Indicator meaning that the displayer should be updated.


listenerUpdated

void listenerUpdated(int opt,
                     PositionTracer lG)
Receive the information of the update of the current status.


setCurrentTrack

void setCurrentTrack(TrackRecord tr)
Provide the current track log to the displayer.