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. Constructs a styled document. Constructs a styled document with the default content storage implementation and a shared set of styles.