com.partnersoft.maps.app
Class GpsControlPanel

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

public class GpsControlPanel
extends java.lang.Object

GPS Control Panel has the add and move buttons.

Author:
Russell Cagle Copyright 2007 Partner Software, Inc.

Constructor Summary
GpsControlPanel(MapApp daApp)
          Constructs all the objects.
 
Method Summary
 MapApp getApp()
           
 javax.swing.JPanel getGui()
           
protected  void initialize()
          Initialize creates the SatelliteDiagram object.
 boolean isAddButtonLocked()
           
 boolean isFollowButtonLocked()
           
protected  void updateGpsControls()
           This also handles auto-drawing if the toggle button is locked.
protected  void whereAmI()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GpsControlPanel

public GpsControlPanel(MapApp daApp)
Constructs all the objects. Sets up all the listeners.

Method Detail

updateGpsControls

protected void updateGpsControls()

This also handles auto-drawing if the toggle button is locked.


initialize

protected void initialize()
Initialize creates the SatelliteDiagram object. Copies the settings state into the controls. It also lays out the components, but that could have been done in the constructor.


whereAmI

protected void whereAmI()

isAddButtonLocked

public boolean isAddButtonLocked()

isFollowButtonLocked

public boolean isFollowButtonLocked()

getApp

public MapApp getApp()

getGui

public javax.swing.JPanel getGui()