|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
com.jniwrapper.win32.hook.HookEventObject
com.jniwrapper.win32.hook.KeyboardEvent
public class KeyboardEvent
This class describes events of the Hook.Descriptor.KEYBOARD hook.
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
KeyboardEvent(java.lang.Object source,
long virtualKeyCode,
long keyInfo)
|
|
| Method Summary | |
|---|---|
boolean |
getPreviousState()
Specifies the previous key state. |
int |
getRepeatCount()
Specifies the repeat count. |
int |
getScanCode()
Specifies the scan code. |
boolean |
getTransitionState()
Specifies the transition state. |
long |
getVirtualKeyCode()
|
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. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public KeyboardEvent(java.lang.Object source,
long virtualKeyCode,
long keyInfo)
| Method Detail |
|---|
public long getVirtualKeyCode()
public int getRepeatCount()
public int getScanCode()
public boolean isExtendedKey()
public boolean isAltPressed()
public boolean getPreviousState()
public boolean getTransitionState()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||