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.
Methods inherited from class com.sun.java.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. This is useful to allow parsing with the document in an unlocked state and prepare an element structure modification.