Deprecated API


Contents
Deprecated Classes
net.sf.paperclips.DebugPrint
          Reminder to remove references to DebugPrint when you're done debugging a print job. 
net.sf.paperclips.FactoryPrint
          This class will be removed in a future release. 
net.sf.paperclips.PrintUtil
          Create PrintJob instances, and print them with the PaperClips.print(PrintJob, PrinterData) method. 
 

Deprecated Fields
net.sf.paperclips.AbstractPiece.gc
          use the local GC in the PrintPiece.paint(GC, int, int) method instead. 
 

Deprecated Methods
net.sf.paperclips.GridPrint.add(Print, int, int)
          Use GridPrint.add(int, Print, int) instead. GridPrint's add method signatures have been rearranged to coincide with the GridColumn column spec format: [alignment]:content:[colspan] 
net.sf.paperclips.GridPrint.addFooter(Print, int, int)
          Use GridPrint.addFooter(int, Print, int) instead. GridPrint's addFooter method signatures have been rearranged to coincide with the GridColumn column spec format: [alignment]:content:[colspan] 
net.sf.paperclips.GridPrint.addHeader(Print, int, int)
          Use GridPrint.addHeader(int, Print, int) instead. GridPrint's addHeader method signatures have been rearranged to coincide with the GridColumn column spec format: [alignment]:content:[colspan] 
net.sf.paperclips.TextPrint.getAlign()
          Use TextPrint.getAlignment() instead. 
net.sf.paperclips.GridPrint.getBodyBackground()
          this functionality has been moved to DefaultGridLook. 
net.sf.paperclips.GridPrint.getCellBorder()
          this functionality has been moved to DefaultGridLook. 
net.sf.paperclips.GridPrint.getFooterBackground()
          this functionality has been moved to DefualtGridLook. 
net.sf.paperclips.GridPrint.getHeaderBackground()
          this functionality has been moved to DefaultGridLook. 
net.sf.paperclips.GridPrint.getHorizontalSpacing()
          this functionality has been moved to DefaultGridLook. 
net.sf.paperclips.TextPrint.getRGB()
          Use TextPrint.getForeground() instead. 
net.sf.paperclips.GridPrint.getVerticalSpacing()
          this functionality has been moved to DefaultGridLook. 
net.sf.paperclips.PrintUtil.print(Print)
          use PaperClips.print(PrintJob, PrinterData) instead. 
net.sf.paperclips.PrintUtil.print(Print, int)
          use PaperClips.print(PrintJob, PrinterData) instead. 
net.sf.paperclips.PrintUtil.print(String, Print)
          Use PaperClips.print(PrintJob, PrinterData) instead. 
net.sf.paperclips.PrintUtil.print(String, Print, int)
          Use PaperClips.print(PrintJob, PrinterData) instead. 
net.sf.paperclips.PrintUtil.printTo(Printer, Print)
          Use PaperClips.print(PrintJob, PrinterData) instead. 
net.sf.paperclips.PrintUtil.printTo(Printer, Print, int)
          Use PaperClips.print(PrintJob, PrinterData) instead. 
net.sf.paperclips.PrintUtil.printTo(String, PrinterData, Print)
          Use PaperClips.print(PrintJob, PrinterData) instead. 
net.sf.paperclips.PrintUtil.printTo(String, PrinterData, Print, int)
          Use PaperClips.print(PrintJob, PrinterData) instead. 
net.sf.paperclips.PrintUtil.printTo(String, Printer, Print)
          Use PaperClips.print(PrintJob, PrinterData) instead. 
net.sf.paperclips.PrintUtil.printTo(String, Printer, Print, int)
          Use PaperClips.print(PrintJob, PrinterData) instead. 
net.sf.paperclips.TextPrint.setAlign(int)
          Use TextPrint.setAlignment(int) instead. 
net.sf.paperclips.GridPrint.setBodyBackground(RGB)
          this functionality has been moved to DefaultGridLook. Set a DefaultGridLook on the grid, then call setBodyBackground on the grid look. 
net.sf.paperclips.GridPrint.setCellBorder(Border)
          this functionality has been moved to DefaultGridLook. Set a DefaultGridLook on the grid, then call setCellBorder on the grid look. 
net.sf.paperclips.GridPrint.setFooterBackground(RGB)
          this functionality has been moved to DefaultGridLook. Set a DefaultGridLook on the grid, then call setFooterBackground on the grid look. 
net.sf.paperclips.GridPrint.setHeaderBackground(RGB)
          this functionality has been moved to DefaultGridLook. Set a DefaultGridLook on the grid, then call setHeaderBackground on the grid look. 
net.sf.paperclips.GridPrint.setHorizontalSpacing(int)
          this functionality has been moved to DefaultGridLook. Set a DefaultGridLook on the grid, then call setCellSpacing(Point) on the grid look. 
net.sf.paperclips.TextPrint.setRGB(RGB)
          Use TextPrint.setForeground(RGB) instead. 
net.sf.paperclips.GridPrint.setVerticalSpacing(int)
          this functionality has been moved to DefaultGridLook. Set a DefaultGridLook on the grid, then call setCellSpacing(Point) on the grid look. 
 

Deprecated Constructors
net.sf.paperclips.GridPrint(GridColumn[], int)
          use GridPrint(GridColumn[]) instead, then set a DefaultGridLook on the grid with the desired cell spacing. 
net.sf.paperclips.GridPrint(GridColumn[], int, int)
          use GridPrint(GridColumn[]) instead, then set a DefaultGridLook on the grid with the desired cell spacing. 
net.sf.paperclips.GridPrint(String, int)
          use GridPrint(String) instead, then set a DefaultGridLook on the grid with the desired cell spacing. 
net.sf.paperclips.GridPrint(String, int, int)
          use GridPrint(String) instead, then set a DefaultGridLook on the grid with the desired cell spacing. 
net.sf.paperclips.PagePrint(Print, PageDecoration, PageDecoration)
          PagePrint(PageDecoration, Print, PageDecoration) instead.