|
Préférences
Moteurs de recherche
|
||||||||||||||||||||
JavaTM 2 Platform Std. Ed. v1.5.0
javax.print.event
|
Constructor Summary | |
---|---|
PrintJobAdapter()
|
Method Summary | |
---|---|
void |
printDataTransferCompleted(PrintJobEvent pje)
Called to notify the client that data has been successfully transferred to the print service, and the client may free local resources allocated for that data. |
void |
printJobCanceled(PrintJobEvent pje)
Called to notify the client that the job was canceled by user or program. |
void |
printJobCompleted(PrintJobEvent pje)
Called to notify the client that the job completed successfully. |
void |
printJobFailed(PrintJobEvent pje)
Called to notify the client that the job failed to complete successfully and will have to be resubmitted. |
void |
printJobNoMoreEvents(PrintJobEvent pje)
Called to notify the client that no more events will be delivered. |
void |
printJobRequiresAttention(PrintJobEvent pje)
Called to notify the client that some possibly user rectifiable problem occurs (eg printer out of paper). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PrintJobAdapter()
Method Detail |
---|
public void printDataTransferCompleted(PrintJobEvent pje)
printDataTransferCompleted
in interface PrintJobListener
pje
- the event being notifiedpublic void printJobCompleted(PrintJobEvent pje)
printJobCompleted
in interface PrintJobListener
pje
- the event being notifiedpublic void printJobFailed(PrintJobEvent pje)
printJobFailed
in interface PrintJobListener
pje
- the event being notifiedpublic void printJobCanceled(PrintJobEvent pje)
printJobCanceled
in interface PrintJobListener
pje
- the event being notifiedpublic void printJobNoMoreEvents(PrintJobEvent pje)
printJobNoMoreEvents
in interface PrintJobListener
pje
- the event being notifiedpublic void printJobRequiresAttention(PrintJobEvent pje)
printJobRequiresAttention
in interface PrintJobListener
pje
- the event being notified