bookExamples.ch44Printing
Class PrintableLabel

java.lang.Object
  extended by bookExamples.ch44Printing.PrintableLabel
All Implemented Interfaces:
java.awt.print.Printable

public class PrintableLabel
extends java.lang.Object
implements java.awt.print.Printable


Field Summary
 
Fields inherited from interface java.awt.print.Printable
NO_SUCH_PAGE, PAGE_EXISTS
 
Constructor Summary
PrintableLabel(MailingLabelList v)
           
 
Method Summary
 int print(java.awt.Graphics gr, java.awt.print.PageFormat pageFormat, int page)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintableLabel

public PrintableLabel(MailingLabelList v)
Method Detail

print

public int print(java.awt.Graphics gr,
                 java.awt.print.PageFormat pageFormat,
                 int page)
          throws java.awt.print.PrinterException
Specified by:
print in interface java.awt.print.Printable
Throws:
java.awt.print.PrinterException