|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
jeco.gui.util.TextAreaOutputStream
public class TextAreaOutputStream
Constructor Summary | |
---|---|
TextAreaOutputStream(javax.swing.JTextArea control)
Creates a new instance of TextAreaOutputStream which writes to the specified instance of javax.swing.JTextArea control. |
Method Summary | |
---|---|
void |
write(int b)
Writes the specified byte as a character to the javax.swing.JTextArea. |
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 TextAreaOutputStream(javax.swing.JTextArea control)
control
- A reference to the javax.swing.JTextArea
control to which the output must be redirected
to.Method Detail |
---|
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
b
- The byte to be written as character to the
JTextArea.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |