接口 | 描述 |
---|---|
PrintJobAttributeListener |
实现该接口连接到一个
DocPrintJob 监测与打印相关的属性变化状况。
|
PrintJobListener |
这个监听器接口的实现应该连接到一个
DocPrintJob 监控打印机的工作状态。
|
PrintServiceAttributeListener |
这个监听器接口实现连接到一个
PrintService 监控打印服务的状态。
|
类 | 描述 |
---|---|
PrintEvent |
类printevent是所有打印服务API事件超类。
|
PrintJobAdapter |
用于接收打印作业事件的抽象适配器类。
|
PrintJobAttributeEvent |
类封装了一个事件printjobattributeevent打字报告,让客户知道一个或多个PRINTJOB打印属性已经改变。
|
PrintJobEvent |
类封装了常见的事件
PrintJobEvent 打印作业的报道让听众知道在
DocPrintJob 处理进展。
|
PrintServiceAttributeEvent |
类封装了一个事件printserviceattributeevent打印服务实例的报告,让客户知道在打印服务状态的变化。
|
他们可以用来监视两个打印服务(如打印机联机和脱机),以及一个特定的打印作业的进度。
请注意:在javax.print API,null引用参数的方法不正确,除非明确记录方法的有意义的解释。相反的用法是不正确的编码,并可能会导致运行时间的异常,无论是立即或在稍后的时间。时和时是典型的和可以接受的这种情况下运行时的异常实例。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.