org.odftoolkit.simple.table
public abstract class AbstractTableContainer extends Object implements TableContainer
Modifier | Constructor and Description |
---|---|
protected |
AbstractTableContainer() |
Modifier and Type | Method and Description |
---|---|
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 container.
|
Table |
getTableByName(String name)
Return an instance of table feature with the specific table name.
|
List<Table> |
getTableList()
Return a list of table features in this container.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTableContainerElement
public Table addTable()
addTable
in interface TableContainer
public 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.
addTable
in interface TableContainer
numRows
- the row numbernumCols
- the column numberTable
public Table getTableByName(String name)
getTableByName
in interface TableContainer
name
- of the table beeing searched for.public List<Table> getTableList()
getTableList
in interface TableContainer
public Table.TableBuilder getTableBuilder()
getTableBuilder
in interface TableContainer
Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.