Working with sections in Java™ classes
To access a section in a rich text item, use the RichTextNavigator methods in conjunction with the type RichTextItem.RTELEM_TYPE_SECTION.
Once you access a section, the RichTextSection class lets you remove the section and use the following properties:
| Property |
Data type |
Description |
|---|---|---|
| Color of the section bar. Use setBarColor to set the color of the section bar. |
||
| boolean |
true if the section is expanded. |
|
| String |
Title of the section. |
|
| Style of the section title. Use setTitleStyle to set the title style of the section bar. |
To create a section in a rich text item, use beginSection and endSection in RichTextItem.