类 JTextAreaWriter

    • 构造器详细资料

      • JTextAreaWriter

        public JTextAreaWriter​(JTextArea ta)
      • JTextAreaWriter

        public JTextAreaWriter​(JTextArea ta,
                               int maxBuffSize)
    • 方法详细资料

      • toString

        public String toString()
        returns the written string
        覆盖:
        toString 在类中 Object
        返回:
      • flush

        public void flush()
        overrides OutputStream.flush()
        指定者:
        flush 在接口中 Flushable
        指定者:
        flush 在类中 Writer
      • write

        public void write​(int b)
        implements the stream: writes the byte to the string buffer
        覆盖:
        write 在类中 Writer
      • write

        public void write​(char[] cbuf,
                          int off,
                          int len)
        指定者:
        write 在类中 Writer