|
ReportCat 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Calculates the row heights of a table, given the column widths. This strategy is the second step of the table cell size calculation algorithm. It calculates the height of the table rows using the given column widths. It may use the preferred height of the cell renderers and other attributes of the table to calculate the result. The first step of the calculation is done by the ColumnWidthCalculator and the second step is done by the ColumnWidthDistributor.
TablePrint
,
ColumnWidthCalculator
,
ColumnWidthDistributor
Method Summary | |
int |
getFooterHeight()
Returns the final height of the table footer. |
int |
getHeaderHeight()
Returns the final height of the table header. |
int[] |
getRowHeights()
Returns the final height of the rows of the table. |
void |
initialize(TablePrint table,
java.awt.Graphics g,
int[] columnWidths)
Callback, that initializes this calculator with the given table, the relevant Graphics object and the given columnWidths. |
Method Detail |
public void initialize(TablePrint table, java.awt.Graphics g, int[] columnWidths)
table
- The current table object.g
- The relevant graphics object.columnWidths
- The final widths of the table columns.public int getHeaderHeight()
public int getFooterHeight()
public int[] getRowHeights()
|
ReportCat 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |