|
ReportCat 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This strategy is the first step of the table cell size calculation algorithm. It calculates the minimum, preferred and maximum column widths for a table. It supposes, that the available width of the table is infinite. The second step is done by the ColumnWidthDistributor.
TablePrint
,
ColumnWidthDistributor
Method Summary | |
int[] |
getMaximumColumnWidths()
Returns (a clone of) the maximum column widths of the table. |
int[] |
getMinimumColumnWidths()
Returns (a clone of) the minimum column widths of the table. |
int[] |
getPreferredColumnWidths()
Returns (a clone of) the preferred column widths of the table. |
void |
initialize(TablePrint table,
java.awt.Graphics g)
Callback, that initializes this calculator with the given table and the relevant Graphics object. |
Method Detail |
public void initialize(TablePrint table, java.awt.Graphics g)
table
- The current table object.g
- The relevant graphics object.public int[] getMinimumColumnWidths()
public int[] getPreferredColumnWidths()
public int[] getMaximumColumnWidths()
|
ReportCat 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |