Map
Class PamZoomOnMapPanel

java.lang.Object
  extended by Map.PamZoomOnMapPanel
All Implemented Interfaces:
PanZoomBehaviour

public class PamZoomOnMapPanel
extends java.lang.Object
implements PanZoomBehaviour


Field Summary
(package private)  double latAdj
           
(package private)  LatLong ll
           
(package private)  double longAdj
           
(package private)  boolean mouseButtonDown
           
(package private)  MapPanel mp
           
(package private)  double panStepSize
           
(package private)  double rotationAdj
           
(package private)  double rotationStep
           
(package private)  javax.swing.Timer t
           
(package private)  double zoomAdj
           
 
Constructor Summary
PamZoomOnMapPanel(MapPanel mp)
           
 
Method Summary
 void handleCentreOnShip()
           
 void handleDown()
           
 void handleDownLeft()
           
 void handleDownRight()
           
 void handleHeadUp()
           
 void handleLeft()
           
 void handleMBReleased()
           
 void handleMeasureWithMouse()
           
 void handleNorthUp()
           
 void handlePanWithMouse()
           
 void handleRight()
           
 void handleRotateAntiClockwise()
           
 void handleRotateClockwise()
           
 void handleUp()
           
 void handleUpLeft()
           
 void handleUpRight()
           
 void handleZoomIn()
           
 void handleZoomOut()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mp

MapPanel mp

ll

LatLong ll

latAdj

double latAdj

longAdj

double longAdj

zoomAdj

double zoomAdj

rotationAdj

double rotationAdj

panStepSize

double panStepSize

rotationStep

double rotationStep

mouseButtonDown

boolean mouseButtonDown

t

javax.swing.Timer t
Constructor Detail

PamZoomOnMapPanel

public PamZoomOnMapPanel(MapPanel mp)
Method Detail

handleMBReleased

public void handleMBReleased()
Specified by:
handleMBReleased in interface PanZoomBehaviour

handleUp

public void handleUp()
Specified by:
handleUp in interface PanZoomBehaviour

handleDown

public void handleDown()
Specified by:
handleDown in interface PanZoomBehaviour

handleLeft

public void handleLeft()
Specified by:
handleLeft in interface PanZoomBehaviour

handleRight

public void handleRight()
Specified by:
handleRight in interface PanZoomBehaviour

handleUpRight

public void handleUpRight()
Specified by:
handleUpRight in interface PanZoomBehaviour

handleUpLeft

public void handleUpLeft()
Specified by:
handleUpLeft in interface PanZoomBehaviour

handleDownLeft

public void handleDownLeft()
Specified by:
handleDownLeft in interface PanZoomBehaviour

handleDownRight

public void handleDownRight()
Specified by:
handleDownRight in interface PanZoomBehaviour

handleZoomIn

public void handleZoomIn()
Specified by:
handleZoomIn in interface PanZoomBehaviour

handleZoomOut

public void handleZoomOut()
Specified by:
handleZoomOut in interface PanZoomBehaviour

handleRotateClockwise

public void handleRotateClockwise()
Specified by:
handleRotateClockwise in interface PanZoomBehaviour

handleRotateAntiClockwise

public void handleRotateAntiClockwise()
Specified by:
handleRotateAntiClockwise in interface PanZoomBehaviour

handleNorthUp

public void handleNorthUp()
Specified by:
handleNorthUp in interface PanZoomBehaviour

handleHeadUp

public void handleHeadUp()
Specified by:
handleHeadUp in interface PanZoomBehaviour

handleCentreOnShip

public void handleCentreOnShip()
Specified by:
handleCentreOnShip in interface PanZoomBehaviour

handleMeasureWithMouse

public void handleMeasureWithMouse()
Specified by:
handleMeasureWithMouse in interface PanZoomBehaviour

handlePanWithMouse

public void handlePanWithMouse()
Specified by:
handlePanWithMouse in interface PanZoomBehaviour