ProgramixGenericLib v5.0.1

com.programix.thread
Class LineLogger.TextAreaOutput

java.lang.Object
  extended by com.programix.thread.LineLogger.TextAreaOutput
All Implemented Interfaces:
LineLogger.Output
Enclosing class:
LineLogger

public static class LineLogger.TextAreaOutput
extends Object
implements LineLogger.Output

An implementation of LineLogger.Output that appends output to a JTextArea.

Author:
Paul Hyde

Constructor Summary
LineLogger.TextAreaOutput()
           
LineLogger.TextAreaOutput(int rowCount, int colCount)
           
 
Method Summary
 JTextArea getTextArea()
          Returns the JTextArea that's being logged to.
 JScrollPane getTextAreaWrapped()
          Returns a JScrollPane wrapped around the JTextArea that's being logged to.
 void out(String msg)
          Write out a partial line—without a newline.
 void outln(String msg)
          Write out a full line—or complete an already partially written line.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineLogger.TextAreaOutput

public LineLogger.TextAreaOutput(int rowCount,
                                 int colCount)

LineLogger.TextAreaOutput

public LineLogger.TextAreaOutput()
Method Detail

getTextArea

public JTextArea getTextArea()
Returns the JTextArea that's being logged to.


getTextAreaWrapped

public JScrollPane getTextAreaWrapped()
Returns a JScrollPane wrapped around the JTextArea that's being logged to.


out

public void out(String msg)
Description copied from interface: LineLogger.Output
Write out a partial line—without a newline.

Specified by:
out in interface LineLogger.Output

outln

public void outln(String msg)
Description copied from interface: LineLogger.Output
Write out a full line—or complete an already partially written line.

Specified by:
outln in interface LineLogger.Output

ProgramixGenericLib v5.0.1

Copyright © 2001-2009 Programix Incorporated. All rights reserved. ProgramixGenericLib is free and is OSI Certified Open Source Software under the BSD license.