|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.accendia.netstart.client.service.SecurePrinterJob
public class SecurePrinterJob
Provides the means for the application to print under strict user control. using a PrinterJob.
| Method Summary | |
|---|---|
java.awt.print.PageFormat |
getDefaultPage()
Creates and returns a new default PageFormat. |
static SecurePrinterJob |
getSecurePrinterJob()
Creates a returns a SecurePrinterJob object. |
void |
print(java.awt.print.Pageable pageable)
Displays a print dialog and prints the document provided by the application if the user confirms the print. |
void |
print(java.awt.print.Printable painter)
Displays a print dialog and prints the document provided by the application if the user confirms the print. |
java.awt.print.PageFormat |
showPageFormatDialog(java.awt.print.PageFormat page)
Displays the PageFormat dialog. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static SecurePrinterJob getSecurePrinterJob()
public java.awt.print.PageFormat getDefaultPage()
public java.awt.print.PageFormat showPageFormatDialog(java.awt.print.PageFormat page)
page - The initial PageFormat used to initialize the dialog.
public void print(java.awt.print.Pageable pageable)
throws java.awt.print.PrinterException
pageable - The document to be printed
java.awt.print.PrinterException - If a printing error occurs.
public void print(java.awt.print.Printable painter)
throws java.awt.print.PrinterException
painter - The document to be printed
java.awt.print.PrinterException - If a printing error occurs.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||