|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.odftoolkit.simple.table.AbstractTableContainer
public abstract class AbstractTableContainer
AbstractTableContainer is an abstract implementation of the TableContainer interface, with a default implementation for every method defined in TableContainer , except getTableContainerElement(). Each subclass must implement the abstract method getTableContainerElement().
| Constructor Summary | |
|---|---|
protected |
AbstractTableContainer()
|
| 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 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.odftoolkit.simple.table.TableContainer |
|---|
getTableContainerElement |
| Constructor Detail |
|---|
protected AbstractTableContainer()
| Method Detail |
|---|
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 TableContainernumRows - the row numbernumCols - the column number
Tablepublic Table getTableByName(String name)
getTableByName in interface TableContainername - of the table beeing searched for.
public List<Table> getTableList()
getTableList in interface TableContainerpublic Table.TableBuilder getTableBuilder()
getTableBuilder in interface TableContainer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||