| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.Writer
jess.awt.TextAreaWriter
A simple Writer, suitable for constructing a PrintWriter, which uses a TextArea as its output. This class is a convenient way to write a GUI in which Jess prints its output to a text widget. Contents are kept to a maximum of 32000 characters, assuming that no other code appends to this TextArea.
 (C)2006 Sandia National Laboratories
JTextAreaWriter, 
Serialized Form| Field Summary | 
| Fields inherited from class java.io.Writer | 
| lock | 
| Constructor Summary | |
| TextAreaWriter(java.awt.TextArea area)Call this with an already constructed TextArea object, which you can put wherever you'd like. | |
| Method Summary | |
|  void | clear() | 
|  void | close()Does nothing | 
|  void | flush()Flushes pending output to the TextArea. | 
|  void | write(char[] b,
      int off,
      int len)Writes a portion of an array of characters to the TextArea. | 
| Methods inherited from class java.io.Writer | 
| write, write, write, write | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public TextAreaWriter(java.awt.TextArea area)
area - The text area| Method Detail | 
public void clear()
public void close()
public void flush()
public void write(char[] b,
                  int off,
                  int len)
b - The array of charactersoff - The first character in the array to writelen - The number of characters form the array to writeflush()| 
 | © 2007 Sandia Corporation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||