com.jidesoft.swing
Class DelegateMouseInputListener
java.lang.Object
com.jidesoft.swing.DelegateMouseInputListener
- All Implemented Interfaces:
- MouseListener, MouseMotionListener, EventListener, MouseInputListener
- Direct Known Subclasses:
- AggregateTable.DelegateExpandMouseInputListener, HeaderTable.DelegateExpandMouseInputListener, HierarchicalTable.DelegateExpandMouseInputListener, TreeTable.DelegateExpandMouseInputListener
public class DelegateMouseInputListener
- extends Object
- implements MouseInputListener
This mouse input listener can delegate the mouse events to another mouse input 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 input 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 |
DelegateMouseInputListener
public DelegateMouseInputListener(MouseInputListener 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
mouseDragged
public void mouseDragged(MouseEvent e)
- Specified by:
mouseDragged
in interface MouseMotionListener
mouseMoved
public void mouseMoved(MouseEvent e)
- Specified by:
mouseMoved
in interface MouseMotionListener