addbk.print
Class LinePrinterPage
java.lang.Object
addbk.print.LinePrinterPage
- All Implemented Interfaces:
- java.awt.print.Printable
public class LinePrinterPage
- extends java.lang.Object
- implements java.awt.print.Printable
When printing the various strings for the page new lines within the string are ignored
Fields inherited from interface java.awt.print.Printable |
NO_SUCH_PAGE, PAGE_EXISTS |
Constructor Summary |
LinePrinterPage(java.util.ArrayList lines,
java.awt.Font f)
Creates a new instance of LinePrinterPage |
Method Summary |
int |
print(java.awt.Graphics g,
java.awt.print.PageFormat pageFormat,
int page)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinePrinterPage
public LinePrinterPage(java.util.ArrayList lines,
java.awt.Font f)
- Creates a new instance of LinePrinterPage
print
public int print(java.awt.Graphics g,
java.awt.print.PageFormat pageFormat,
int page)
- Specified by:
print
in interface java.awt.print.Printable