com.jidesoft.swing
Class DelegateMouseListener
java.lang.Object
com.jidesoft.swing.DelegateMouseListener
- All Implemented Interfaces:
- MouseListener, EventListener
public class DelegateMouseListener
- extends Object
- implements MouseListener
This mouse listener can delegate the mouse events to another mouse listener.
It can be used when you need to do something extra steps when there is a mouse event but you still
want the original mouse 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 |
DelegateMouseListener
public DelegateMouseListener(MouseListener listener)
mouseClicked
public void mouseClicked(MouseEvent e)
- Specified by:
mouseClicked
in interface MouseListener
mousePressed
public void mousePressed(MouseEvent e)
- Specified by:
mousePressed
in interface MouseListener
mouseReleased
public void mouseReleased(MouseEvent e)
- Specified by:
mouseReleased
in interface MouseListener
mouseEntered
public void mouseEntered(MouseEvent e)
- Specified by:
mouseEntered
in interface MouseListener
mouseExited
public void mouseExited(MouseEvent e)
- Specified by:
mouseExited
in interface MouseListener