com.jidesoft.swing
Class DelegateMouseMotionListener
java.lang.Object
com.jidesoft.swing.DelegateMouseMotionListener
- All Implemented Interfaces:
- MouseMotionListener, EventListener
public class DelegateMouseMotionListener
- extends Object
- implements MouseMotionListener
This mouse motion listener can delegate the mouse events to another mouse motion listener.
It can be used when you need to do something extra steps when there is a mouse motion event but you still
want the original mouse motion listener to be called under certain condition.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegateMouseMotionListener
public DelegateMouseMotionListener(MouseMotionListener listener)
mouseDragged
public void mouseDragged(MouseEvent e)
- Specified by:
mouseDragged
in interface MouseMotionListener
mouseMoved
public void mouseMoved(MouseEvent e)
- Specified by:
mouseMoved
in interface MouseMotionListener