|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.event.MouseAdapter
public abstract class MouseAdapter
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.
MouseEvent,
MouseListener| Constructor Summary | |
|---|---|
MouseAdapter()
Do nothing default constructor for subclasses. |
|
| Method Summary | |
|---|---|
void |
mouseClicked(MouseEvent event)
Implements this method in the interface with an empty method body. |
void |
mouseEntered(MouseEvent event)
Implements this method in the interface with an empty method body. |
void |
mouseExited(MouseEvent event)
Implements this method in the interface with an empty method body. |
void |
mousePressed(MouseEvent event)
Implements this method in the interface with an empty method body. |
void |
mouseReleased(MouseEvent event)
Implements this method in the interface with an empty method body. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MouseAdapter()
| Method Detail |
|---|
public void mouseClicked(MouseEvent event)
mouseClicked in interface MouseListenerevent - the event, ignored in this implementationpublic void mousePressed(MouseEvent event)
mousePressed in interface MouseListenerevent - the event, ignored in this implementationpublic void mouseReleased(MouseEvent event)
mouseReleased in interface MouseListenerevent - the event, ignored in this implementationpublic void mouseEntered(MouseEvent event)
mouseEntered in interface MouseListenerevent - the event, ignored in this implementationpublic void mouseExited(MouseEvent event)
mouseExited in interface MouseListenerevent - the event, ignored in this implementation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||