Example usage for Java javax.swing.text PlainDocument fields, constructors, methods, implement or subclass
The text is from its open source code.
String | tabSizeAttribute Name of the attribute that specifies the tab size for tabs contained in the content. |
PlainDocument() Constructs a plain text document. |
void | addDocumentListener(DocumentListener listener) Adds a document listener for notification of any changes. |
Element | getParagraphElement(int pos) Get the paragraph element containing the given position. |
String | getText(int offset, int length) Gets a sequence of text from the document. |