- getArchitecture() - Static method in class org.jnativehook.NativeSystem
-
Determines the current system architecture.
- getButton() - Method in class org.jnativehook.mouse.NativeMouseEvent
-
Returns which, if any, of the mouse buttons has changed state.
- getClickCount() - Method in class org.jnativehook.mouse.NativeMouseEvent
-
Returns the number of button clicks associated with this event.
- getCode() - Method in exception org.jnativehook.NativeHookException
-
Get the native error code associated with this exception.
- getFamily() - Static method in class org.jnativehook.NativeSystem
-
Determines the current operating system family.
- getID() - Method in class org.jnativehook.NativeInputEvent
-
Gets the event type.
- getKeyChar() - Method in class org.jnativehook.keyboard.NativeKeyEvent
-
Returns the native Unicode character associated with this event.
- getKeyCode() - Method in class org.jnativehook.keyboard.NativeKeyEvent
-
Returns the keyCode associated with this event.
- getKeyLocation() - Method in class org.jnativehook.keyboard.NativeKeyEvent
-
Returns the location of the virtual key for this event.
- getKeyText(int) - Static method in class org.jnativehook.keyboard.NativeKeyEvent
-
Returns a String describing the keyCode, such as "HOME", "F1" or "A".
- getLibraries() - Method in class org.jnativehook.DefaultLibraryLocator
-
Perform default procedures to interface with the native library.
- getLibraries() - Method in interface org.jnativehook.NativeLibraryLocator
-
Perform procedures to interface with the native library.
- getModifiers() - Method in class org.jnativehook.NativeInputEvent
-
Gets the modifier flags for this event.
- getModifiersText(int) - Static method in class org.jnativehook.NativeInputEvent
-
Gets a String
describing the modifier flags, such as
"Button1", or "Ctrl+Alt".
- getPoint() - Method in class org.jnativehook.mouse.NativeMouseEvent
-
Returns the x,y position of the native event.
- getRawCode() - Method in class org.jnativehook.keyboard.NativeKeyEvent
-
Returns the native code associated with the native key in this event.
- getScrollAmount() - Method in class org.jnativehook.mouse.NativeMouseWheelEvent
-
Returns the number of units that should be scrolled per
click of mouse wheel rotation.
- getScrollType() - Method in class org.jnativehook.mouse.NativeMouseWheelEvent
-
Returns the type of scrolling that should take place in response to this
event.
- getWheelRotation() - Method in class org.jnativehook.mouse.NativeMouseWheelEvent
-
Returns the number of "clicks" the mouse wheel was rotated.
- getWhen() - Method in class org.jnativehook.NativeInputEvent
-
Gets the timestamp for when this event occurred.
- getX() - Method in class org.jnativehook.mouse.NativeMouseEvent
-
Returns the x coordinate of the native event.
- getY() - Method in class org.jnativehook.mouse.NativeMouseEvent
-
Returns the y coordinate of the native event.
- GlobalScreen - Class in org.jnativehook
-
GlobalScreen is used to represent the native screen area that Java does not
usually have access to.
- NATIVE_KEY_FIRST - Static variable in class org.jnativehook.keyboard.NativeKeyEvent
-
The first number in the range of ID's used for native key events.
- NATIVE_KEY_LAST - Static variable in class org.jnativehook.keyboard.NativeKeyEvent
-
The last number in the range of ID's used for native key events.
- NATIVE_KEY_PRESSED - Static variable in class org.jnativehook.keyboard.NativeKeyEvent
-
The "native key pressed" event ID.
- NATIVE_KEY_RELEASED - Static variable in class org.jnativehook.keyboard.NativeKeyEvent
-
The "native key released" event ID.
- NATIVE_KEY_TYPED - Static variable in class org.jnativehook.keyboard.NativeKeyEvent
-
The "native key typed" event ID.
- NATIVE_MOUSE_CLICKED - Static variable in class org.jnativehook.mouse.NativeMouseEvent
-
The native mouse pressed event.
- NATIVE_MOUSE_DRAGGED - Static variable in class org.jnativehook.mouse.NativeMouseEvent
-
The native mouse dragged event.
- NATIVE_MOUSE_FIRST - Static variable in class org.jnativehook.mouse.NativeMouseEvent
-
The first number in the range of id's used for native mouse events.
- NATIVE_MOUSE_LAST - Static variable in class org.jnativehook.mouse.NativeMouseEvent
-
The last number in the range of id's used for native mouse events.
- NATIVE_MOUSE_MOVED - Static variable in class org.jnativehook.mouse.NativeMouseEvent
-
The native mouse moved event.
- NATIVE_MOUSE_PRESSED - Static variable in class org.jnativehook.mouse.NativeMouseEvent
-
The native mouse pressed event.
- NATIVE_MOUSE_RELEASED - Static variable in class org.jnativehook.mouse.NativeMouseEvent
-
The native mouse released event.
- NATIVE_MOUSE_WHEEL - Static variable in class org.jnativehook.mouse.NativeMouseEvent
-
The native mouse dragged event.
- NativeHookException - Exception in org.jnativehook
-
Signals that a Native Hook Exception has occurred.
- NativeHookException() - Constructor for exception org.jnativehook.NativeHookException
-
Instantiates a new NativeHookException
with UNKNOWN_FAILURE as its error code and null as its
detail message.
- NativeHookException(int) - Constructor for exception org.jnativehook.NativeHookException
-
Instantiates a new NativeHookException
with a specified error code and null as its detail message.
- NativeHookException(String) - Constructor for exception org.jnativehook.NativeHookException
-
Instantiates a new NativeHookException
with UNKNOWN_FAILURE as its error code and a specified
detail message.
- NativeHookException(int, String) - Constructor for exception org.jnativehook.NativeHookException
-
Instantiates a new NativeHookException
with a specified code and detail message.
- NativeHookException(String, Throwable) - Constructor for exception org.jnativehook.NativeHookException
-
Instantiates a new NativeHookException
with a specified detail message and cause.
- NativeHookException(int, String, Throwable) - Constructor for exception org.jnativehook.NativeHookException
-
Instantiates a new NativeHookException
with a specified error code, detail message and cause.
- NativeHookException(Throwable) - Constructor for exception org.jnativehook.NativeHookException
-
Instantiates a new NativeHookException
with a specified cause.
- NativeHookException(int, Throwable) - Constructor for exception org.jnativehook.NativeHookException
-
Instantiates a new NativeHookException
with a specified error code and cause.
- NativeInputEvent - Class in org.jnativehook
-
The root event class for all native-level input events.
- NativeInputEvent(Class<GlobalScreen>, int, long, int) - Constructor for class org.jnativehook.NativeInputEvent
-
Instantiates a new native input event.
- NativeKeyEvent - Class in org.jnativehook.keyboard
-
An event which indicates that a keystroke occurred at global scope.
- NativeKeyEvent(int, long, int, int, int, char, int) - Constructor for class org.jnativehook.keyboard.NativeKeyEvent
-
Instantiates a new native key event.
- NativeKeyEvent(int, long, int, int, int, char) - Constructor for class org.jnativehook.keyboard.NativeKeyEvent
-
Instantiates a new native key event.
- NativeKeyListener - Interface in org.jnativehook.keyboard
-
The listener interface for receiving global NativeKeyEvents
.
- nativeKeyPressed(NativeKeyEvent) - Method in interface org.jnativehook.keyboard.NativeKeyListener
-
Invoked when a key has been pressed.
- nativeKeyReleased(NativeKeyEvent) - Method in interface org.jnativehook.keyboard.NativeKeyListener
-
Invoked when a key has been released.
- nativeKeyTyped(NativeKeyEvent) - Method in interface org.jnativehook.keyboard.NativeKeyListener
-
Invoked when a key has been typed.
- NativeLibraryLocator - Interface in org.jnativehook
-
Interface used for native library loading.
- nativeMouseClicked(NativeMouseEvent) - Method in interface org.jnativehook.mouse.NativeMouseListener
-
Invoked when a mouse button has been clicked (pressed and released)
without being moved.
- nativeMouseDragged(NativeMouseEvent) - Method in interface org.jnativehook.mouse.NativeMouseMotionListener
-
Invoked when the mouse has been moved while a button is depressed.
- NativeMouseEvent - Class in org.jnativehook.mouse
-
An event which indicates that a mouse action occurred on the system.
- NativeMouseEvent(int, long, int, int, int, int) - Constructor for class org.jnativehook.mouse.NativeMouseEvent
-
Instantiates a new NativeMouseEvent
object.
- NativeMouseEvent(int, long, int, int, int, int, int) - Constructor for class org.jnativehook.mouse.NativeMouseEvent
-
Instantiates a new NativeMouseEvent
object.
- NativeMouseInputListener - Interface in org.jnativehook.mouse
-
A listener implementing all the methods in both the NativeMouseListener and
NativeMouseMotionListener interfaces.
- NativeMouseListener - Interface in org.jnativehook.mouse
-
The listener interface for receiving systemwide NativeMouseEvents
.
- NativeMouseMotionListener - Interface in org.jnativehook.mouse
-
The listener interface for receiving native mouse motion events.
- nativeMouseMoved(NativeMouseEvent) - Method in interface org.jnativehook.mouse.NativeMouseMotionListener
-
Invoked when the mouse has been moved.
- nativeMousePressed(NativeMouseEvent) - Method in interface org.jnativehook.mouse.NativeMouseListener
-
Invoked when a mouse button has been pressed
- nativeMouseReleased(NativeMouseEvent) - Method in interface org.jnativehook.mouse.NativeMouseListener
-
Invoked when a mouse button has been released
- NativeMouseWheelEvent - Class in org.jnativehook.mouse
-
An event which indicates that the mouse wheel was rotated on the system.
- NativeMouseWheelEvent(int, long, int, int, int, int, int, int, int) - Constructor for class org.jnativehook.mouse.NativeMouseWheelEvent
-
Instantiates a new NativeMouseWheelEvent
object.
- NativeMouseWheelListener - Interface in org.jnativehook.mouse
-
The listener interface for receiving native mouse wheel events.
- nativeMouseWheelMoved(NativeMouseWheelEvent) - Method in interface org.jnativehook.mouse.NativeMouseWheelListener
-
Invoked when the mouse wheel is rotated.
- NativeSystem - Class in org.jnativehook
-
A small class to determine the native system's operating system family and
architecture.
- NativeSystem() - Constructor for class org.jnativehook.NativeSystem
-
- NativeSystem.Arch - Enum in org.jnativehook
-
The system architecture enum.
- NativeSystem.Family - Enum in org.jnativehook
-
The operating system family enum.
- NOBUTTON - Static variable in class org.jnativehook.mouse.NativeMouseEvent
-
Indicates no mouse buttons; used by getButton().