Interface NativeMouseWheelListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
NativeHookDemo, NativeMouseWheelAdapter, SwingMouseWheelAdapter

public interface NativeMouseWheelListener extends EventListener
The listener interface for receiving native mouse wheel events. (For clicks and other mouse events, use the NativeMouseListener.)

The class that is interested in processing a NativeMouseWheelEvent implements this interface, and the object created with that class is registered with the GlobalScreen using the GlobalScreen.addNativeMouseWheelListener(NativeMouseWheelListener) method. When the NativeMouseWheelEvent occurs, that object's appropriate method is invoked.

Since:
1.1
Version:
2.0
Author:
Alexander Barker (alex@1stleg.com)
See Also:
  • Method Details

    • nativeMouseWheelMoved

      default void nativeMouseWheelMoved(NativeMouseWheelEvent nativeEvent)
      Invoked when the mouse wheel is rotated.
      Parameters:
      nativeEvent - the native mouse wheel event.