|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jagatoo.input.events.InputEvent
org.jagatoo.input.events.KeyboardEvent
org.jagatoo.input.events.KeyStateEvent
org.jagatoo.input.events.KeyPressedEvent
public class KeyPressedEvent
This type of eevnt is fired when a key was pressed.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jagatoo.input.events.KeyboardEvent |
|---|
KeyboardEvent.SubType |
| Nested classes/interfaces inherited from class org.jagatoo.input.events.InputEvent |
|---|
InputEvent.Type |
| Constructor Summary | |
|---|---|
protected |
KeyPressedEvent()
Creates a new KeyboardEvent with the default settings |
protected |
KeyPressedEvent(Keyboard keyboard,
Key key,
int modifierMask,
long when,
long lastWhen)
Initialises the new KeyboardEvent using the given values. |
| Method Summary |
|---|
| Methods inherited from class org.jagatoo.input.events.KeyStateEvent |
|---|
getKeyBooleanState, getKeyState |
| Methods inherited from class org.jagatoo.input.events.KeyboardEvent |
|---|
getKey, getKeyboard, getKeyCode, getModifierMask, getSubType, set, toString |
| Methods inherited from class org.jagatoo.input.events.InputEvent |
|---|
getComponent, getLastWhen, getType, getWhen, set, set |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected KeyPressedEvent()
protected KeyPressedEvent(Keyboard keyboard,
Key key,
int modifierMask,
long when,
long lastWhen)
keyCode - the key-code whose state changedwhen - the timestamp of the KeyboardEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||