CSLib
Class DrawingBox.DBMouseAdapter
java.lang.Object
|
+--java.awt.event.MouseAdapter
|
+--CSLib.DrawingBox.DBMouseAdapter
- public class DrawingBox.DBMouseAdapter
- extends MouseAdapter
DBMouseAdapter
is an inner class that implements
the Mouse listener for DrawingBox
. It does this
by extending the Java convenience wrapper MouseAdapter
.
Each MouseEvent
must be translated to correspond
to the translated coordinate system of the DrawingBox
.
This translation remains in effect for any downstream mouse
listeners.
- See Also: MouseAdapter, 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 |
mouseClicked
public void mouseClicked(MouseEvent e)
mouseEntered
public void mouseEntered(MouseEvent e)
mouseExited
public void mouseExited(MouseEvent e)
mousePressed
public void mousePressed(MouseEvent e)
mouseReleased
public void mouseReleased(MouseEvent e)