| |
|
| java.lang.Object com.lowagie.text.Rectangle com.lowagie.text.pdf.PdfTable
Constructor Summary | |
| PdfTable(Table table, float left, float right, float top, boolean supportUpdateRowAdditions) Constructs a PdfTable -object. |
Method Summary | |
final float | cellpadding() Returns the cellpadding of the table. | final float | cellspacing() Returns the cellspacing of the table. | int | columns() Returns the number of columns of the table. | ArrayList | getCells() Returns the arraylist with the cells of the table. | ArrayList | getHeaderCells() Returns the arraylist with the cells of the table header. | public float | getOffset() Gets the offset of this table. | boolean | hasHeader() Checks if there is a table header. | final public boolean | hasToFitPageCells() Checks if the cells of this Table have to fit a page. | final public boolean | hasToFitPageTable() Checks if this Table has to fit a page. | int | rows() | public int | type() | void | updateRowAdditions() Updates the table row additions in the underlying table object and deletes all table rows,
in order to preserve memory and detect future row additions. |
positions | protected float[] positions(Code) | | Cached column widths.
|
table | protected Table table(Code) | | Original table used to build this object
|
PdfTable | PdfTable(Table table, float left, float right, float top, boolean supportUpdateRowAdditions)(Code) | | Constructs a PdfTable -object.
Parameters: table - a Table Parameters: left - the left border on the page Parameters: right - the right border on the page Parameters: top - the start position of the top of the table Parameters: supportUpdateRowAdditions - if true, table rows will be deleted after building the PdfTable table, in order to preserve memory and detect future row additions |
cellpadding | final float cellpadding()(Code) | | Returns the cellpadding of the table.
the cellpadding |
cellspacing | final float cellspacing()(Code) | | Returns the cellspacing of the table.
the cellspacing |
columns | int columns()(Code) | | Returns the number of columns of the table.
the number of columns |
getCells | ArrayList getCells()(Code) | | Returns the arraylist with the cells of the table.
an ArrayList |
getHeaderCells | ArrayList getHeaderCells()(Code) | | Returns the arraylist with the cells of the table header.
an ArrayList |
getOffset | public float getOffset()(Code) | | Gets the offset of this table.
the space between this table and the previous element. |
hasHeader | boolean hasHeader()(Code) | | Checks if there is a table header.
an ArrayList |
hasToFitPageCells | final public boolean hasToFitPageCells()(Code) | | Checks if the cells of this Table have to fit a page.
true if the cells may not be split |
hasToFitPageTable | final public boolean hasToFitPageTable()(Code) | | Checks if this Table has to fit a page.
true if the table may not be split |
rows | int rows()(Code) | | Get the number of rows
|
updateRowAdditions | void updateRowAdditions()(Code) | | Updates the table row additions in the underlying table object and deletes all table rows,
in order to preserve memory and detect future row additions.
Pre-requisite: the object must have been built with the parameter supportUpdateRowAdditions equals to true.
|
|
|
|