Horus Doc || Java GUI Reference || Doxygen's quick Index  

OutDialog Class Reference

A dialog (window) to print output and error information. More...

List of all members.

Public Methods

 OutDialog (JFrame parent, int nrLinesOutput, int nrLinesError, int lineWidth)
 Constructor. More...

OutputStreamArea getOutputText ()
 Get the text output part. More...

ErrorStreamArea getErrorText ()
 Get the error text part. More...


Static Public Methods

void printOutput (String str)
 Print the given message in the output text part. More...

void printlnOutput (String str)
 Print the given message in the output text part and add a newline. More...

void printError (String str)
 Print the given message in the error text part. More...

void printlnError (String str)
 Print the given message in the error text part and add a newline. More...


Detailed Description

A dialog (window) to print output and error information.

Contains an OutputStreamArea and an ErrorStreamArea.


Constructor & Destructor Documentation

OutDialog::OutDialog JFrame    parent,
int    nrLinesOutput,
int    nrLinesError,
int    lineWidth
[inline]
 

Constructor.

00030 {
00031     super(parent, false); //not modal
00032     _parent = parent;
00033     doInit(nrLinesOutput, nrLinesError, lineWidth);
00034 }


Member Function Documentation

void OutDialog::printOutput String    str [inline, static]
 

Print the given message in the output text part.

00040 {
00041     _outputText.print(str);
00042 }

void OutDialog::printlnOutput String    str [inline, static]
 

Print the given message in the output text part and add a newline.

00048 {
00049     _outputText.println(str);
00050 }

void OutDialog::printError String    str [inline, static]
 

Print the given message in the error text part.

00056 {
00057     _errorText.print(str);
00058 }

void OutDialog::printlnError String    str [inline, static]
 

Print the given message in the error text part and add a newline.

00064 {
00065     _errorText.println(str);
00066 }

OutputStreamArea OutDialog::getOutputText   [inline]
 

Get the text output part.

00072 {
00073     return _outputText;
00074 }

ErrorStreamArea OutDialog::getErrorText   [inline]
 

Get the error text part.

00080 {
00081     return _errorText;
00082 }


The documentation for this class was generated from the following file:
Generated on Mon Jan 27 15:11:24 2003 for JavaReference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001