|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jniwrapper.win32.ie.KeyFilter.KeyEvent
public static class KeyFilter.KeyEvent
Key pressed event.
| Constructor Summary | |
|---|---|
KeyFilter.KeyEvent(int keyCode)
Creates key event by key code. |
|
KeyFilter.KeyEvent(com.jniwrapper.win32.Msg msg)
Creates key event by message. |
|
| Method Summary | |
|---|---|
int |
getKeyCode()
Returns key code. |
int |
getRepeatCount()
Specifies the repeat count for the current message. |
int |
getScanCode()
Returns key scan code. |
boolean |
isAltPressed()
Returns true if ALT key is pressed during key event. |
boolean |
isControlPressed()
Returns true if control is pressed during key event. |
boolean |
isExtended()
Specifies whether the key is an extended key, such as the right-hand ALT and CTRL keys that appear on an enhanced 101- or 102-key keyboard. |
static boolean |
isPressed(int virtualKey)
Returns true if specified key is pressed |
boolean |
isShiftPressed()
Returns true if shift is pressed during key event. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KeyFilter.KeyEvent(int keyCode)
keyCode - key codepublic KeyFilter.KeyEvent(com.jniwrapper.win32.Msg msg)
msg - event message| Method Detail |
|---|
public int getKeyCode()
public boolean isControlPressed()
public boolean isShiftPressed()
public boolean isAltPressed()
public static boolean isPressed(int virtualKey)
virtualKey - key
public int getScanCode()
public boolean isExtended()
public int getRepeatCount()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||