JIDE 3.5.15

com.jidesoft.swing
Class DelegateMouseInputListener

java.lang.Object
  extended by 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.


Constructor Summary
DelegateMouseInputListener(MouseInputListener listener)
           
 
Method Summary
 void mouseClicked(MouseEvent e)
           
 void mouseDragged(MouseEvent e)
           
 void mouseEntered(MouseEvent e)
           
 void mouseExited(MouseEvent e)
           
 void mouseMoved(MouseEvent e)
           
 void mousePressed(MouseEvent e)
           
 void mouseReleased(MouseEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegateMouseInputListener

public DelegateMouseInputListener(MouseInputListener listener)
Method Detail

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

JIDE 3.5.15