skrueger.geotools
Class XMapPaneAction_Zoom

java.lang.Object
  extended by skrueger.geotools.XMapPaneAction_Zoom
All Implemented Interfaces:
XMapPaneAction
Direct Known Subclasses:
XMapPaneAction_Zoom.In, XMapPaneAction_Zoom.Out

public abstract class XMapPaneAction_Zoom
extends Object
implements XMapPaneAction


Nested Class Summary
static class XMapPaneAction_Zoom.In
           
static class XMapPaneAction_Zoom.Out
           
 
Field Summary
 
Fields inherited from interface skrueger.geotools.XMapPaneAction
PAN, SELECT_ALL, SELECT_ONE_FROM_TOP, SELECT_TOP, ZOOM_IN, ZOOM_OUT
 
Constructor Summary
XMapPaneAction_Zoom()
           
 
Method Summary
 void performDragging(XMapPane mapPane, MouseEvent ev, Point dragStartPos, Point dragLastPos, DirectPosition startCoord, DirectPosition endCoord)
          Defines the action in case of a mouse drag on the map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface skrueger.geotools.XMapPaneAction
performClick, performDragged, performKeyboard, performWheel
 

Constructor Detail

XMapPaneAction_Zoom

public XMapPaneAction_Zoom()
Method Detail

performDragging

public void performDragging(XMapPane mapPane,
                            MouseEvent ev,
                            Point dragStartPos,
                            Point dragLastPos,
                            DirectPosition startCoord,
                            DirectPosition endCoord)
Description copied from interface: XMapPaneAction
Defines the action in case of a mouse drag on the map. This method is called on every mouse motion.

Specified by:
performDragging in interface XMapPaneAction
Parameters:
mapPane - map pane the action should be performed on
ev - mouse event of the action
dragStartPos - window position the drag was started (the current position can be determined from the mouse event)
startCoord - geo coordinate the drag was started
endCoord - geo coordinate the drag is currently moved over