|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.InputStream
org.openbp.swing.components.JConsole.GUIMappedInputStream
protected class JConsole.GUIMappedInputStream
This output stream reads all input data from a component. All KeyEvents will put in a stream and can be used as standard input stream.
| Constructor Summary | |
|---|---|
JConsole.GUIMappedInputStream()
Constructor. |
|
| Method Summary | |
|---|---|
int |
available()
Returns the number of bytes available. |
void |
keyPressed(java.awt.event.KeyEvent e)
Invoked when a key has been pressed. |
void |
keyReleased(java.awt.event.KeyEvent e)
Invoked when a key has been released. |
void |
keyTyped(java.awt.event.KeyEvent e)
Invoked when a key has been typed. |
boolean |
markSupported()
Always returns false. |
int |
read()
Reads a byte from the stream. |
| Methods inherited from class java.io.InputStream |
|---|
close, mark, read, read, reset, skip |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JConsole.GUIMappedInputStream()
| Method Detail |
|---|
public int available()
available in class java.io.InputStreampublic boolean markSupported()
markSupported in class java.io.InputStream
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOException - Neverpublic void keyTyped(java.awt.event.KeyEvent e)
keyTyped in interface java.awt.event.KeyListenerpublic void keyPressed(java.awt.event.KeyEvent e)
keyPressed in interface java.awt.event.KeyListenerpublic void keyReleased(java.awt.event.KeyEvent e)
keyReleased in interface java.awt.event.KeyListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||