public interface PrintJobListener
Modifier and Type | Method and Description |
---|---|
void |
printDataTransferCompleted(PrintJobEvent pje)
被要求通知客户端数据已成功传输到打印服务,客户端可以释放为该数据分配的本地资源。
|
void |
printJobCanceled(PrintJobEvent pje)
被要求通知客户该作业被用户或程序取消。
|
void |
printJobCompleted(PrintJobEvent pje)
被要求通知客户该作业成功完成。
|
void |
printJobFailed(PrintJobEvent pje)
被要求通知客户该作业未成功完成,必须重新提交。
|
void |
printJobNoMoreEvents(PrintJobEvent pje)
被要求通知客户不会再发送任何事件。
|
void |
printJobRequiresAttention(PrintJobEvent pje)
调用通知客户端发生了用户可能修复的错误。
|
void printDataTransferCompleted(PrintJobEvent pje)
pje
- 生成此事件的作业
void printJobCompleted(PrintJobEvent pje)
pje
- 创建此事件的作业
void printJobFailed(PrintJobEvent pje)
pje
- 生成此事件的作业
void printJobCanceled(PrintJobEvent pje)
pje
- 生成此事件的作业
void printJobNoMoreEvents(PrintJobEvent pje)
pje
- 生成此事件的作业
void printJobRequiresAttention(PrintJobEvent pje)
pje
- 生成此事件的作业
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.