CONTENTS | PREV | NEXT Java 2D API
7.1 Interfaces and Classes
Interface
DescriptionPrintable
The Printable interface is implemented by each page painter, the application class(es) called by the printing system to render a page. The system calls the page painter's print method to request that a page be rendered.
Pageable
The Pageable interface is implemented by a document that is to be printed by the printing system. Through the Pageable methods, the system can determine the number of pages in the document, the format to use for each page, and the page painter to use to render each page.
PrinterGraphics
The Graphics2D objects that a page painter uses to render a page implement the PrinterGraphics interface. This enables an application to get the PrinterJob object that is controlling the printing.
CONTENTS | PREV | NEXT