|
ReportCat 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface, defining a border that can handle a pagebreak. This interface is used by the BorderPrint which decorates a print with a border.
| Method Summary | |
PrintInsets |
getPrintInsets(Print print,
java.awt.Graphics g)
Returns the PrintInsets for a given print. |
void |
paint(Print print,
java.awt.Graphics g,
PrintInsets margins,
int x,
int y,
int width,
int height,
boolean topOpened,
boolean bottomOpened)
Paints the PrintBorder on the given graphics. |
| Method Detail |
public PrintInsets getPrintInsets(Print print,
java.awt.Graphics g)
PrintInsets for a given print.
print - The print that gets the border.g - The relevant graphics object.
public void paint(Print print,
java.awt.Graphics g,
PrintInsets margins,
int x,
int y,
int width,
int height,
boolean topOpened,
boolean bottomOpened)
PrintBorder on the given graphics.
print - The print that gets the border.g - The relevant graphics object to paint on.margins - The margins to be respected.x - The x of the upper left corner of the PrintBorder.y - The y of the upper left corner of the PrintBorder.width - The total with of the border.height - The total height of the border.topOpened - Specifies whether the top is opened (page break) or not.bottomOpened - Specifies whether the bottom is opened (page break) or not.
|
ReportCat 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||