antsnest.level.defaults
Class DragMouseAdapter

java.lang.Object
  extended by java.awt.event.MouseMotionAdapter
      extended by antsnest.level.defaults.DragMouseAdapter
All Implemented Interfaces:
MouseMotionListener, EventListener

public class DragMouseAdapter
extends MouseMotionAdapter

Starts a drag when a mouse button is pressed over a component

Author:
Chris Clohosy

Constructor Summary
DragMouseAdapter()
           
 
Method Summary
 void mouseDragged(MouseEvent e)
          Called when a mouse is dragged
 
Methods inherited from class java.awt.event.MouseMotionAdapter
mouseMoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DragMouseAdapter

public DragMouseAdapter()
Method Detail

mouseDragged

public void mouseDragged(MouseEvent e)
Called when a mouse is dragged

Specified by:
mouseDragged in interface MouseMotionListener
Overrides:
mouseDragged in class MouseMotionAdapter
Parameters:
e - the event that caused the call