Package ca.cgjennings.ui
Interface NestingDocument
-
- All Superinterfaces:
javax.swing.text.Document
- All Known Implementing Classes:
AutocompletionDocument
public interface NestingDocument extends javax.swing.text.DocumentThis interface should be implemented byDocuments that wrap around other documents to modify their basic functionality. (Such wrapping can be used to simulate the effects of multiple inheritence.) The interface specifies agetDocumentmethod that allows nesting-aware code to access the document(s) being wrapped.- Author:
- Chris Jennings
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.swing.text.DocumentgetDocument()Return the document that this document is wrapped around.-
Methods inherited from interface javax.swing.text.Document
addDocumentListener, addUndoableEditListener, createPosition, getDefaultRootElement, getEndPosition, getLength, getProperty, getRootElements, getStartPosition, getText, getText, insertString, putProperty, remove, removeDocumentListener, removeUndoableEditListener, render
-
-