Example usage for Java com.lowagie.text Table fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | complete Indicates if the PdfPTable is complete once added to the document. |
Table(int columns, int rows) Constructs a Table with a certain number of columns and a certain number of Row s. | |
Table(int columns) Constructs a Table with a certain number of columns. | |
Table(Table t) Copy constructor (shallow copy). |
void | addCell(Cell cell) Adds a Cell to the Table . |
void | addCell(Phrase content) Adds a Cell to the Table . |
void | addCell(String content) Adds a Cell to the Table . |
void | addCell(Cell aCell, Point aLocation) Adds a Cell to the Table at a certain location. |
void | addCell(Phrase content, Point location) Adds a Cell to the Table . |
void | addCell(String content, Point location) Adds a Cell to the Table . |
void | addCell(Cell aCell, int row, int column) Adds a Cell to the Table at a certain row and column. |
void | deleteAllRows() Deletes all rows in this table. |
int | endHeaders() Marks the last row of the table headers. |
int | getAlignment() Gets the horizontal alignment. |
int | getBorder() Returns the exact type of the border. |
Color | getBorderColor() Gets the color of the border. |
float | getBorderWidth() Gets the borderwidth. |
Cell | getDefaultCell() Gets the default layout of the Table. |
int | getLastHeaderRow() Gets the last number of the rows that contain headers. |
float | getOffset() Gets the offset of this table. |
float | getPadding() Gets the cellpadding. |
float[] | getProportionalWidths() Gets the proportional widths of the columns in this Table . |
float | getSpacing() Gets the cellspacing. |
float | getWidth() Gets the table width (a percentage). |
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. |
boolean | isCellsFitPage() Checks if the cells of this Table have to fit a page. |
boolean | isTableFitsPage() Checks if this Table has to fit a page. |
Iterator | iterator() Gets an Iterator of all the Row s. |
void | setAlignment(int value) Sets the horizontal alignment. |
void | setAlignment(String alignment) Sets the alignment of this paragraph. |
void | setAutoFillEmptyCells(boolean aDoAutoFill) Enables/disables automatic insertion of empty cells before table is rendered. |
void | setBackgroundColor(Color backgroundColor) Sets the backgroundcolor of the rectangle. |
void | setBorder(int border) Enables/Disables the border on the specified sides. |
void | setBorderColor(Color borderColor) Sets the color of the border. |
void | setBorderWidth(float borderWidth) Sets the borderwidth of the table. |
void | setBorderWidthBottom(float borderWidthBottom) Sets the width of the bottom border. |
void | setBorderWidthLeft(float borderWidthLeft) Sets the width of the left border. |
void | setBorderWidthRight(float borderWidthRight) Sets the width of the right border. |
void | setBorderWidthTop(float borderWidthTop) Sets the width of the top border. |
void | setCellsFitPage(boolean fitPage) Allows you to control when a page break occurs. |
void | setGrayFill(float value) Sets the the background color to a grayscale value. |
void | setLastHeaderRow(int value) Sets the horizontal alignment. |
void | setLeft(float llx) Sets the lower left x-coordinate. |
void | setOffset(float offset) Sets the offset of this table. |
void | setPadding(float value) Sets the cellpadding. |
void | setSpacing(float value) Sets the cellspacing. |
void | setTableFitsPage(boolean fitPage) Allows you to control when a page break occurs. |
void | setUseVariableBorders(boolean useVariableBorders) Sets a parameter indicating if the rectangle has variable borders |
void | setWidth(float width) Sets the width of this table (in percentage of the available space). |
void | setWidths(float[] widths) Sets the widths of the different columns (percentages). |
void | setWidths(int[] widths) Sets the widths of the different columns (percentages). |