Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

ErrorStreamArea Class Reference

An area for error messages. More...

Inheritance diagram for ErrorStreamArea::

AppletErrorStreamArea List of all members.

Public Methods

 ErrorStreamArea (JFrame parent, int rows, int columns)
 Constructor. More...

 ErrorStreamArea (JFrame parent, 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...


Protected Methods

void doPrint (String str)
void doPrintln (String str)
void doClear ()
native void initGuiErrorStream ()

Detailed Description

An area for error messages.


Constructor & Destructor Documentation

ErrorStreamArea::ErrorStreamArea JFrame    parent,
int    rows,
int    columns
[inline]
 

Constructor.

ErrorStreamArea::ErrorStreamArea JFrame    parent,
int    rows,
int    columns,
boolean    capture
[inline]
 

Constructor.


Member Function Documentation

void ErrorStreamArea::capture   [inline]
 

capture redirects all the output to the TextArea.

This method is helpful when an ErrorStreamArea 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).

void ErrorStreamArea::actionPerformed ActionEvent    e [inline]
 

Implementation of ActionListener.

void ErrorStreamArea::print String    str [inline, static]
 

Displays the given string (without printing a newline).

void ErrorStreamArea::println String    str [inline, static]
 

Displays the given string and a newline.

void ErrorStreamArea::doPrint String    str [inline, protected]
 

void ErrorStreamArea::doPrintln String    str [inline, protected]
 

void ErrorStreamArea::doClear   [inline, protected]
 

Reimplemented in AppletErrorStreamArea.

native void ErrorStreamArea::initGuiErrorStream   [protected]
 

Reimplemented in AppletErrorStreamArea.


The documentation for this class was generated from the following file:
Generated on Tue Jan 8 14:14:25 2002 for JavaReference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001