|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.text.AbstractDocument | +--javax.swing.text.PlainDocument | +--com.glaivestone.javax.swing.PlainTextDocument | +--com.glaivestone.toolbox.mv.text.swing.PlainTextPrintTargetDocument
A Swing document model which holds plain (un-attributed) text and supports print stream/print target append operations.
Nested Class Summary |
Nested classes inherited from class javax.swing.text.AbstractDocument |
javax.swing.text.AbstractDocument.AbstractElement, javax.swing.text.AbstractDocument.AttributeContext, javax.swing.text.AbstractDocument.BranchElement, javax.swing.text.AbstractDocument.Content, javax.swing.text.AbstractDocument.DefaultDocumentEvent, javax.swing.text.AbstractDocument.ElementEdit, javax.swing.text.AbstractDocument.LeafElement |
Field Summary |
Fields inherited from class com.glaivestone.javax.swing.PlainTextDocument |
REPORT_IMPOSSIBLE_ERRORS |
Fields inherited from class javax.swing.text.PlainDocument |
lineLimitAttribute, tabSizeAttribute |
Fields inherited from class javax.swing.text.AbstractDocument |
BidiElementName, ContentElementName, ElementNameAttribute, ParagraphElementName, SectionElementName |
Fields inherited from interface javax.swing.text.Document |
StreamDescriptionProperty, TitleProperty |
Constructor Summary | |
PlainTextPrintTargetDocument()
Creates a new plain text document holder. |
|
PlainTextPrintTargetDocument(java.lang.String aString)
Creates a new plain text document holder containing the specified text. |
Method Summary | |
java.io.PrintStream |
getPrintStream()
Answer the print stream which appends text to this document. |
java.io.PrintWriter |
getPrintWriter()
Answer the print writer which appends text to this document. |
Methods inherited from class com.glaivestone.javax.swing.PlainTextDocument |
appendText, getText, setText |
Methods inherited from class javax.swing.text.PlainDocument |
getDefaultRootElement, getParagraphElement, insertString |
Methods inherited from class javax.swing.text.AbstractDocument |
addDocumentListener, addUndoableEditListener, createPosition, dump, getAsynchronousLoadPriority, getBidiRootElement, getDocumentFilter, getDocumentListeners, getDocumentProperties, getEndPosition, getLength, getListeners, getProperty, getRootElements, getStartPosition, getText, getText, getUndoableEditListeners, putProperty, readLock, readUnlock, remove, removeDocumentListener, removeUndoableEditListener, render, replace, setAsynchronousLoadPriority, setDocumentFilter, setDocumentProperties |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PlainTextPrintTargetDocument()
public PlainTextPrintTargetDocument(java.lang.String aString)
Method Detail |
public java.io.PrintStream getPrintStream()
public java.io.PrintWriter getPrintWriter()
|
GFL 1.1 API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |