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.

    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 addMouseWheelListener method and removed using the removeMouseWheelListener method. When the mouse wheel is scrolled the mouseScrolled method will be invoked.

    See Also:
    • Method Detail

      • mouseScrolled

        void mouseScrolled​(MouseEvent e)
        Sent when the mouse wheel is scrolled.
        e - an event containing information about the mouse wheel action