Package org.eclipse.swt.events
Class MouseAdapter
java.lang.Object
org.eclipse.swt.events.MouseAdapter
- All Implemented Interfaces:
- EventListener,- MouseListener
This adapter class provides default implementations for the
 methods described by the 
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.
 
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidSent when a mouse button is pressed twice within the (operating system specified) double click period.voidSent when a mouse button is pressed.voidSent when a mouse button is released.
- 
Constructor Details- 
MouseAdapterpublic MouseAdapter()
 
- 
- 
Method Details- 
mouseDoubleClickSent when a mouse button is pressed twice within the (operating system specified) double click period. The default behavior is to do nothing.- Specified by:
- mouseDoubleClickin interface- MouseListener
- Parameters:
- e- an event containing information about the mouse double click
- See Also:
 
- 
mouseDownSent when a mouse button is pressed. The default behavior is to do nothing.- Specified by:
- mouseDownin interface- MouseListener
- Parameters:
- e- an event containing information about the mouse button press
 
- 
mouseUpSent when a mouse button is released. The default behavior is to do nothing.- Specified by:
- mouseUpin interface- MouseListener
- Parameters:
- e- an event containing information about the mouse button release
 
 
-