APIdia Launch Partner
Top Description Methods
java.awt.print

public Interface PrinterGraphics

Known Direct Implementers
sun.print.PeekGraphics, sun.print.ProxyGraphics2D

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

Method Summary

Modifier and TypeMethod and Description
public PrinterJob

Returns:

the PrinterJob controlling the current rendering request.
getPrinterJob
()

Returns the PrinterJob that is controlling the current rendering request.

Method Detail

getPrinterJobback to summary
public PrinterJob getPrinterJob()

Returns the PrinterJob that is controlling the current rendering request.

Returns:PrinterJob

the PrinterJob controlling the current rendering request.

See Also
java.awt.print.Printable