public class InputHandler extends Object implements com.github.kwhat.jnativehook.keyboard.NativeKeyListener
| Constructor and Description |
|---|
InputHandler() |
| Modifier and Type | Method and Description |
|---|---|
int |
doMenu(String[] m,
boolean clearAtEnd,
int startIndex) |
int |
doMenu(String[] m,
String printFirst,
boolean clearAtEnd,
int startIndex) |
String |
doText() |
void |
end()
Ends the InputHandler's operation (you must call init to use InputHandler
again)
|
void |
init() |
void |
nativeKeyPressed(com.github.kwhat.jnativehook.keyboard.NativeKeyEvent nke) |
void |
nativeKeyReleased(com.github.kwhat.jnativehook.keyboard.NativeKeyEvent nke) |
void |
nativeKeyTyped(com.github.kwhat.jnativehook.keyboard.NativeKeyEvent nke) |
void |
waitUntilEnter() |
public void init()
public int doMenu(String[] m, boolean clearAtEnd, int startIndex)
public String doText()
public void waitUntilEnter()
public void end()
public void nativeKeyTyped(com.github.kwhat.jnativehook.keyboard.NativeKeyEvent nke)
nativeKeyTyped in interface com.github.kwhat.jnativehook.keyboard.NativeKeyListenerpublic void nativeKeyPressed(com.github.kwhat.jnativehook.keyboard.NativeKeyEvent nke)
nativeKeyPressed in interface com.github.kwhat.jnativehook.keyboard.NativeKeyListenerpublic void nativeKeyReleased(com.github.kwhat.jnativehook.keyboard.NativeKeyEvent nke)
nativeKeyReleased in interface com.github.kwhat.jnativehook.keyboard.NativeKeyListenerCopyright © 2022. All rights reserved.