| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private Vector | |
| private InputStream | |
| private InputStream | |
| private StringBuffer | |
| private PrintStream | |
| private OutputStream | |
| private String | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private int | |
| private void | |
| private void | |
| public void | |
| public PrintStream | |
| public Reader | |
| public PrintStream | |
| private void | |
| private void | |
| private void | |
| public void | keyPressed(KeyEvent
the event to be processed e)Implements java. |
| public void | keyReleased(KeyEvent
the event to be processed e)Implements java. |
| public void | keyTyped(KeyEvent
the event to be processed e)Implements java. |
| public static void | |
| public void | |
| public synchronized void | |
| public void | |
| public void | |
| public void | setCaretPosition(int
the position of the text insertion caret pos)Overrides java. |
| private void | |
| public String | toString()
Overrides java. |
| public void |
| histLine | back to summary |
|---|---|
| private int histLine | |
| history | back to summary |
|---|---|
| private Vector<E> history | |
| in | back to summary |
|---|---|
| private InputStream in | |
| inPipe | back to summary |
|---|---|
| private InputStream inPipe | |
| line | back to summary |
|---|---|
| private StringBuffer line | |
| out | back to summary |
|---|---|
| private PrintStream out | |
| outPipe | back to summary |
|---|---|
| private OutputStream outPipe | |
| startedLine | back to summary |
|---|---|
| private String startedLine | |
| textLength | back to summary |
|---|---|
| private int textLength | |
| AWTConsole | back to summary |
|---|---|
| public AWTConsole(int rows, int cols, InputStream cin, OutputStream cout) | |
| AWTConsole | back to summary |
|---|---|
| public AWTConsole() | |
| AWTConsole | back to summary |
|---|---|
| public AWTConsole(InputStream in, OutputStream out) | |
| acceptLine | back to summary |
|---|---|
| private void acceptLine(String line) | |
| countNLs | back to summary |
|---|---|
| private int countNLs() | |
| doChar | back to summary |
|---|---|
| private void doChar(char ch) | |
| enter | back to summary |
|---|---|
| private void enter() | |
| error | back to summary |
|---|---|
| public void error(Object o) Implements bsh. | |
| getErr | back to summary |
|---|---|
| public PrintStream getErr() Implements bsh. | |
| getIn | back to summary |
|---|---|
| public Reader getIn() Implements bsh. | |
| getOut | back to summary |
|---|---|
| public PrintStream getOut() Implements bsh. | |
| historyDown | back to summary |
|---|---|
| private void historyDown() | |
| historyUp | back to summary |
|---|---|
| private void historyUp() | |
| inPipeWatcher | back to summary |
|---|---|
| private void inPipeWatcher() throws IOException | |
| keyPressed | back to summary |
|---|---|
| public void keyPressed(KeyEvent e) Implements java. Doc from java. Invoked when a key has been pressed.
See the class description for
| |
| keyReleased | back to summary |
|---|---|
| public void keyReleased(KeyEvent e) Implements java. Doc from java. Invoked when a key has been released.
See the class description for
| |
| keyTyped | back to summary |
|---|---|
| public void keyTyped(KeyEvent e) Implements java. Doc from java. Invoked when a key has been typed.
See the class description for
| |
| main | back to summary |
|---|---|
| public static void main(String[] args) | |
| back to summary | |
|---|---|
| public void print(Object o, Color c) | |
| back to summary | |
|---|---|
| public synchronized void print(Object o) Implements bsh. | |
| println | back to summary |
|---|---|
| public void println(Object o) Implements bsh. | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation. | |
| setCaretPosition | back to summary |
|---|---|
| public void setCaretPosition(int pos) Overrides java. Doc from java. Sets the position of the text insertion caret.
The caret position is constrained to be between 0
and the last character of the text, inclusive.
If the passed-in value is greater than this range,
the value is set to the last character (or 0 if
the
| |
| showHistoryLine | back to summary |
|---|---|
| private void showHistoryLine() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of this component and its values.
| |
| type | back to summary |
|---|---|
| public void type(int code, char ch, int modifiers) | |