Package ca.cgjennings.ui
Interface NestingDocument
-
- All Superinterfaces:
javax.swing.text.Document
- All Known Implementing Classes:
AutocompletionDocument
public interface NestingDocument extends javax.swing.text.Document
This interface should be implemented byDocument
s 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 agetDocument
method 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.Document
getDocument()
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
-
-