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 变量和类型 方法 描述 PrintService
PrinterJob. getPrintService()
返回此打印机作业的服务(打印机)。static PrintService[]
PrinterJob. lookupPrintServices()
查找2D打印服务的便捷方法。Methods in java.awt.print with parameters of type PrintService 变量和类型 方法 描述 void
PrinterJob. setPrintService(PrintService service)
将此PrinterJob与新的PrintService相关联。 -
Uses of PrintService in javax.print
Subinterfaces of PrintService in javax.print 变量和类型 接口 描述 interface
MultiDocPrintService
接口MultiPrintService
是向工厂MultiDocPrintJob
。Classes in javax.print that implement PrintService 变量和类型 类 描述 class
StreamPrintService
此类扩展PrintService
并表示打印服务,该服务以不同格式将数据打印到客户端提供的输出流。Methods in javax.print that return PrintService 变量和类型 方法 描述 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 变量和类型 方法 描述 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 变量和类型 方法 描述 PrintService
PrintServiceAttributeEvent. getPrintService()
返回打印服务。Constructors in javax.print.event with parameters of type PrintService 构造器 描述 PrintServiceAttributeEvent(PrintService source, PrintServiceAttributeSet attributes)
构造一个PrintServiceAttributeEvent
对象。 -
Uses of PrintService in javax.swing
Methods in javax.swing with parameters of type PrintService 变量和类型 方法 描述 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 变量和类型 方法 描述 boolean
JTextComponent. print(MessageFormat headerFormat, MessageFormat footerFormat, boolean showPrintDialog, PrintService service, PrintRequestAttributeSet attributes, boolean interactive)
打印此JTextComponent
的内容。
-