Method Summary |
|
public String | absWidth() Gets the table width (in pixels). |
public void | addCell(Cell aCell, int row, int column) Adds a Cell to the Table at a certain row and column. |
public void | addCell(Cell aCell, Point aLocation) Adds a Cell to the Table at a certain location. |
public void | addCell(Cell cell) Adds a Cell to the Table . |
public void | addCell(Phrase content) Adds a Cell to the Table . |
public void | addCell(Phrase content, Point location) Adds a Cell to the Table . |
public void | addCell(String content) Adds a Cell to the Table . |
public void | addCell(String content, Point location) Adds a Cell to the Table . |
public void | addColumns(int aColumns) Gives you the posibility to add columns. |
public int | alignment() Gets the horizontal alignment. |
public float | cellpadding() Gets the cellpadding. |
public float | cellspacing() Gets the cellspacing. |
public int | columns() Gets the number of columns. |
public void | complete() |
public PdfPTable | createPdfPTable() Create a PdfPTable based on this Table object. |
public void | deleteAllRows() Deletes all rows in this table. |
public void | deleteColumn(int column) Deletes a column in this table. |
public boolean | deleteLastRow() Deletes the last row in this table. |
public boolean | deleteRow(int row) Deletes a row. |
public int | endHeaders() Marks the last row of the table headers. |
public int | getAlignment() Gets the horizontal alignment. |
public ArrayList | getChunks() Gets all the chunks in this element. |
public int | getColumns() Gets the number of columns. |
public Cell | getDefaultLayout() Gets the default layout of the Table. |
public Dimension | getDimension() |
public int | getLastHeaderRow() Gets the last number of the rows that contain headers. |
public float | getOffset() Gets the offset of this table. |
public float | getPadding() Gets the cellpadding. |
public float[] | getProportionalWidths() Gets the proportional widths of the columns in this Table . |
public float | getSpacing() Gets the cellspacing. |
public float | getWidth() Gets the table width (a percentage). |
public float[] | getWidths(float left, float totalWidth) Gets an array with the positions of the borders between every column. |
public void | insertTable(Table aTable) To put a table within the existing table at the current position
generateTable will of course re-arrange the widths of the columns. |
public void | insertTable(Table aTable, int row, int column) To put a table within the existing table at the given position
generateTable will of course re-arrange the widths of the columns. |
public void | insertTable(Table aTable, Point aLocation) To put a table within the existing table at the given position
generateTable will of course re-arrange the widths of the columns. |
public boolean | isCellsFitPage() Checks if the cells of this Table have to fit a page. |
public boolean | isConvert2pdfptable() Method to check if the Table should be converted to a PdfPTable or not. |
public boolean | isLocked() |
public boolean | isTableFitsPage() Checks if this Table has to fit a page. |
public Iterator | iterator() Gets an Iterator of all the Row s. |
public int | lastHeaderRow() Gets the last number of the rows that contain headers. |
public boolean | process(ElementListener listener) Processes the element by adding it (or the different parts) to an
ElementListener . |
public void | setAbsWidth(String width) Sets the width of this table (in percentage of the available space). |
public void | setAlignment(int value) Sets the horizontal alignment. |
public void | setAlignment(String alignment) Sets the alignment of this paragraph. |
public void | setAutoFillEmptyCells(boolean aDoAutoFill) Enables/disables automatic insertion of empty cells before table is rendered. |
public void | setCellsFitPage(boolean fitPage) Allows you to control when a page break occurs. |
public void | setConvert2pdfptable(boolean convert2pdfptable) If set to true, iText will try to convert the Table to a PdfPTable. |
public void | setDefaultCellBackgroundColor(Color color) Changes the backgroundcolor in the default layout of the Cell s
added with method addCell(String content) . |
public void | setDefaultCellBorder(int value) Changes the border in the default layout of the Cell s
added with method addCell(String content) . |
public void | setDefaultCellBorderColor(Color color) Changes the bordercolor in the default layout of the Cell s
added with method addCell(String content) . |
public void | setDefaultCellBorderWidth(float value) Changes the width of the borders in the default layout of the Cell s
added with method addCell(String content) . |
public void | setDefaultCellGrayFill(float value) Changes the grayfill in the default layout of the Cell s
added with method addCell(String content) . |
public void | setDefaultColspan(int value) Changes the colspan in the default layout of the Cell s
added with method addCell(String content) . |
public void | setDefaultHorizontalAlignment(int value) Changes the horizontalAlignment in the default layout of the Cell s
added with method addCell(String content) . |
public void | setDefaultLayout(Cell value) |
public void | setDefaultRowspan(int value) Changes the rowspan in the default layout of the Cell s
added with method addCell(String content) . |
public void | setDefaultVerticalAlignment(int value) Changes the verticalAlignment in the default layout of the Cell s
added with method addCell(String content) . |
public void | setLastHeaderRow(int value) Sets the horizontal alignment. |
public void | setLocked(boolean locked) |
public void | setOffset(float offset) Sets the offset of this table. |
public void | setPadding(float value) Sets the cellpadding. |
public void | setSpaceBetweenCells(float value) Sets the cellspacing. |
public void | setSpaceInsideCell(float value) Sets the cellpadding. |
public void | setSpacing(float value) Sets the cellspacing. |
public void | setTableFitsPage(boolean fitPage) Allows you to control when a page break occurs. |
public void | setWidth(float width) Sets the width of this table (in percentage of the available space). |
public void | setWidths(float[] widths) Sets the widths of the different columns (percentages). |
public void | setWidths(int[] widths) Sets the widths of the different columns (percentages). |
public int | size() Gets the number of rows in this Table . |
public int | type() Gets the type of the text element. |
public float | widthPercentage() Gets the table width (a percentage). |