dori.jasper.engine.print
Class JRPrinterAWT

java.lang.Object
  extended bydori.jasper.engine.print.JRPrinterAWT
All Implemented Interfaces:
java.awt.print.Printable

public class JRPrinterAWT
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
protected JRPrinterAWT(JasperPrint jrPrint)
           
 
Method Summary
 int print(java.awt.Graphics graphics, java.awt.print.PageFormat pageFormat, int pageIndex)
           
static boolean printPages(JasperPrint jrPrint, int firstPageIndex, int lastPageIndex, boolean withPrintDialog)
           
static java.awt.Image printPageToImage(JasperPrint jrPrint, int pageIndex, float zoom)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JRPrinterAWT

protected JRPrinterAWT(JasperPrint jrPrint)
                throws JRException
Method Detail

printPages

public static boolean printPages(JasperPrint jrPrint,
                                 int firstPageIndex,
                                 int lastPageIndex,
                                 boolean withPrintDialog)
                          throws JRException
Throws:
JRException

printPageToImage

public static java.awt.Image printPageToImage(JasperPrint jrPrint,
                                              int pageIndex,
                                              float zoom)
                                       throws JRException
Throws:
JRException

print

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


Copyright © 2001-2004 Teodor Danciu. All Rights Reserved.