|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjcontrol.io.Keyboard
public class Keyboard
Accesses JControls keyboard. There are two access modes:
buzzer.keyboardbeep property| Device | Sticker | SmartDisplay | Stamp | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Layout |
|
|
| |||||||||||||||||||||||||
| Map | {'S','u','U','d','D'} |
{'U','D','L','R','S'} | {'S'} |
| Constructor Summary | |
|---|---|
Keyboard()
Default keyboard initialisation, uses the hard-wired JControl keyboard. |
|
| Method Summary | |
|---|---|
protected void |
finalize()
native finalize method |
char |
getKey()
Buffered keyboard readout. |
char |
getRaw()
Raw keyboard readout. |
char |
read()
Default method for reading the keyboard. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, notifyAll, toString, wait |
| Constructor Detail |
|---|
public Keyboard()
| Method Detail |
|---|
public char read()
char of the pressed key#get(),
getRaw()public char getKey()
char of the pressed key or 0 if no key is pressedread(),
getRaw()public char getRaw()
char of the currently pressed key or 0 if no key is pressedprotected void finalize()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||