| java.lang.Object com.sun.pdfview.PDFPrintPage
PDFPrintPage | public class PDFPrintPage implements Printable(Code) | | A class representing a print job for a particular PDFFile. The class
maintains a status dialog as it prints, allowing the user to cancel
the print job.
|
Constructor Summary | |
public | PDFPrintPage(PDFFile file) Create a new PDFPrintPage object for a particular PDFFile. |
PDFPrintPage | public PDFPrintPage(PDFFile file)(Code) | | Create a new PDFPrintPage object for a particular PDFFile.
Parameters: file - the PDFFile to be printed. |
doCancel | public void doCancel()(Code) | | Cancel the print job. Disables the cancel button, as it might
take a while for the cancel to take effect.
|
hide | public void hide()(Code) | | Close the progress dialog. Don't use this method to cancel
the print job; use
PDFPrintPage.doCancel doCancel instead.
|
show | public void show(PrinterJob pjob)(Code) | | Show the progress dialog for this print job
Parameters: pjob - the PrinterJob representing the print job |
|
|