Uses of Interface
javax.print.PrintService
-
Packages that use PrintService 软件包 描述 java.awt.print 提供通用打印API的类和接口。javax.print 提供Java®打印服务API的主要类和接口。javax.print.event 程序包javax.print.event包含事件类和侦听器接口。javax.swing 提供一套“轻量级”(全Java语言)组件,尽可能地在所有平台上工作。javax.swing.text 提供处理可编辑和不可编辑文本组件的类和接口。 -
-
Uses of PrintService in java.awt.print
Methods in java.awt.print that return PrintService Modifier and Type 方法 描述 PrintService
PrinterJob. getPrintService()
返回此打印机作业的服务(打印机)。static PrintService[]
PrinterJob. lookupPrintServices()
查找2D打印服务的便捷方法。Methods in java.awt.print with parameters of type PrintService Modifier and Type 方法 描述 void
PrinterJob. setPrintService(PrintService service)
将此PrinterJob与新的PrintService相关联。 -
Uses of PrintService in javax.print
Subinterfaces of PrintService in javax.print Modifier and Type 接口 描述 interface
MultiDocPrintService
Interface MultiPrintService是MultiDocPrintJob的工厂。Classes in javax.print that implement PrintService Modifier and Type Class 描述 class
StreamPrintService
该类扩展了PrintService
,代表一种将不同格式的数据打印到客户端提供的输出流的打印服务。Methods in javax.print that return PrintService Modifier and Type 方法 描述 abstract PrintService
PrintServiceLookup. getDefaultPrintService()
不被应用程序直接调用PrintService
DocPrintJob. getPrintService()
确定此打印作业对象所绑定的对象PrintService
。abstract PrintService[]
PrintServiceLookup. getPrintServices()
不被应用程序直接调用abstract PrintService[]
PrintServiceLookup. getPrintServices(DocFlavor flavor, AttributeSet attributes)
找到可以肯定确认的服务,以支持指定的属性和DocFlavors的组合。static PrintService
PrintServiceLookup. lookupDefaultPrintService()
找到此环境的默认打印服务。static PrintService[]
PrintServiceLookup. lookupPrintServices(DocFlavor flavor, AttributeSet attributes)
找到能打印指定的打印服务DocFlavor
。static PrintService
ServiceUI. printDialog(GraphicsConfiguration gc, int x, int y, PrintService[] services, PrintService defaultService, DocFlavor flavor, PrintRequestAttributeSet attributes)
向用户呈现一个对话框,用于选择打印服务(打印机)。Methods in javax.print with parameters of type PrintService Modifier and Type 方法 描述 static PrintService
ServiceUI. printDialog(GraphicsConfiguration gc, int x, int y, PrintService[] services, PrintService defaultService, DocFlavor flavor, PrintRequestAttributeSet attributes)
向用户呈现一个对话框,用于选择打印服务(打印机)。static boolean
PrintServiceLookup. registerService(PrintService service)
允许应用程序直接注册实现打印服务的类的实例。 -
Uses of PrintService in javax.print.event
Methods in javax.print.event that return PrintService Modifier and Type 方法 描述 PrintService
PrintServiceAttributeEvent. getPrintService()
返回打印服务。Constructors in javax.print.event with parameters of type PrintService Constructor 描述 PrintServiceAttributeEvent(PrintService source, PrintServiceAttributeSet attributes)
构造一个PrintServiceAttributeEvent对象。 -
Uses of PrintService in javax.swing
Methods in javax.swing with parameters of type PrintService Modifier and Type 方法 描述 boolean
JTable. print(JTable.PrintMode printMode, MessageFormat headerFormat, MessageFormat footerFormat, boolean showPrintDialog, PrintRequestAttributeSet attr, boolean interactive, PrintService service)
打印JTable
。 -
Uses of PrintService in javax.swing.text
Methods in javax.swing.text with parameters of type PrintService Modifier and Type 方法 描述 boolean
JTextComponent. print(MessageFormat headerFormat, MessageFormat footerFormat, boolean showPrintDialog, PrintService service, PrintRequestAttributeSet attributes, boolean interactive)
打印JTextComponent
的内容。
-