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