Overview | Package | Class | Use | Tree | Index | Help
| Rings Version 0.3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## threeD.io
Class JTextAreaPrintWriter

    java.lang.Object
      threeD.io.JTextAreaPrintWriter

public class JTextAreaPrintWriter
extends java.lang.Object

A JTextAreaPrintWriter object can be used as an interface for printing text into a JTextArea object.

Constructor Summary
`JTextAreaPrintWriter()` Constructs a new JTextAreaPrintWriter using a new default JTextArea object.
`JTextAreaPrintWriter(javax.swing.JTextArea textArea)` Constructs a new JTextAreaPrintWriter using the specified JTextArea object.

Method Summary
`javax.swing.JTextArea` | `getTextArea()` Returns the JTextArea object used by this JTextAreaPrintWriter.
`void` | `lessIndent()` Reduces the indent used for this JTextAreaPrintWriter object.
`void` | `moreIndent()` Increases the indent used for this JTextAreaPrintWriter object.
`void` | `print(java.lang.String s)` Appends the specified String to the JTextArea used by this JTextAreaPrintWriter.
`void` | `println()` Appends a new line character to the JTextArea used by this JTextAreaPrintWriter.
`void` | `println(java.lang.String s)` Appends the specified String, followed by a new line character, to the JTextArea used by this JTextAreaPrintWriter.
`void` | `setTextArea(javax.swing.JTextArea textArea)` Sets the JTextArea object used by this JTextAreaPrintWriter to the specified JTextArea object.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### JTextAreaPrintWriter

    public JTextAreaPrintWriter()

  Constructs a new JTextAreaPrintWriter using a new default JTextArea object.

### JTextAreaPrintWriter

    public JTextAreaPrintWriter(javax.swing.JTextArea textArea)

  Constructs a new JTextAreaPrintWriter using the specified JTextArea object.

Method Detail

### setTextArea

    public void setTextArea(javax.swing.JTextArea textArea)

  Sets the JTextArea object used by this JTextAreaPrintWriter to the specified JTextArea object.

### getTextArea

    public javax.swing.JTextArea getTextArea()

  Returns the JTextArea object used by this JTextAreaPrintWriter.

### moreIndent

    public void moreIndent()

  Increases the indent used for this JTextAreaPrintWriter object.

### lessIndent

    public void lessIndent()

  Reduces the indent used for this JTextAreaPrintWriter object.

### print

    public void print(java.lang.String s)

  Appends the specified String to the JTextArea used by this JTextAreaPrintWriter.

### println

    public void println(java.lang.String s)

  Appends the specified String, followed by a new line character, to the JTextArea used by this JTextAreaPrintWriter.

### println

    public void println()

  Appends a new line character to the JTextArea used by this JTextAreaPrintWriter.

Overview | Package | Class | Use | Tree | Index | Help
| Rings Version 0.3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2003-05 Mike Murray