edu.rice.cs.drjava.ui
Class ErrorPanel.ErrorDocument
java.lang.Object
javax.swing.text.AbstractDocument
javax.swing.text.DefaultStyledDocument
edu.rice.cs.util.text.SwingDocument
edu.rice.cs.drjava.ui.ErrorPanel.ErrorDocument
- All Implemented Interfaces:
- AbstractDocumentInterface, EditDocumentInterface, Serializable, Document, StyledDocument
- Enclosing class:
- ErrorPanel
public class ErrorPanel.ErrorDocument
- extends SwingDocument
- See Also:
- Serialized Form
| Methods inherited from class edu.rice.cs.util.text.SwingDocument |
_getText, addColoring, append, append, append, clear, createUnwrappedPosition, forceInsertText, forceRemoveText, getDefaultStyle, getDocStyle, getDocText, getEditCondition, getText, insertString, insertText, remove, removeText, setDocStyle, setEditCondition |
| Methods inherited from class javax.swing.text.DefaultStyledDocument |
addDocumentListener, addStyle, create, createDefaultRoot, getBackground, getCharacterElement, getDefaultRootElement, getFont, getForeground, getLogicalStyle, getParagraphElement, getStyle, getStyleNames, insert, insertUpdate, removeDocumentListener, removeStyle, removeUpdate, setCharacterAttributes, setLogicalStyle, setParagraphAttributes, styleChanged |
| Methods inherited from class javax.swing.text.AbstractDocument |
addUndoableEditListener, createBranchElement, createLeafElement, createPosition, dump, fireChangedUpdate, fireInsertUpdate, fireRemoveUpdate, fireUndoableEditUpdate, getAsynchronousLoadPriority, getAttributeContext, getBidiRootElement, getContent, getCurrentWriter, getDocumentFilter, getDocumentListeners, getDocumentProperties, getEndPosition, getLength, getListeners, getProperty, getRootElements, getStartPosition, getText, getText, getUndoableEditListeners, postRemoveUpdate, putProperty, readLock, readUnlock, removeUndoableEditListener, render, replace, setAsynchronousLoadPriority, setDocumentFilter, setDocumentProperties, writeLock, writeUnlock |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.swing.text.Document |
addUndoableEditListener, createPosition, getEndPosition, getLength, getProperty, getRootElements, getStartPosition, getText, getText, putProperty, removeUndoableEditListener, render |
_book
protected volatile DrJavaBook _book
_title
protected final String _title
ErrorPanel.ErrorDocument
public ErrorPanel.ErrorDocument(String t)
getPageable
public Pageable getPageable()
throws IllegalStateException
- Description copied from interface:
EditDocumentInterface
- Returns the Pageable object for printing.
- Specified by:
getPageable in interface EditDocumentInterface- Overrides:
getPageable in class SwingDocument
- Returns:
- A Pageable representing this document.
- Throws:
IllegalStateException
preparePrintJob
public void preparePrintJob()
print
public void print()
- Description copied from interface:
EditDocumentInterface
- Prints the given console document
- Specified by:
print in interface EditDocumentInterface- Overrides:
print in class SwingDocument
cleanUpPrintJob
public void cleanUpPrintJob()