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.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.Writer
public void flush()
flush
in interface java.io.Flushable
flush
in class java.io.Writer
public void write(char[] cbuf, int off, int len)
write
in class java.io.Writer
Copyright © 2020 Open Microscopy Environment