|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.OutputStream
jmathlib.ui.awt.GUIOutput
public class GUIOutput
Simple OutputStream extension for redirecting the System.out to a specified TextArea.
| Constructor Summary | |
|---|---|
GUIOutput(java.awt.TextArea _outputTextArea)
Creates a new PrintStream object to redirect the standard System.out objectDoes the redirection |
|
| Method Summary | |
|---|---|
void |
dispose()
Restores the original System.out PrintStream. |
void |
write(int b)
Covert the specified int to an array of bytesConvert the array of bytes to a StringCalls to write(String s) method |
void |
write(int[] b)
Covert the specified array of ints to an array of bytesConvert the array of bytes to a StringCalls to write(String s) method |
void |
write(java.lang.String s)
Appends the specified String to the java.awt.TextArea specified at constructor's time |
| Methods inherited from class java.io.OutputStream |
|---|
close, flush, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GUIOutput(java.awt.TextArea _outputTextArea)
PrintStream object to redirect the standard System.out object
| Method Detail |
|---|
public void write(int b)
int to an array of byteswrite(String s) method
write in class java.io.OutputStreampublic void write(int[] b)
write(String s) method
public void write(java.lang.String s)
String to the java.awt.TextArea specified at constructor's time
public void dispose()
System.out PrintStream.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||