public abstract class ListPage
extends java.lang.Object
implements java.awt.print.Printable
Modifier and Type | Field and Description |
---|---|
protected java.awt.Font |
header1 |
protected int |
header1FontSize |
protected int |
lineHeight |
protected java.awt.Font |
standard |
protected int |
standardFontSize |
protected int |
yPos |
Constructor and Description |
---|
ListPage() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
nextLine() |
int |
print(java.awt.Graphics g,
java.awt.print.PageFormat pf,
int pageIndex) |
protected void |
printHeader(java.awt.Graphics g) |
protected void |
printLines(java.awt.Graphics g) |
protected int standardFontSize
protected int header1FontSize
protected java.awt.Font header1
protected java.awt.Font standard
protected int lineHeight
protected int yPos
public int print(java.awt.Graphics g, java.awt.print.PageFormat pf, int pageIndex) throws java.awt.print.PrinterException
print
in interface java.awt.print.Printable
g
- pf
- pageIndex
- java.awt.print.PrinterException
protected void printHeader(java.awt.Graphics g)
g
- protected void printLines(java.awt.Graphics g)
g
- protected boolean nextLine()
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de