|
Oracle Application Server TopLink API Reference 10g (9.0.4) B10491-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.io.OutputStream
|
+--oracle.toplink.tools.beans.TextAreaOutputStream
This class can be used to wrapper a window as a stream.
| Constructor Summary | |
TextAreaOutputStream(javax.swing.JTextArea text) | |
TextAreaOutputStream(javax.swing.JTextArea text, boolean shouldAutoScroll) | |
| Method Summary | |
javax.swing.JTextArea |
getText() |
void |
scrollToEnd()Append the char to the text area. |
void |
setShouldAutoScroll(boolean shouldAutoScroll)JDK 1.2.2 has a auto scroll problem when threads are used. |
void |
setText(javax.swing.JTextArea text) |
boolean |
shouldAutoScroll()JDK 1.2.2 has a auto scroll problem when threads are used. |
void |
write(byte[] bytes)Append the char to the text area. |
void |
write(byte[] bytes, int offset, int length)Append the char to the text area. |
void |
write(int b)Append the char to the text area. |
| Methods inherited from class java.io.OutputStream |
close, flush |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TextAreaOutputStream(javax.swing.JTextArea text)
public TextAreaOutputStream(javax.swing.JTextArea text,
boolean shouldAutoScroll)
| Method Detail |
public javax.swing.JTextArea getText()
public void scrollToEnd()
public void setShouldAutoScroll(boolean shouldAutoScroll)
public void setText(javax.swing.JTextArea text)
public boolean shouldAutoScroll()
public void write(byte[] bytes)
write in class java.io.OutputStream
public void write(byte[] bytes,
int offset,
int length)
write in class java.io.OutputStreampublic void write(int b)
write in class java.io.OutputStream
|
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||