Module com.github.kwhat.jnativehook
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 theNativeMouseListener
.)The class that is interested in processing a
NativeMouseWheelEvent
implements this interface, and the object created with that class is registered with theGlobalScreen
using theGlobalScreen.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:
NativeMouseWheelEvent
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
nativeMouseWheelMoved(NativeMouseWheelEvent nativeEvent)
Invoked when the mouse wheel is rotated.
-
-
-
Method Detail
-
nativeMouseWheelMoved
default void nativeMouseWheelMoved(NativeMouseWheelEvent nativeEvent)
Invoked when the mouse wheel is rotated.- Parameters:
nativeEvent
- the native mouse wheel event.
-
-