All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class java.awt.PrintJob2D

java.lang.Object
    |
    +----java.awt.PrintJob2D

public abstract class PrintJob2D
extends Object
Prints a Book instance and displays printer dialogs.


Constructor Index

 o PrintJob2D()

Method Index

 o print(Book)
The Book is printed using the job settings in the PrintJob.
 o setupJob(Book)
Presents the user with a dialog allowing the setting of the print job parameters.

Constructors

 o PrintJob2D
public PrintJob2D()

Methods

 o setupJob
public abstract boolean setupJob(Book book)
Presents the user with a dialog allowing the setting of the print job parameters. If the user cancels the dialog then false is returned and the PrintJob is unchanged. If the user okays the dialog then true is returned and the user's choices are reflected in the PrintJob.

 o print
public abstract void print(Book book)
The Book is printed using the job settings in the PrintJob.


All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Submit a bug or feature