public class KeyInput
extends java.awt.event.KeyAdapter
Constructor and Description |
---|
KeyInput() |
Modifier and Type | Method and Description |
---|---|
boolean[] |
getMask() |
void |
keyPressed(java.awt.event.KeyEvent e)
Manages KeyPressed events
|
void |
keyReleased(java.awt.event.KeyEvent e)
Manages keyReleased events
|
void |
reset() |
void |
setAction(Types.ACTIONS action) |
public boolean[] getMask()
public void keyPressed(java.awt.event.KeyEvent e)
keyPressed
in interface java.awt.event.KeyListener
keyPressed
in class java.awt.event.KeyAdapter
e
- the event.public void keyReleased(java.awt.event.KeyEvent e)
keyReleased
in interface java.awt.event.KeyListener
keyReleased
in class java.awt.event.KeyAdapter
e
- the event.public void reset()
public void setAction(Types.ACTIONS action)