| javax.swing.text.PlainDocument interact.OutputDocument
OutputDocument | public class OutputDocument extends PlainDocument (Code) | | This is a Document model used by IOTextArea. It maintains an
output position where output should be inserted. The user can type
one line ahead at the bottom of the document as output is coming out.
When the user presses return, his input is sent to a Writer.
|
OutputDocument | public OutputDocument()(Code) | | |
getOutputOffset | public int getOutputOffset()(Code) | | Offset in document where next output will go. *
|
handleNewline | public int handleNewline(Writer w, int dot)(Code) | | Returns where caret should go. *
|
insertOutput | public synchronized void insertOutput(String text, AttributeSet as)(Code) | | Use this to insert text at the output Position. *
|
|
|