- 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 SWTEventListenerClasses 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 the
removeMouseWheelListenermethod. When the mouse wheel is scrolled the
mouseScrolledmethod will be invoked.
- See Also:
void mouseScrolled(MouseEvent e)Sent when the mouse wheel is scrolled.
e- an event containing information about the mouse wheel action