java.awt.event
Class MouseAdapter
java.lang.Object
|
+--java.awt.event.MouseAdapter
All Implemented Interfaces:
MouseListener
This class implements MouseListener
and implements all methods
with empty bodies. This allows a listener interested in implementing only
a subset of the MouseListener
interface to extend this class
and override only the desired methods.
Since:Author:- Aaron M. Renn <arenn@urbanophile.com>
See Also:
MouseAdapter
public MouseAdapter()
Do nothing default constructor for subclasses.
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent event)
Implements this method in the interface with an empty method body.
Parameters:
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent event)
Implements this method in the interface with an empty method body.
Parameters:
mouseExited
public void mouseExited(java.awt.event.MouseEvent event)
Implements this method in the interface with an empty method body.
Parameters:
mousePressed
public void mousePressed(java.awt.event.MouseEvent event)
Implements this method in the interface with an empty method body.
Parameters:
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent event)
Implements this method in the interface with an empty method body.
Parameters:
MouseListener
and implements all methods with empty bodies. This allows a listener interested in implementing only a subset of theMouseListener
interface to extend this class and override only the desired methods.