gov.lanl.CoasViewers
Class JTextAreaForTMDOMWriter

java.lang.Object
  |
  +--gov.lanl.CoasViewers.JTextAreaForTMDOMWriter
All Implemented Interfaces:
gov.lanl.Utility.TMDOMWriterOutputInterface

public class JTextAreaForTMDOMWriter
extends java.lang.Object
implements gov.lanl.Utility.TMDOMWriterOutputInterface

Provides a class for TMDOMWriter to output direct to a JTextArea. it used PrintWriter, and these are the calls it uses.

Version:
$Revision: 1.1.1.1 $ $Date: 2000/08/12 04:38:27 $
Author:
Jim George

Constructor Summary
JTextAreaForTMDOMWriter(javax.swing.JTextArea inJTextArea)
           
 
Method Summary
 void flush()
          Flushes the buffer if needed
 void print(char inChar)
          Adds the character to the output media
 void print(java.lang.String inStr)
          Adds the string to the output media
 void println(java.lang.String inStr)
          Adds the string to the output media along with a end of line character
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JTextAreaForTMDOMWriter

public JTextAreaForTMDOMWriter(javax.swing.JTextArea inJTextArea)
Method Detail

print

public void print(java.lang.String inStr)
Adds the string to the output media

Specified by:
print in interface gov.lanl.Utility.TMDOMWriterOutputInterface
Parameters:
inStr - is the string to process

print

public void print(char inChar)
Adds the character to the output media

Specified by:
print in interface gov.lanl.Utility.TMDOMWriterOutputInterface
Parameters:
inChar - is the character to process

println

public void println(java.lang.String inStr)
Adds the string to the output media along with a end of line character

Specified by:
println in interface gov.lanl.Utility.TMDOMWriterOutputInterface
Parameters:
inStr - is the string to process

flush

public void flush()
Flushes the buffer if needed

Specified by:
flush in interface gov.lanl.Utility.TMDOMWriterOutputInterface


Copyright © 2000 University of California. All Rights Reserved.