|
Eclipse Remote Application Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.swt.events.MouseAdapter
public abstract class MouseAdapter
This adapter class provides default implementations for the
methods described by the MouseListener
interface.
Classes that wish to deal with MouseEvent
s
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 Summary | |
---|---|
MouseAdapter()
|
Method Summary | |
---|---|
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. |
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 mouseDoubleClick(MouseEvent e)
mouseDoubleClick
in interface MouseListener
e
- an event containing information about the mouse double clickDisplay.getDoubleClickTime()
public void mouseDown(MouseEvent e)
mouseDown
in interface MouseListener
e
- an event containing information about the mouse button presspublic void mouseUp(MouseEvent e)
mouseUp
in interface MouseListener
e
- an event containing information about the mouse button release
|
Eclipse Remote Application Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) EclipseSource and others 2002, 2012. All rights reserved.