Serialized Form
-
Package com.github.kwhat.jnativehook
-
Class com.github.kwhat.jnativehook.AbstractSwingInputAdapter
class AbstractSwingInputAdapter extends Component implements Serializable -
Exception com.github.kwhat.jnativehook.NativeHookException
class NativeHookException extends Exception implements Serializable- serialVersionUID:
- 8952825837670265527L
-
Serialized Fields
-
code
int code
The error code associated with this exception.
-
-
Class com.github.kwhat.jnativehook.NativeInputEvent
class NativeInputEvent extends EventObject implements Serializable- serialVersionUID:
- 2306729722565226621L
-
Serialized Fields
-
id
int id
The type of event. -
modifiers
int modifiers
The modifier keys down during event. -
reserved
short reserved
Mask for undocumented behavior. More information available at: doc/ConsumingEvents.md- Since:
- 2.0
-
when
long when
The platform dependent time the event occured at.
-
-
-
Package com.github.kwhat.jnativehook.example
-
Class com.github.kwhat.jnativehook.example.NativeHookDemo
class NativeHookDemo extends JFrame implements Serializable- serialVersionUID:
- 1541183202160543102L
-
Serialized Fields
-
menuItemButtonEvents
JCheckBoxMenuItem menuItemButtonEvents
-
menuItemClear
JMenuItem menuItemClear
-
menuItemEnable
JCheckBoxMenuItem menuItemEnable
-
menuItemKeyboardEvents
JCheckBoxMenuItem menuItemKeyboardEvents
-
menuItemMotionEvents
JCheckBoxMenuItem menuItemMotionEvents
-
menuItemQuit
JMenuItem menuItemQuit
-
menuItemWheelEvents
JCheckBoxMenuItem menuItemWheelEvents
-
menuSubListeners
JMenu menuSubListeners
Menu Items -
txtEventInfo
JTextArea txtEventInfo
The text area to display event info.
-
-
-
Package com.github.kwhat.jnativehook.keyboard
-
Class com.github.kwhat.jnativehook.keyboard.NativeKeyEvent
class NativeKeyEvent extends NativeInputEvent implements Serializable- serialVersionUID:
- 8608981443834617646L
-
Serialized Fields
-
keyChar
char keyChar
The Unicode character. -
keyCode
int keyCode
The virtual key code. -
keyLocation
int keyLocation
The virtual key location. -
rawCode
int rawCode
The raw native key code.
-
-
Class com.github.kwhat.jnativehook.keyboard.SwingKeyAdapter
class SwingKeyAdapter extends AbstractSwingInputAdapter implements Serializable
-
-
Package com.github.kwhat.jnativehook.mouse
-
Class com.github.kwhat.jnativehook.mouse.NativeMouseEvent
class NativeMouseEvent extends NativeInputEvent implements Serializable- serialVersionUID:
- -1093048990695350863L
-
Serialized Fields
-
button
int button
Indicates which, if any, of the mouse buttons has changed state.The only legal values are the following constants:
NOBUTTON,BUTTON1,BUTTON2,BUTTON3,BUTTON4orBUTTON5 -
clickCount
int clickCount
The native mouse event's click count.- See Also:
-
x
int x
The native mouse event's x pointer position.- See Also:
-
y
int y
The native mouse event's y pointer position.- See Also:
-
-
Class com.github.kwhat.jnativehook.mouse.NativeMouseWheelEvent
class NativeMouseWheelEvent extends NativeMouseEvent implements Serializable- serialVersionUID:
- 2112217673594181259L
-
Serialized Fields
-
scrollAmount
int scrollAmount
Only valid for scrollType WHEEL_UNIT_SCROLL. Indicates number of units that should be scrolled per click of mouse wheel rotation, based on platform settings. -
scrollType
int scrollType
Indicates what sort of scrolling should take place in response to this event, based on platform settings. Legal values are:- WHEEL_UNIT_SCROLL
- WHEEL_BLOCK_SCROLL
- See Also:
-
wheelDirection
int wheelDirection
Indicates how far the mouse wheel was rotated. -
wheelRotation
int wheelRotation
Indicates how far the mouse wheel was rotated.- See Also:
-
-
Class com.github.kwhat.jnativehook.mouse.SwingMouseAdapter
class SwingMouseAdapter extends AbstractSwingInputAdapter implements Serializable -
Class com.github.kwhat.jnativehook.mouse.SwingMouseWheelAdapter
class SwingMouseWheelAdapter extends SwingMouseAdapter implements Serializable
-