Class 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 Detail

      • TextAreaWriter

        public TextAreaWriter​(TextArea text)
        Full constructor.
        Parameters:
        text - TextAreaGui to associate with this stream.