Professional Documents
Culture Documents
* PrintService
PrintServiceLookup
Static Methods PrintService MultiDocPrintService[] PrintService[] boolean boolean Accessors PrintService MultiDocPrintService[] PrintService[] PrintService[] lookupDefaultPrintService () lookupMultiDocPrintServices (DocFlavor[] flavors, AttributeSet attributes) lookupPrintServices (DocFlavor flavor, AttributeSet attributes) registerService (PrintService service) registerServiceProvider (PrintServiceLookup sp) getDefaultPrintService () getMultiDocPrintServices (DocFlavor[] flavors, AttributeSet attributes) getPrintServices () getPrintServices (DocFlavor flavor, AttributeSet attributes)
PrintService
getAttribute (Class category) getAttributes () getDefaultAttributeValue (Class category) getName () getServiceUIFactory () getSupportedAttributeCategories () getSupportedAttributeValues (Class category, DocFlavor flavor, AttributeSet attributes) getSupportedDocFlavors () getUnsupportedAttributes (DocFlavor flavor, AttributeSet attributes) isAttributeCategorySupported (Class category) isAttributeValueSupported (Attribute attrval, DocFlavor flavor, AttributeSet attributes) isDocFlavorSupported (DocFlavor flavor)
Accessors PrintServiceAttribute PrintServiceAttributeSet Object String ServiceUIFactory Class[] Object DocFlavor[] AttributeSet boolean boolean boolean Event Methods void Object boolean int Other Public Methods DocPrintJob
createPrintJob ()
MultiDocPrintService
# StreamPrintService (OutputStream out) Accessors String getOutputFormat () OutputStream getOutputStream () boolean isDisposed () Other Public Methods void dispose ()
StreamPrintService
StreamPrintServiceFactory
Static Methods StreamPrintServiceFactory[] lookupStreamPrintServiceFactories ( DocFlavor flavor, String outputMimeType) Accessors String getOutputFormat () StreamPrintService getPrintService (OutputStream out) DocFlavor[] getSupportedDocFlavors ()
MultiDocPrintJob createMultiDocPrintJob ()
DocPrintJob
ServiceUI
PrintService printDialog (GraphicsConfiguration gc, int x, int y, PrintService[] services, PrintService defaultService, DocFlavor flavor, PrintRequestAttributeSet attributes)
Accessors PrintJobAttributeSet getAttributes () PrintService getPrintService () Event Methods void addPrintJobAttributeListener (PrintJobAttributeListener listener, PrintJobAttributeSet attributes) void add / removePrintJobListener (PrintJobListener listener) void removePrintJobAttributeListener (PrintJobAttributeListener listener) Other Public Methods void print (Doc doc, PrintRequestAttributeSet attributes)
ServiceUIFactory
Object getUI (int role, String ui) String[] getUIClassNamesForRole (int role)
MultiDocPrintJob
CancelablePrintJob
void cancel ()
String JCOMPONENT_UI, PANEL_UI, DIALOG_UI, JDIALOG_UI int ABOUT_UIROLE, ADMIN_UIROLE, MAIN_UIROLE, RESERVED_UIROLE