public class IlvPrintableTable extends IlvTransformedPrintable
JTable
.NO_SUCH_PAGE, PAGE_EXISTS
Constructor and Description |
---|
IlvPrintableTable(JTable table,
IlvUnit.Rectangle area,
int col,
int row,
double scale)
Creates a
PrintableTable to print a specified portion
of a given JTable . |
IlvPrintableTable(JTable table,
IlvUnit.Rectangle area,
int fromCol,
int toCol,
int fromRow,
int toRow)
Creates a
PrintableTable to print a specified portion
of a given JTable . |
computeTransform, getTransform, print, setTransform
getComponent, getPrintableArea, setComponent, setPrintableArea
getPage
public IlvPrintableTable(JTable table, IlvUnit.Rectangle area, int col, int row, double scale)
PrintableTable
to print a specified portion
of a given JTable
. This constructor creates an isotropic
transformation.table
- The JTable
to be printed.area
- The rectangular area, in paper coordinates, defining where the
table is printed.col
- The first column of the table to be printed.row
- The first row of the table to be printed.scale
- Defines the scale applied to the Graphics
.public IlvPrintableTable(JTable table, IlvUnit.Rectangle area, int fromCol, int toCol, int fromRow, int toRow)
PrintableTable
to print a specified portion
of a given JTable
. This constructor calculates the
transformation, which is not necessarily isotropic.table
- The JTable
to be printed.area
- The rectangular area, in paper coordinates, defining where the
table is printed.fromCol
- The first column of the table to be printed.toCol
- The last column of the table to be printed.fromRow
- The first row of the table to be printed.toRow
- The last row of the table to be printed.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.