CSLib
Class DrawingBox.DBMouseMotionAdapter
java.lang.Object
|
+--java.awt.event.MouseMotionAdapter
|
+--CSLib.DrawingBox.DBMouseMotionAdapter
- public class DrawingBox.DBMouseMotionAdapter
- extends MouseMotionAdapter
DBMouseMotionAdapter
is an inner class that implements
the Mouse motion listener for DrawingBox
. It does this
by extending the Java convenience wrapper
MouseMotionAdapter
.
Each MouseEvent
must be translated to correspond to the
translated coordinate system of the DrawingBox
. This
translation remains in effect for any downstream mouse motion listeners.
- See Also: MouseMotionAdapter, java.awt.event.MouseEvent#translatePoint(int), java.awt.Container.getInsets()
Methods inherited from class java.lang.Object |
getClass, hashCode, equals, toString, notify, notifyAll, wait, wait, wait |
mouseDragged
public void mouseDragged(MouseEvent e)
mouseMoved
public void mouseMoved(MouseEvent e)