com.partnersoft.maps.app
Class GpsConfigPanel

java.lang.Object
  extended by com.partnersoft.maps.app.GpsConfigPanel

public class GpsConfigPanel
extends java.lang.Object

This is the window that pops up when the user clicks Edit GPS Settings. It configures the generic GPS settings, MapApp-specific GPS settings, and serves as a container for the module-specific GPS controls.

Copyright 2009 Partner Software, Inc.

Version:
$Id$
Author:
Russell Cagle

Constructor Summary
GpsConfigPanel(MapApp app)
           
 
Method Summary
 void editGpsSettings()
          This toggles the visibility of the config dialog.
protected  void followGpsStateChanged()
           
protected  void gpsConnectOnStartupStateChanged()
           
protected  void gpsEnabledStateChanged()
           
protected  void initialize()
          Called in the constructor to lay out the controls.
protected  void rotateMapWithGps()
           
protected  void selectGPSDevice(GPSDevice device)
          Called when gpsSelector changes.
protected  void setProjectionName(java.lang.String projectionName)
           
protected  void updateGpsControls()
          Called when this panel receives a GPS event to update the various readouts.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GpsConfigPanel

public GpsConfigPanel(MapApp app)
Method Detail

selectGPSDevice

protected void selectGPSDevice(GPSDevice device)
Called when gpsSelector changes.

Parameters:
device -

gpsEnabledStateChanged

protected void gpsEnabledStateChanged()

gpsConnectOnStartupStateChanged

protected void gpsConnectOnStartupStateChanged()

followGpsStateChanged

protected void followGpsStateChanged()

rotateMapWithGps

protected void rotateMapWithGps()

updateGpsControls

protected void updateGpsControls()
Called when this panel receives a GPS event to update the various readouts.


setProjectionName

protected void setProjectionName(java.lang.String projectionName)

initialize

protected void initialize()
Called in the constructor to lay out the controls.


editGpsSettings

public void editGpsSettings()
This toggles the visibility of the config dialog.