addbk.print
Class PrintableLabel
java.lang.Object
   addbk.print.PrintableLabel
addbk.print.PrintableLabel
- All Implemented Interfaces: 
- java.awt.print.Printable
- public class PrintableLabel 
- extends java.lang.Object- implements java.awt.print.Printable
 
| Fields inherited from interface java.awt.print.Printable | 
| NO_SUCH_PAGE, PAGE_EXISTS | 
 
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
PrintableLabel
public PrintableLabel(AddressDataBase adb,
                      java.awt.Font font)
mm2Points
public int mm2Points(int mm)
- 
 
- 
 
getLabelLocationInPoints
public java.awt.Point getLabelLocationInPoints(int row,
                                               int column)
- 
 
- 
- Parameters:
- row- - number of row, starting at zero
- column- - number of column, starting at zero
- Returns:
- upper left corner of label
 
print
public int print(java.awt.Graphics gr,
                 java.awt.print.PageFormat pageFormat,
                 int page)
          throws java.awt.print.PrinterException
- 
- Specified by:
- printin interface- java.awt.print.Printable
 
- 
- Throws:
- java.awt.print.PrinterException