Module com.github.kwhat.jnativehook
Interface NativeMouseWheelListener
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
NativeHookDemo,NativeMouseWheelAdapter,SwingMouseWheelAdapter
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 Summary
Modifier and TypeMethodDescriptiondefault voidnativeMouseWheelMoved(NativeMouseWheelEvent nativeEvent) Invoked when the mouse wheel is rotated.
-
Method Details
-
nativeMouseWheelMoved
Invoked when the mouse wheel is rotated.- Parameters:
nativeEvent- the native mouse wheel event.
-