com.partnersoft.maps.app
Class MapAppGUI
java.lang.Object
com.partnersoft.maps.app.MapAppGUI
- Direct Known Subclasses:
- DesktopGUI, TruckGUI
public abstract 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
Copyright 2005 Partner Software, Inc.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
app
protected MapApp app
viewPanel
protected MapViewPanel viewPanel
findPanel
protected FindItemPanel findPanel
dataPanel
protected MapDataPanel dataPanel
menus
protected MapAppMenus menus
jobFileChooser
protected FileChooserControl jobFileChooser
MapAppGUI
public MapAppGUI(MapApp argApp)
showDataTab
public abstract void showDataTab()
showFindTab
public abstract void showFindTab()
showMap
public abstract void showMap()
getWindow
public abstract java.awt.Window getWindow()
setHoverDisplay
public abstract void setHoverDisplay(java.lang.String s)
setCoordinateDisplay
public abstract void setCoordinateDisplay(java.lang.String s)
setGridDisplay
public abstract void setGridDisplay(java.lang.String s)
setMeasureDisplay
public abstract void setMeasureDisplay(java.lang.String s)
setZoomCount
public abstract void setZoomCount(int zoomCount)
setCurrentZoom
public abstract void setCurrentZoom(int currentZoom)
getViewPanel
public MapViewPanel getViewPanel()
getFindPanel
public FindItemPanel getFindPanel()
getDataPanel
public MapDataPanel getDataPanel()
getMenus
public MapAppMenus getMenus()