|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.event.KeyAdapter | +--vfstagecontroller.SerialConnection.KeyHandler
A class to handle KeyEvent
s generated by the messageAreaOut.
When a KeyEvent
occurs the char
that is
generated by the event is read, converted to an int
and
writen to the OutputStream
for the port.
Field Summary | |
(package private) java.io.OutputStream |
os
|
Constructor Summary | |
SerialConnection.KeyHandler(java.io.OutputStream os)
Creates the KeyHandler. |
Method Summary | |
void |
keyTyped(java.awt.event.KeyEvent evt)
Handles the KeyEvent. |
Methods inherited from class java.awt.event.KeyAdapter |
keyPressed, keyReleased |
Methods inherited from class java.lang.Object |
|
Field Detail |
java.io.OutputStream os
Constructor Detail |
public SerialConnection.KeyHandler(java.io.OutputStream os)
os
- The OutputStream for the port.Method Detail |
public void keyTyped(java.awt.event.KeyEvent evt)
char generated by the KeyEvent
,
converts it to an int
, writes it to the
OutputStream
for the port.
- Overrides:
keyTyped
in class java.awt.event.KeyAdapter
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |