com.partnersoft.maps.app
Class TruckGUI
java.lang.Object
com.partnersoft.maps.app.MapAppGUI
com.partnersoft.maps.app.TruckGUI
public class TruckGUI
- extends MapAppGUI
A GUI implementation for truck computers. Truck computers
are characterized by small screens and a touchscreen interface
instead of mouse and keyboard. Therefore, this GUI implementation
gets rid of any excess window decorations, makes the buttons
bigger, hides the side panel most of the time, and adds a touchscreen
keyboard. Since the user can't zoom in and out with the shift key,
we've also added zoom buttons.
One problem with the touchscreen drivers for the eGalax touchscreen,
which is what we're developing with and deploying right now, is that
dragging the stylus is sent as mouse motion without a mouse button
press, which makes dragging difficult. The only way to trigger a mouse
down event with these drivers is to hold the stylus down for a second
and then drag. As a quick fix, we've added an option to treat all mouse
motion as dragging the map. (note: that didn't actually work.)
?
- Author:
- Russell Cagle
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TruckGUI
public TruckGUI(MapApp argApp)
setHoverDisplay
public void setHoverDisplay(java.lang.String s)
- Specified by:
setHoverDisplay in class MapAppGUI
setCoordinateDisplay
public void setCoordinateDisplay(java.lang.String s)
- Specified by:
setCoordinateDisplay in class MapAppGUI
setGridDisplay
public void setGridDisplay(java.lang.String s)
- Specified by:
setGridDisplay in class MapAppGUI
setMeasureDisplay
public void setMeasureDisplay(java.lang.String s)
- Specified by:
setMeasureDisplay in class MapAppGUI
setZoomCount
public void setZoomCount(int zoomCount)
- Specified by:
setZoomCount in class MapAppGUI
setCurrentZoom
public void setCurrentZoom(int currentZoom)
- Specified by:
setCurrentZoom in class MapAppGUI
showDataTab
public void showDataTab()
- Specified by:
showDataTab in class MapAppGUI
showFindTab
public void showFindTab()
- Specified by:
showFindTab in class MapAppGUI
showMap
public void showMap()
- Specified by:
showMap in class MapAppGUI
getWindow
public java.awt.Window getWindow()
- Specified by:
getWindow in class MapAppGUI