javax.print.event
public interface PrintJobListener
DocPrintJob
instance.PrintJobAdapter
Modifier and Type | Method and Description |
---|---|
void |
printDataTransferCompleted(PrintJobEvent event)
Notifies the listener that all data has been successfully transferred
to the print service.
|
void |
printJobCanceled(PrintJobEvent event)
Notifies the listener that a print job got canceled.
|
void |
printJobCompleted(PrintJobEvent event)
Notifies the listener that a print job has completed.
|
void |
printJobFailed(PrintJobEvent event)
Notifies the listener that a print job has failed to complete.
|
void |
printJobNoMoreEvents(PrintJobEvent event)
Notifies the listener that no more events will be delivered.
|
void |
printJobRequiresAttention(PrintJobEvent event)
Notifies the listener that a problem occured during printing.
|
void printDataTransferCompleted(PrintJobEvent event)
event
- the eventvoid printJobCanceled(PrintJobEvent event)
event
- the eventvoid printJobCompleted(PrintJobEvent event)
event
- the eventvoid printJobFailed(PrintJobEvent event)
event
- the event.void printJobNoMoreEvents(PrintJobEvent event)
event
- the eventvoid printJobRequiresAttention(PrintJobEvent event)
event
- the event