| Modifier and Type | Class and Description |
|---|---|
| public 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. |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private static final String | |
| private static final String | |
| private DefaultStyledDocument | |
| private boolean | |
| private int | |
| private Vector | |
| private InputStream | |
| private InputStream | |
| private JPopupMenu | |
| pack-priv NameCompletion | |
| private PrintStream | |
| private OutputStream | |
| private static final String | |
| pack-priv final int | |
| private String | |
| private JTextPane | |
| pack-priv String |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | actionPerformed(ActionEvent
the event to be processed event)Implements java. |
| private void | |
| private void | |
| private void | |
| public void | |
| private void | |
| private void | |
| private String | |
| public PrintStream | |
| public Reader | |
| public InputStream | |
| public PrintStream | |
| private AttributeSet | |
| private void | |
| 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 void | mouseClicked(MouseEvent
the event to be processed event)Implements java. |
| public void | mouseEntered(MouseEvent
the event to be processed event)Implements java. |
| public void | mouseExited(MouseEvent
the event to be processed event)Implements java. |
| public void | mousePressed(MouseEvent
the event to be processed event)Implements java. |
| public void | mouseReleased(MouseEvent
the event to be processed event)Implements java. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | propertyChange(PropertyChangeEvent
A PropertyChangeEvent object describing the event source
and the property that has changed. event)Implements java. |
| private String | |
| public void | requestFocus()
Overrides javax. Component gets the input focus.
|
| private void | |
| public void | |
| public void | setFont(Font
the desired font)Font for this componentOverrides javax. |
| public void | |
| private AttributeSet | |
| private AttributeSet | |
| private AttributeSet | |
| private AttributeSet | |
| private AttributeSet | |
| private void | |
| private void | |
| public void | setWaitFeedback(boolean on)
Implements bsh. |
| private void | |
| private int | |
| public String | toString()
Overrides java. |
| private synchronized void |
| cmdStart | back to summary |
|---|---|
| private int cmdStart | |
| COPY | back to summary |
|---|---|
| private static final String COPY | |
| CUT | back to summary |
|---|---|
| private static final String CUT | |
| doc | back to summary |
|---|---|
| private DefaultStyledDocument doc | |
| gotUp | back to summary |
|---|---|
| private boolean gotUp | |
| 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 | |
| menu | back to summary |
|---|---|
| private JPopupMenu menu | |
| nameCompletion | back to summary |
|---|---|
| pack-priv NameCompletion nameCompletion | |
| out | back to summary |
|---|---|
| private PrintStream out | |
| outPipe | back to summary |
|---|---|
| private OutputStream outPipe | |
| PASTE | back to summary |
|---|---|
| private static final String PASTE | |
| SHOW_AMBIG_MAX | back to summary |
|---|---|
| pack-priv final int SHOW_AMBIG_MAX | |
| startedLine | back to summary |
|---|---|
| private String startedLine | |
| text | back to summary |
|---|---|
| private JTextPane text | |
| ZEROS | back to summary |
|---|---|
| pack-priv String ZEROS | |
| JConsole | back to summary |
|---|---|
| public JConsole() | |
| JConsole | back to summary |
|---|---|
| public JConsole(InputStream cin, OutputStream cout) | |
| acceptLine | back to summary |
|---|---|
| private void acceptLine(String line) | |
| actionPerformed | back to summary |
|---|---|
| public void actionPerformed(ActionEvent event) Implements java. Doc from java. Invoked when an action occurs.
| |
| append | back to summary |
|---|---|
| private void append(String string) | |
| doCommandCompletion | back to summary |
|---|---|
| private void doCommandCompletion(String part) | |
| enter | back to summary |
|---|---|
| private void enter() | |
| error | back to summary |
|---|---|
| public void error(Object o) Implements bsh. | |
| forceCaretMoveToEnd | back to summary |
|---|---|
| private void forceCaretMoveToEnd() | |
| forceCaretMoveToStart | back to summary |
|---|---|
| private void forceCaretMoveToStart() | |
| getCmd | back to summary |
|---|---|
| private String getCmd() | |
| getErr | back to summary |
|---|---|
| public PrintStream getErr() Implements bsh. | |
| getIn | back to summary |
|---|---|
| public Reader getIn() Implements bsh. | |
| getInputStream | back to summary |
|---|---|
| public InputStream getInputStream() | |
| getOut | back to summary |
|---|---|
| public PrintStream getOut() Implements bsh. | |
| getStyle | back to summary |
|---|---|
| private AttributeSet getStyle() | |
| historyDown | back to summary |
|---|---|
| private void historyDown() | |
| historyUp | back to summary |
|---|---|
| private void historyUp() | |
| inPipeWatcher | back to summary |
|---|---|
| private void inPipeWatcher() throws IOException | |
| invokeAndWait | back to summary |
|---|---|
| private void invokeAndWait(Runnable run) If not in the event thread run via SwingUtilities.invokeAndWait() | |
| 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
| |
| mouseClicked | back to summary |
|---|---|
| public void mouseClicked(MouseEvent event) Implements java. Doc from java. Invoked when the mouse button has been clicked (pressed and released) on a component.
| |
| mouseEntered | back to summary |
|---|---|
| public void mouseEntered(MouseEvent event) Implements java. Doc from java. Invoked when the mouse enters a component.
| |
| mouseExited | back to summary |
|---|---|
| public void mouseExited(MouseEvent event) Implements java. Doc from java. Invoked when the mouse exits a component.
| |
| mousePressed | back to summary |
|---|---|
| public void mousePressed(MouseEvent event) Implements java. Doc from java. Invoked when a mouse button has been pressed on a component.
| |
| mouseReleased | back to summary |
|---|---|
| public void mouseReleased(MouseEvent event) Implements java. Doc from java. Invoked when a mouse button has been released on a component.
| |
| back to summary | |
|---|---|
| public void print(final Object o) Implements bsh. | |
| back to summary | |
|---|---|
| public void print(final Icon icon) | |
| back to summary | |
|---|---|
| public void print(Object s, Font font) | |
| back to summary | |
|---|---|
| public void print(Object s, Color color) Implements bsh. | |
| back to summary | |
|---|---|
| public void print(final Object o, final Font font, final Color color) | |
| back to summary | |
|---|---|
| public void print(Object s, String fontFamilyName, int size, Color color) | |
| back to summary | |
|---|---|
| public void print(final Object o, final String fontFamilyName, final int size, final Color color, final boolean bold, final boolean italic, final boolean underline) | |
| println | back to summary |
|---|---|
| public void println(Object o) Implements bsh. | |
| println | back to summary |
|---|---|
| public void println() Prints "\\n" (i.e. newline) | |
| println | back to summary |
|---|---|
| public void println(Icon icon) | |
| propertyChange | back to summary |
|---|---|
| public void propertyChange(PropertyChangeEvent event) Implements java. Doc from java. This method gets called when a bound property is changed.
| |
| replaceRange | back to summary |
|---|---|
| private String replaceRange(Object s, int start, int end) | |
| requestFocus | back to summary |
|---|---|
| public void requestFocus() Overrides javax. Doc from javax. Requests that this
Note that the use of this method is discouraged because
its behavior is platform dependent. Instead we recommend the
use of | |
| resetCommandStart | back to summary |
|---|---|
| private void resetCommandStart() | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation. | |
| setFont | back to summary |
|---|---|
| public void setFont(Font font) Overrides javax. Doc from javax. Sets the font for this component.
| |
| setNameCompletion | back to summary |
|---|---|
| public void setNameCompletion(NameCompletion nc) Implements bsh. | |
| setStyle | back to summary |
|---|---|
| private AttributeSet setStyle(Font font) | |
| setStyle | back to summary |
|---|---|
| private AttributeSet setStyle(Color color) | |
| setStyle | back to summary |
|---|---|
| private AttributeSet setStyle(Font font, Color color) | |
| setStyle | back to summary |
|---|---|
| private AttributeSet setStyle(String fontFamilyName, int size, Color color) | |
| setStyle | back to summary |
|---|---|
| private AttributeSet setStyle(String fontFamilyName, int size, Color color, boolean bold, boolean italic, boolean underline) | |
| setStyle | back to summary |
|---|---|
| private void setStyle(AttributeSet attributes) | |
| setStyle | back to summary |
|---|---|
| private void setStyle(AttributeSet attributes, boolean overWrite) | |
| setWaitFeedback | back to summary |
|---|---|
| public void setWaitFeedback(boolean on) Implements bsh. Doc from bsh. e.g. the wait cursor | |
| showHistoryLine | back to summary |
|---|---|
| private void showHistoryLine() | |
| textLength | back to summary |
|---|---|
| private int textLength() | |
| 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 |
|---|---|
| private synchronized void type(KeyEvent e) | |
Warning
read() will not even error on a read to an explicitly closed pipe (override closed to for that).
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides java. Implements java. |
| public synchronized int | read()
Overrides java. |
| closed | back to summary |
|---|---|
| pack-priv boolean closed | |
| BlockingPipedInputStream | back to summary |
|---|---|
| public BlockingPipedInputStream(PipedOutputStream pout) throws IOException | |
| close | back to summary |
|---|---|
| public void close() throws IOException Overrides java. Implements java. Doc from java. Closes this input stream and releases any system resources associated with the stream.
| |
| read | back to summary |
|---|---|
| public synchronized int read() throws IOException Overrides java. Doc from java. Reads the next byte of data from this piped input stream. The
value byte is returned as an
| |