antsnest.level.defaults
Class DragMouseAdapter
java.lang.Object
java.awt.event.MouseMotionAdapter
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DragMouseAdapter
public DragMouseAdapter()
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