|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PrintProgress
PrintProgress -- interface for print progress updates.
PrintProgress extends the standard Printable interface with methods to support setting the printer job, page format, and print progress display.
Field Summary |
---|
Fields inherited from interface java.awt.print.Printable |
---|
NO_SUCH_PAGE, PAGE_EXISTS |
Method Summary | |
---|---|
void |
closeProgress()
Close progress dialog. |
void |
setPageFormat(java.awt.print.PageFormat pageFormat)
Set page format. |
void |
setPrinterJob(java.awt.print.PrinterJob printerJob)
Set printer job. |
void |
setProgress(boolean onOff)
Enable or disable print progress. |
void |
updateProgress(int pagesPrinted)
Update the print progress display with pages printed. |
Methods inherited from interface java.awt.print.Printable |
---|
print |
Method Detail |
---|
void setPrinterJob(java.awt.print.PrinterJob printerJob)
printerJob
- The printer job used for printing. void setPageFormat(java.awt.print.PageFormat pageFormat)
pageFormat
- The page format used for printing. void setProgress(boolean onOff)
onOff
- True to enable print progress, false to disable. void updateProgress(int pagesPrinted)
pagesPrinted
- The number of pages printed. void closeProgress()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |