cryptix.util.gui
Class TextAreaWriter

java.lang.Object
  extended byjava.io.Writer
      extended bycryptix.util.gui.TextAreaWriter

public class TextAreaWriter
extends java.io.Writer

A class that extends Writer to write into a TextArea. Note that the output will not be displayed (i.e. the TextArea repainted) until flush() or close() is called.

Copyright © 1998 Systemics Ltd on behalf of the Cryptix Development Team.
All rights reserved.

$Revision: 1.1 $

Since:
Cryptix 3.0.4
Author:
David Hopwood

Field Summary
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
TextAreaWriter(java.awt.TextArea ta)
          Creates a TextAreaWriter for the given TextArea.
 
Method Summary
 void close()
           
 void flush()
           
 void write(char[] ca, int offset, int length)
           
 void write(java.lang.String s)
           
 void write(java.lang.String s, int offset, int length)
           
 
Methods inherited from class java.io.Writer
write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextAreaWriter

public TextAreaWriter(java.awt.TextArea ta)
Creates a TextAreaWriter for the given TextArea.

Method Detail

write

public void write(char[] ca,
                  int offset,
                  int length)

write

public void write(java.lang.String s)

write

public void write(java.lang.String s,
                  int offset,
                  int length)

flush

public void flush()

close

public void close()