java.awt.print
Interface PrinterGraphics
java.lang.Object
|
+--java.awt.print.PrinterGraphics
public interface PrinterGraphics
This interface is implemented by the Graphics
instance
that is used for rendering pages. It provides a hook to return the
object that is controlling the print job.
Author:- Aaron M. Renn (arenn@urbanophile.com)
getPrinterJob
public PrinterJob getPrinterJob()
This method returns the instance of PrinterJob
that is
controlling this print job.
Returns:
- The
PrinterJob
that is controlling this print job.
Graphics
instance that is used for rendering pages. It provides a hook to return the object that is controlling the print job.