bsh.util
public class JConsole extends JScrollPane implements GUIConsoleInterface, Runnable, KeyListener, MouseListener, ActionListener, PropertyChangeListener
| Nested Class Summary | |
|---|---|
| static class | JConsole.BlockingPipedInputStream
The overridden read method in this class will not throw "Broken pipe"
IOExceptions; It will simply wait for new writers and data.
|
| Constructor Summary | |
|---|---|
| JConsole() | |
| JConsole(InputStream cin, OutputStream cout) | |
| Method Summary | |
|---|---|
| void | actionPerformed(ActionEvent event) |
| void | error(String s) |
| PrintStream | getErr() |
| Reader | getIn() |
| InputStream | getInputStream() |
| PrintStream | getOut() |
| AttributeSet | getStyle() |
| void | keyPressed(KeyEvent e) |
| void | keyReleased(KeyEvent e) |
| void | keyTyped(KeyEvent e) |
| void | mouseClicked(MouseEvent event) |
| void | mouseEntered(MouseEvent event) |
| void | mouseExited(MouseEvent event) |
| void | mousePressed(MouseEvent event) |
| void | mouseReleased(MouseEvent event) |
| void | print(String string) |
| void | print(Object object)
Prints the primitive type "float"
(needed because of float->double
coercion weirdness)
public void println(float f) {
println(String.valueOf(f));
} |
| void | print(Icon icon) |
| void | print(Object s, Font font)
Prints the primitive type "float"
(needed because of float->double
coercion weirdness)
public void print(float f) {
print(String.valueOf(f));
} |
| void | print(Object s, Color color) |
| void | print(String s, Color color) |
| void | print(Object s, Font font, Color color) |
| void | print(Object s, String fontFamilyName, int size, Color color) |
| void | print(Object s, String fontFamilyName, int size, Color color, boolean bold, boolean italic, boolean underline) |
| void | println(String string) |
| void | println()
Prints "\\n" (i.e. newline) |
| void | println(Object object) |
| void | println(Icon icon) |
| void | propertyChange(PropertyChangeEvent event) |
| void | requestFocus() |
| void | run() |
| void | setFont(Font font) |
| void | setNameCompletion(NameCompletion nc) |
| AttributeSet | setStyle(Font font) |
| AttributeSet | setStyle(Color color) |
| AttributeSet | setStyle(Font font, Color color) |
| AttributeSet | setStyle(String fontFamilyName, int size, Color color) |
| AttributeSet | setStyle(String fontFamilyName, int size, Color color, boolean bold, boolean italic, boolean underline) |
| void | setStyle(AttributeSet attributes) |
| void | setStyle(AttributeSet attributes, boolean overWrite) |
| void | setWaitFeedback(boolean on) |
| String | toString() |