|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TableContainer
TableContainer is a container which maintains Table(s) as element(s). Table(s) can be added, removed and iterated in this container.
Table
,
TextDocument
,
SpreadsheetDocument
Method Summary | |
---|---|
Table |
addTable()
Add a new Table to this container. |
Table |
addTable(int numRows,
int numCols)
Add a new Table to this container with a specified row number and column number. |
Table.TableBuilder |
getTableBuilder()
Return the table builder of this document. |
Table |
getTableByName(String name)
Return an instance of table feature with the specific table name. |
OdfElement |
getTableContainerElement()
Get the ODF element which can have |
List<Table> |
getTableList()
Return a list of table features in this document. |
Method Detail |
---|
OdfElement getTableContainerElement()
Table addTable()
Table addTable(int numRows, int numCols)
The table will be inserted at the end of the tableContainer. An unique
table name will be given, you may set a custom table name using the
setTableName
method.
numRows
- the row numbernumCols
- the column number
Table
Table getTableByName(String name)
name
- of the table being searched for.
List<Table> getTableList()
Table.TableBuilder getTableBuilder()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |