public class LowLevelKeyboardEvent extends HookEventObject
Modifier and Type | Method and Description |
---|---|
void |
consume()
Causes the consuming of this event, so another applications will not receive it.
|
long |
getMessageID()
Returns the identifier of the keyboard message.
|
long |
getScanCode()
Returns a hardware scan code for the key.
|
long |
getTime()
Returns the time stamp for this message.
|
long |
getVirtualKeyCode()
Returns a virtual-key code.
|
boolean |
isAltPressed()
Specifies the context code.
|
boolean |
isExtendedKey()
Specifies whether the key is an extended key, such as a function key or a
key on the numeric keypad.
|
boolean |
isInjected()
Specifies whether the event was injected.
|
boolean |
isPressed()
Specifies the transition state.
|
public long getMessageID()
public long getVirtualKeyCode()
public long getScanCode()
public boolean isExtendedKey()
public boolean isInjected()
public boolean isAltPressed()
ALT
key is pressed; otherwise, it is falsepublic boolean isPressed()
public long getTime()
public void consume()