java.awt.print
Interface PrinterGraphics


public interface PrinterGraphics

The PrinterGraphics interface is implemented by Graphics sample code for java.awt.Graphics definition code for java.awt.Graphics objects that are passed to Printable sample code for java.awt.print.Printable definition code for java.awt.print.Printable objects to render a page. It allows an application to find the PrinterJob sample code for java.awt.print.PrinterJob definition code for java.awt.print.PrinterJob object that is controlling the printing.


Method Summary
 PrinterJob sample code for java.awt.print.PrinterJob definition code for java.awt.print.PrinterJob getPrinterJob sample code for java.awt.print.PrinterGraphics.getPrinterJob() definition code for java.awt.print.PrinterGraphics.getPrinterJob() ()
          Returns the PrinterJob that is controlling the current rendering request.
 

Method Detail

getPrinterJob sample code for java.awt.print.PrinterGraphics.getPrinterJob() definition code for java.awt.print.PrinterGraphics.getPrinterJob()

PrinterJob sample code for java.awt.print.PrinterJob definition code for java.awt.print.PrinterJob  getPrinterJob()
Returns the PrinterJob that is controlling the current rendering request.

Returns:
the PrinterJob controlling the current rendering request.
See Also:
Printable sample code for java.awt.print.Printable definition code for java.awt.print.Printable