public abstract class MouseAdapter extends Object implements MouseListener
MouseListener interface.
Classes that wish to deal with MouseEvents
which occur as mouse buttons are pressed and released can
extend this class and override only the methods which they are
interested in.
MouseListener,
MouseEvent| Constructor and Description |
|---|
MouseAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
mouseDoubleClick(MouseEvent e)
Sent when a mouse button is pressed twice within the
(operating system specified) double click period.
|
void |
mouseDown(MouseEvent e)
Sent when a mouse button is pressed.
|
void |
mouseUp(MouseEvent e)
Sent when a mouse button is released.
|
public void mouseDoubleClick(MouseEvent e)
mouseDoubleClick in interface MouseListenere - an event containing information about the mouse double clickDisplay.getDoubleClickTime()public void mouseDown(MouseEvent e)
mouseDown in interface MouseListenere - an event containing information about the mouse button presspublic void mouseUp(MouseEvent e)
mouseUp in interface MouseListenere - an event containing information about the mouse button releaseGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.