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.
@FunctionalInterface public interface MouseWheelListener extends SWTEventListener
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
addMouseWheelListenermethod and removed using theremoveMouseWheelListenermethod. When the mouse wheel is scrolled themouseScrolledmethod will be invoked.- Since:
- 3.3
- See Also:
MouseEvent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidmouseScrolled(MouseEvent e)Sent when the mouse wheel is scrolled.
-
-
-
Method Detail
-
mouseScrolled
void mouseScrolled(MouseEvent e)
Sent when the mouse wheel is scrolled.- Parameters:
e- an event containing information about the mouse wheel action
-
-