NO_SUCH_PAGE, PAGE_EXISTS| Constructor and Description |
|---|
FormTablePrintable(FormTable table)
Creates a FormTablePrintable without title and intro.
|
FormTablePrintable(FormTable table,
String title,
String intro)
Creates a FormTablePrintable.
|
| Modifier and Type | Method and Description |
|---|---|
void |
doPrint()
Prints the table.
Asks the user for the printing dialog and prints the table. |
int |
print(Graphics g,
PageFormat pageFormat,
int pageIndex) |
public FormTablePrintable(FormTable table, String title, String intro)
table - the form tabletitle - the title to be printed on each pageintro - the intro to be printed on the first pagepublic FormTablePrintable(FormTable table)
table - the form tablepublic void doPrint()
public int print(Graphics g, PageFormat pageFormat, int pageIndex) throws PrinterException
print in interface PrintablePrinterExceptionCopyright © 2016 Krake Softwaretechnik. All rights reserved.