|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.j3d.threeD.io.JTextAreaPrintWriter
public class JTextAreaPrintWriter
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(JTextArea textArea)
Constructs a new JTextAreaPrintWriter using the specified JTextArea object. |
|
| Method Summary | |
|---|---|
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(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(String s)
Appends the specified String, followed by a new line character, to the JTextArea used by this JTextAreaPrintWriter. |
void |
setTextArea(JTextArea textArea)
Sets the JTextArea object used by this JTextAreaPrintWriter to the specified JTextArea object. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JTextAreaPrintWriter()
public JTextAreaPrintWriter(JTextArea textArea)
| Method Detail |
|---|
public void setTextArea(JTextArea textArea)
public JTextArea getTextArea()
public void moreIndent()
moreIndent in interface PrintWriterpublic void lessIndent()
lessIndent in interface PrintWriterpublic void print(String s)
print in interface PrintWriterpublic void println(String s)
println in interface PrintWriterpublic void println()
println in interface PrintWriter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||