com.partnersoft.v3x.apps.MapBrowser
Class MapMotionAdaptor

java.lang.Object
  extended by com.partnersoft.v3x.apps.MapBrowser.MapMotionAdaptor
All Implemented Interfaces:
MapMotionListener, java.util.EventListener

public class MapMotionAdaptor
extends java.lang.Object
implements MapMotionListener

An adaptor that hears MapMouseEvents pertaining to motion.


Constructor Summary
MapMotionAdaptor()
           
 
Method Summary
 void mapDragged(MapMouseEvent e)
          Invoked when a mouse button is pressed on a map and then dragged.
 void mapMoved(MapMouseEvent e)
          Invoked when the mouse button has been moved on a map (with no buttons no down).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapMotionAdaptor

public MapMotionAdaptor()
Method Detail

mapDragged

public void mapDragged(MapMouseEvent e)
Description copied from interface: MapMotionListener
Invoked when a mouse button is pressed on a map and then dragged. Mouse drag events will continue to be delivered until the mouse button is released (regardless of whether the mouse position is within the bounds of the map).

Specified by:
mapDragged in interface MapMotionListener

mapMoved

public void mapMoved(MapMouseEvent e)
Description copied from interface: MapMotionListener
Invoked when the mouse button has been moved on a map (with no buttons no down).

Specified by:
mapMoved in interface MapMotionListener