|
ReportCat 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectli.netcat.print.table.DefaultRowHeightCalculator
Default implementation of a RowHeightCalculator
that uses the table cell renderers to calculate
the heights of the rows of the table.
Constructor Summary | |
DefaultRowHeightCalculator()
|
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultRowHeightCalculator()
Method Detail |
public void initialize(TablePrint table, java.awt.Graphics g, int[] columnWidths)
RowHeightCalculator
initialize
in interface RowHeightCalculator
table
- The current table object.g
- The relevant graphics object.columnWidths
- The final widths of the table columns.public int getHeaderHeight()
RowHeightCalculator
getHeaderHeight
in interface RowHeightCalculator
public int getFooterHeight()
RowHeightCalculator
getFooterHeight
in interface RowHeightCalculator
public int[] getRowHeights()
RowHeightCalculator
getRowHeights
in interface RowHeightCalculator
|
ReportCat 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |