Inheritance diagram for OutputStreamArea::
Public Methods | |
OutputStreamArea (int rows, int columns) | |
Constructor. More... | |
OutputStreamArea (int rows, int columns, boolean capture) | |
Constructor. More... | |
void | capture () |
capture redirects all the output to the TextArea. More... | |
void | actionPerformed (ActionEvent e) |
Implementation of ActionListener. More... | |
Static Public Methods | |
void | print (String str) |
Displays the given string (without printing a newline). More... | |
void | println (String str) |
Displays the given string and a newline. More... | |
void | clear () |
Clears the output area. More... | |
Protected Methods | |
native void | initGuiOutputStream () |
void | doPrint (String str) |
void | doPrintln (String str) |
void | doClear () |
|
Constructor.
|
|
Constructor.
|
|
capture redirects all the output to the TextArea. This method is helpful when an OutputStreamArea is created and you wait till the containing frame is shown to redirect the output (in the meantime all the output goes to the console). |
|
Implementation of ActionListener.
|
|
Displays the given string (without printing a newline).
|
|
Displays the given string and a newline.
|
|
Clears the output area.
|
|
Reimplemented in AppletOutputStreamArea. |
|
|
|
|
|
Reimplemented in AppletOutputStreamArea. |