Class ShapeComponent.MyMouseMotionAdapter
java.lang.Object
java.awt.event.MouseMotionAdapter
ShapeComponent.MyMouseMotionAdapter
- All Implemented Interfaces:
- MouseMotionListener, EventListener
- Enclosing class:
- ShapeComponent
class ShapeComponent.MyMouseMotionAdapter
- extends MouseMotionAdapter
Inner class for handling the mouse motion listener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShapeComponent.MyMouseMotionAdapter
ShapeComponent.MyMouseMotionAdapter()
mouseDragged
public void mouseDragged(MouseEvent e)
- Method to handle the drag of a mouse
- Specified by:
mouseDragged
in interface MouseMotionListener
- Overrides:
mouseDragged
in class MouseMotionAdapter