gumbo.app
Class JTextAreaWriter
java.lang.Object
|
+--java.io.Writer
|
+--gumbo.app.JTextAreaWriter
- public class JTextAreaWriter
- extends java.io.Writer
Wraps a JTextArea with a writer that allows text to be appended asychronously
(i.e. from outside the GUI thread).
- Version:
- $Revision: 1.6 $
- Author:
- Jon Barrilleaux (jonb@jmbaai.com) of JMB and Associates Inc.
Fields inherited from class java.io.Writer |
lock |
Methods inherited from class java.io.Writer |
write, write, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JTextAreaWriter
public JTextAreaWriter(javax.swing.JTextArea target)
JTextAreaWriter
public JTextAreaWriter(JTextAreaWriter.TargetProxy proxy)
getTargetProxy
public JTextAreaWriter.TargetProxy getTargetProxy()
write
public void write(char[] cbuf,
int off,
int len)
- Specified by:
write
in class java.io.Writer
flush
public void flush()
- Specified by:
flush
in class java.io.Writer
close
public void close()
- Specified by:
close
in class java.io.Writer