|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PrintableTableModel
Used to provide table data for printing
Method Summary | |
---|---|
CellPrinter |
getCellPrinter(int column)
Get the cell printer to be used for the table body |
CellPrinter |
getHeaderPrinter(int column)
Get the cell printer to be used for the table header |
String |
getTitle()
Get the title for the document |
Object |
headerForColumn(int i)
Get the header for a column |
boolean |
hideColumn(int i)
Allows some columns to be skipped when printing |
int |
numberOfColumns()
Total number of columns (including hidden columns) |
int |
numberOfRows()
Total number of rows |
Object |
valueAt(int i,
int j)
Get the data to be printed in a certain cell. |
Method Detail |
---|
CellPrinter getCellPrinter(int column)
column
- The column index
CellPrinter getHeaderPrinter(int column)
column
- The column index
String getTitle()
Object headerForColumn(int i)
i
- The column index.
boolean hideColumn(int i)
i
- The column index
true
if this column should be skippedint numberOfColumns()
int numberOfRows()
Object valueAt(int i, int j)
i
- The column indexj
- The row index
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |