cryptix.util.gui

Class TextAreaWriter


public class TextAreaWriter
extends 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 $

Author:
David Hopwood
Since:
Cryptix 3.0.4

Constructor Summary

TextAreaWriter(TextArea ta)
Creates a TextAreaWriter for the given TextArea.

Method Summary

void
close()
void
flush()
void
write(String s)
void
write(String s, int offset, int length)
void
write(char[] ca, int offset, int length)

Constructor Details

TextAreaWriter

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

Method Details

close

public void close()

flush

public void flush()

write

public void write(String s)

write

public void write(String s,
                  int offset,
                  int length)

write

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