public abstract class MouseTrackAdapter extends java.lang.Object implements MouseTrackListener
MouseTrackListener
interface.
Classes that wish to deal with MouseEvent
s which
occur as the mouse pointer passes (or hovers) over controls can
extend this class and override only the methods which they are
interested in.
Constructor and Description |
---|
MouseTrackAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
mouseEnter(MouseEvent e)
Sent when the mouse pointer passes into the area of
the screen covered by a control.
|
void |
mouseExit(MouseEvent e)
Sent when the mouse pointer passes out of the area of
the screen covered by a control.
|
void |
mouseHover(MouseEvent e)
Sent when the mouse pointer hovers (that is, stops moving
for an (operating system specified) period of time) over
a control.
|
public void mouseEnter(MouseEvent e)
mouseEnter
in interface MouseTrackListener
e
- an event containing information about the mouse enterpublic void mouseExit(MouseEvent e)
mouseExit
in interface MouseTrackListener
e
- an event containing information about the mouse exitpublic void mouseHover(MouseEvent e)
mouseHover
in interface MouseTrackListener
e
- an event containing information about the hover