be.lassi.ui.util
Class TestMouseListener
java.lang.Object
be.lassi.ui.util.TestMouseListener
- All Implemented Interfaces:
- java.awt.event.MouseListener, java.util.EventListener
public class TestMouseListener
- extends java.lang.Object
- implements java.awt.event.MouseListener
Implementation of the MouseListener
interface that
can be used for testing purposes (prints the method name on stdout).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestMouseListener
public TestMouseListener()
- Constructs a new instance.
TestMouseListener
public TestMouseListener(java.lang.String name)
- Constructs a new instance with given name.
- Parameters:
name
- the instance name
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e)
-
- Specified by:
mouseClicked
in interface java.awt.event.MouseListener
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent e)
-
- Specified by:
mouseEntered
in interface java.awt.event.MouseListener
mouseExited
public void mouseExited(java.awt.event.MouseEvent e)
-
- Specified by:
mouseExited
in interface java.awt.event.MouseListener
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
-
- Specified by:
mousePressed
in interface java.awt.event.MouseListener
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
-
- Specified by:
mouseReleased
in interface java.awt.event.MouseListener