public interface NativeMouseMotionListener extends EventListener
NativeMouseListener
.)
The class that is interested in processing a NativeMouseMotionEvent
implements this interface, and the object created with that class is
registered with the GlobalScreen
using the
GlobalScreen.addNativeMouseMotionListener(org.jnativehook.mouse.NativeMouseMotionListener)
method. When the
NativeMouseMotion event occurs, that object's appropriate method is invoked.
NativeMouseEvent
Modifier and Type | Method and Description |
---|---|
void |
nativeMouseDragged(NativeMouseEvent nativeEvent)
Invoked when the mouse has been moved while a button is depressed.
|
void |
nativeMouseMoved(NativeMouseEvent nativeEvent)
Invoked when the mouse has been moved.
|
void nativeMouseMoved(NativeMouseEvent nativeEvent)
nativeEvent
- the native mouse event.void nativeMouseDragged(NativeMouseEvent nativeEvent)
nativeEvent
- the native mouse eventCopyright © 2006-2017 ${project.vendor}. All Rights Received.