|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.malai.interaction.Event
org.malai.interaction.KeyPressEvent
class KeyPressEvent
This class defines an event corresponding to the pressure of a key.
Field Summary | |
---|---|
protected int |
keyCode
The code of the key pressed. |
protected java.lang.Object |
source
The object that produced the key event. |
Fields inherited from class org.malai.interaction.Event |
---|
idHID |
Constructor Summary | |
---|---|
KeyPressEvent(int idHID,
int keyCode,
java.lang.Object source)
Creates the event. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int keyCode
protected java.lang.Object source
Constructor Detail |
---|
public KeyPressEvent(int idHID, int keyCode, java.lang.Object source)
idHID
- The identifier of the HID.keyCode
- The key code.source
- The object that produced the event.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |