|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IKeyHook
IKeyHook interface defines the methods to hook keys of Windows.
Method Summary | |
---|---|
void |
dispose()
You have to call this function when you dispose the instance. |
void |
hookAll(boolean flag)
|
void |
registerHookedKey(int vkey,
int modifier)
Register the vkey on the native key hook utility. |
Method Detail |
---|
void registerHookedKey(int vkey, int modifier)
vkey
- the virtual key code to be hooked.modifier
- the modifier code to be used when the key is hooked.void hookAll(boolean flag)
flag
- if it is true then all of keys are hooked, and it is false
then any keys are not hooked.void dispose()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |