Package org.eclipse.swt.events
Interface MouseWheelListener
- All Superinterfaces:
EventListener
,SWTEventListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Classes which implement this interface provide a method
that deals with the event that is generated as the mouse
wheel is scrolled.
After creating an instance of a class that implements
this interface it can be added to a control using the
addMouseWheelListener
method and removed using
the removeMouseWheelListener
method. When the
mouse wheel is scrolled the mouseScrolled
method
will be invoked.
- Since:
- 3.3
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Sent when the mouse wheel is scrolled.
-
Method Details
-
mouseScrolled
Sent when the mouse wheel is scrolled.- Parameters:
e
- an event containing information about the mouse wheel action
-