Package com.arbortext.epic.table
Interface TableSet
- All Superinterfaces:
TableObject
- All Known Implementing Classes:
TableSetImpl
A
TableSet is a collection of one or more
TableGrids, each of which is a rectangular array of
TableCells- Since:
- Epic 4.3
-
Field Summary
Fields inherited from interface com.arbortext.epic.table.TableObject
ABOVE, BELOW, EXAMINE_ALL_COLSPECS, EXAMINE_TFOOT_COLSPECS, EXAMINE_TGROUP_COLSPECS, EXAMINE_THEAD_COLSPECS, HORIZONTAL, INVALID_TYPE, LEFT, RIGHT, TABLE_CELL, TABLE_COLUMN, TABLE_GRID, TABLE_OBJECT_STORE, TABLE_ROW, TABLE_RULE, TABLE_SET, TABLE_TILEPLEX, VERTICAL -
Method Summary
Modifier and TypeMethodDescriptionaddGrid(int columns, int rows) Method overload which omits the last 2 parameters.Method overload which omits the last parameter.Adds an empty grid to the set.voiddeleteGrid(TableGrid grid) voidDelete the title for this table set.intThe number of grids in the set.getGrids()A list of all theTableGrids in theTableSet.Returns aRangethat selects all of the markup in the table.getTitle()The table's title (or caption) for table models that define one.grid(int gridindex) Returns a grid given its index.insertGrid(TableRectangle contents) Method overload which omits the last parameter.insertGrid(TableRectangle contents, TableGrid refGrid) Inserts a newTableGridinto theTableSet.voidThe table's title (or caption) for table models that define one.Methods inherited from interface com.arbortext.epic.table.TableObject
clearAttributes, deleteAttribute, deletePrivateColspecs, deleteSpanspecs, getAttribute, getDocument, getElement, getGrid, getModifiable, getSet, getTableModel, getToid, getType, minimizeAttributes, renameColspec, renameColumns, renameSpanspec, setAttribute
-
Method Details
-
getGridCount
int getGridCount()The number of grids in the set. -
getGrids
TableObjectStore getGrids()A list of all theTableGrids in theTableSet. -
insertGrid
Inserts a newTableGridinto theTableSet.- Parameters:
contents- The contents of this rectangle is copied into the new grid.refGrid- TheTableGridbefore which the new one should be inserted. If this isnull, the new grid is inserted at the end of theTableSet.- Returns:
- The
TableGridadded to the set. - Throws:
TableException- INVALID_PARAMETER_ERR: Raised if therefGridis not in this set, or if the table model does not allow grids to be added to a set.
-
insertGrid
Method overload which omits the last parameter.- Throws:
TableException
-
addGrid
TableGrid addGrid(int columns, int rows, TableGrid refGrid, boolean addBefore) throws TableException Adds an empty grid to the set.- Parameters:
columns- The number of columns in the new grid.rows- The number of rows in the new grid.refGrid- TheTableGridbefore or after which the new one should be inserted. If this isnull, the new grid is inserted at the end of theTableSet.addBefore- If omitted orfalse, the new grid is inserted afterrefGrid. If it istrue, the new grid is added beforerefGrid.- Returns:
- The new
TableGrid. - Throws:
TableException- INVALID_PARAMETER_ERR: Raised if therefGridis not in this set, or if the table model does not allow grids to be added to a set.
-
addGrid
Method overload which omits the last parameter.- Throws:
TableException
-
addGrid
Method overload which omits the last 2 parameters.- Throws:
TableException
-
deleteGrid
- Parameters:
grid- TheTableGridto be deleted from the set.- Throws:
TableException- INVALID_PARAMETER_ERR: Raised if the grid is not in this set, or if the grid cannot be deleted because it is the last grid in the set, or because the table model does not allow grids to be deleted.
-
grid
Returns a grid given its index. The first grid in the set is grid number 1. If no grid with this index exists, anullpointer is returned.- Parameters:
gridindex- The index of the grid to be returned. The first grid has index 1.- Returns:
-
getMarkupRange
Range getMarkupRange()Returns aRangethat selects all of the markup in the table. -
getTitle
String getTitle()The table's title (or caption) for table models that define one.- Throws:
TableException- OPERATION_FAILED_ERR: Raised if the insertion failed, or if the table model does not a title to be added to a set.- Since:
- Epic 5.2
-
setTitle
The table's title (or caption) for table models that define one.- Throws:
TableException- OPERATION_FAILED_ERR: Raised if the insertion failed, or if the table model does not a title to be added to a set.- Since:
- Epic 5.2
-
deleteTitle
Delete the title for this table set.- Throws:
TableException- OPERATION_FAILED_ERR: Raised if deletion failed, or if there is no table title to be deleted.- Since:
- Epic 5.2
-