public class TextAreaWriter
extends java.io.Writer
| Modifier and Type | Field and Description |
|---|---|
private javax.swing.JTextArea |
textArea
Text area component to which output should be written.
|
| Constructor and Description |
|---|
TextAreaWriter(javax.swing.JTextArea textArea)
Constructs a new TextAreaWriter around the given text area component.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closing a TextAreaWriter does nothing.
|
void |
flush()
Flushing a TextAreaWriter does nothing .
|
void |
write(char[] cbuf,
int off,
int len)
Writes the given characters to the associated text area component.
|
private javax.swing.JTextArea textArea
public TextAreaWriter(javax.swing.JTextArea textArea)
public void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.Writerpublic void flush()
flush in interface java.io.Flushableflush in class java.io.Writerpublic void write(char[] cbuf,
int off,
int len)
write in class java.io.WriterCopyright © 2019 Open Microscopy Environment