|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvxmlsurfer.KeyEventListener
class KeyEventListener
this class handles all the keyboard events
Field Summary | |
---|---|
(package private) boolean |
comboKey
|
(package private) javax.swing.JTextArea |
command
|
(package private) boolean |
ctrlPressed
|
(package private) int |
eventNumber
|
(package private) boolean |
insertPressed
|
Constructor Summary | |
---|---|
KeyEventListener(CustomField command)
Constructor |
Method Summary | |
---|---|
void |
keyPressed(java.awt.event.KeyEvent arg0)
Event handler for the Key Pressed event posts relevant commands to the interpreter |
void |
keyReleased(java.awt.event.KeyEvent arg0)
Key released event handler |
void |
keyTyped(java.awt.event.KeyEvent arg0)
Inherited abstract method to be implemented This event handler is not used though |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
javax.swing.JTextArea command
boolean insertPressed
boolean ctrlPressed
boolean comboKey
int eventNumber
Constructor Detail |
---|
KeyEventListener(CustomField command)
inputQ
- Queue holding the commands to be executed by the interpretercommand
- input boxMethod Detail |
---|
public void keyPressed(java.awt.event.KeyEvent arg0)
keyPressed
in interface java.awt.event.KeyListener
arg0
- keyEvent argumentpublic void keyReleased(java.awt.event.KeyEvent arg0)
keyReleased
in interface java.awt.event.KeyListener
arg0
- is the KeyEventpublic void keyTyped(java.awt.event.KeyEvent arg0)
keyTyped
in interface java.awt.event.KeyListener
arg0
- KeyEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |