Package loci.plugins.config
Class TextAreaWriter
java.lang.Object
java.io.Writer
loci.plugins.config.TextAreaWriter
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
Writer implementation that writes to a JTextArea document.
- Author:
- Curtis Rueden ctrueden at wisc.edu
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate JTextAreaText area component to which output should be written. -
Constructor Summary
ConstructorsConstructorDescriptionTextAreaWriter(JTextArea textArea) Constructs a new TextAreaWriter around the given text area component. -
Method Summary
-
Field Details
-
textArea
Text area component to which output should be written.
-
-
Constructor Details
-
TextAreaWriter
Constructs a new TextAreaWriter around the given text area component.
-
-
Method Details
-
close
public void close()Closing a TextAreaWriter does nothing. -
flush
public void flush()Flushing a TextAreaWriter does nothing . -
write
public void write(char[] cbuf, int off, int len) Writes the given characters to the associated text area component.
-