Class TextAreaWriter
- java.lang.Object
-
- java.io.Writer
-
- be.yildizgames.module.graphic.gui.textarea.TextAreaWriter
-
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
public final class TextAreaWriter extends Writer
Helper class to extends a java.io.Writer stream and link it to a TextAreaGui. All call to Writer.write will result in a TextAreaGui.addLine- Author:
- Grégory Van den Borre
-
-
Constructor Summary
Constructors Constructor Description TextAreaWriter(TextArea text)Full constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()voidwrite(char[] line, int off, int len)
-
-
-
Constructor Detail
-
TextAreaWriter
public TextAreaWriter(TextArea text)
Full constructor.- Parameters:
text- TextAreaGui to associate with this stream.
-
-