JIDE 3.5.15

com.jidesoft.swing
Class DelegateMouseListener

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


Constructor Summary
DelegateMouseListener(MouseListener listener)
           
 
Method Summary
 void mouseClicked(MouseEvent e)
           
 void mouseEntered(MouseEvent e)
           
 void mouseExited(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

DelegateMouseListener

public DelegateMouseListener(MouseListener 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

JIDE 3.5.15