JAVA/CORBA CLASSES


Working with tables in Java classes
To access a table in a rich text item, use the RichTextNavigator methods in conjunction with the type RichTextItem.RTELEM_TYPE_TABLE and RichTextItem.RTELEM_TYPE_TABLECELL. To access the cells in a table, use the RichTextNavigator methods in conjunction with the type RichTextItem.RTELEM_TYPE_TABLECELL. To create a table, use the appendTable method in RichTextItem. After creating a table, you must navigate in the rich text item to access it.

Once you access a table, the NotesRichTextTable class lets you add rows, remove rows, remove the table, and use the following properties:
PropertyData typeDescription
getAlternateColorColorObjectAlternate color style. Set this property with setAlternateColor. Use with Style.
getColorColorObjectPrimary color style. Set this property with setColor. Use with Style.
getColumnCountintNumber of columns in the table.
isRightToLeft and setRightToLeftbooleanTrue if the reading order of the table is right to left.
getRowCountintNumber of rows in the table.
getRowLabels and setRowLabelsString vectorLabels, one per row, that appear in tabbed tables.
getStyle and setStyleintTable color style. Use with Color and AlternateColor.