48 |
* The default implementation of {@link StyledDocument}. |
* The default implementation of {@link StyledDocument}. |
49 |
* |
* |
50 |
* The document is modeled as an {@link Element} tree, which has |
* The document is modeled as an {@link Element} tree, which has |
51 |
* a {@link SecionElement} as single root, which has one or more |
* a {@link SectionElement} as single root, which has one or more |
52 |
* {@link AbstractDocument.BranchElement}s as paragraph nodes |
* {@link AbstractDocument.BranchElement}s as paragraph nodes |
53 |
* and each paragraph node having one or more |
* and each paragraph node having one or more |
54 |
* {@link AbstractDocument.LeafElement}s as content nodes. |
* {@link AbstractDocument.LeafElement}s as content nodes. |
395 |
* |
* |
396 |
* @param offset the start offset of the fragment |
* @param offset the start offset of the fragment |
397 |
* @param length the length of the fragment |
* @param length the length of the fragment |
398 |
* @param attribute the text attributes to set |
* @param attributes the text attributes to set |
399 |
* @param replace if <code>true</code>, the attributes of the current |
* @param replace if <code>true</code>, the attributes of the current |
400 |
* selection are overridden, otherwise they are merged |
* selection are overridden, otherwise they are merged |
401 |
*/ |
*/ |
471 |
* |
* |
472 |
* @param offset the beginning of the fragment |
* @param offset the beginning of the fragment |
473 |
* @param length the length of the fragment |
* @param length the length of the fragment |
474 |
* @param attribute the text attributes to set |
* @param attributes the text attributes to set |
475 |
* @param replace if <code>true</code>, the attributes of the current |
* @param replace if <code>true</code>, the attributes of the current |
476 |
* selection are overridden, otherwise they are merged |
* selection are overridden, otherwise they are merged |
477 |
*/ |
*/ |