Gets a character element based on a position. Inserts new elements in bulk. Updates document structure as a result of text insertion. Removes a named style previously added to the document. Updates document structure as a result of text removal.
Sets attributes for some part of the document.
Sets the logical style to use for the paragraph at the given position. Sets attributes for a paragraph. Creates a change event for the whole document and propagates it to the listeners. Methods inherited from class javax.swing.text. The default size of the initial content buffer.