com.partnersoft.maps.app
Class MapAppGUI

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

public class MapAppGUI
extends java.lang.Object

This is the root of the MapApp's GUI hierarchy. It sets up and organizes the various controls and components in the MapApp. It provides a structured way to find and manipulate these things from the logic hierarchy. As a general rule, only the logic hierarchy should modify the GUI, to preserve undo/redo behavior and prevent strange things from happening. Originally, this class provided every major widget on the screen. However, since the user interface is now targeted at specific environments, like a small touchscreen or a multi-monitor operations room, this class no longer provides anything but the base-level widgets. These widgets are organized into a working user interface by the classes for each specialized environment; see each subclass for specifics. The fundamental widgets are the map view, find items, the data display, and the menu. These widgets are common to every Map Viewer environment, even handhelds, and while the containers for the widgets may change, their internal behavior is consistent across all environments.

Author:
Paul Reavis, Russell Cagle Copyright 2005 Partner Software, Inc.

Field Summary
protected  MapApp app
           
protected  MapControlPanel controlPanel
           
protected  MapDataPanel dataPanel
           
protected  FindItemPanel findPanel
           
protected  FileChooserControl jobFileChooser
           
protected  MapKeyHandler keyHandler
           
protected  MapAppMenus menus
           
protected  MapViewMouseHandler mouseHandler
           
protected  MapViewPanel viewPanel
           
 
Constructor Summary
MapAppGUI(MapApp argApp)
           
 
Method Summary
 MapControlPanel getControlPanel()
           
 MapDataPanel getDataPanel()
           
 FindItemPanel getFindPanel()
           
 MapAppMenus getMenus()
           
 MapViewPanel getViewPanel()
           
 java.awt.Window getWindow()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

app

protected MapApp app

controlPanel

protected MapControlPanel controlPanel

dataPanel

protected MapDataPanel dataPanel

findPanel

protected FindItemPanel findPanel

jobFileChooser

protected FileChooserControl jobFileChooser

keyHandler

protected MapKeyHandler keyHandler

menus

protected MapAppMenus menus

mouseHandler

protected MapViewMouseHandler mouseHandler

viewPanel

protected MapViewPanel viewPanel
Constructor Detail

MapAppGUI

public MapAppGUI(MapApp argApp)
Method Detail

getControlPanel

public MapControlPanel getControlPanel()

getDataPanel

public MapDataPanel getDataPanel()

getFindPanel

public FindItemPanel getFindPanel()

getMenus

public MapAppMenus getMenus()

getViewPanel

public MapViewPanel getViewPanel()

getWindow

public java.awt.Window getWindow()