public abstract class PrintJobAdapter extends Object implements PrintJobListener
PrintJobListener
classes. The methods in this class do nothing by default. Subclasses may
only implement the methods for the PrintJobEvents
they are interested in.| Constructor and Description |
|---|
PrintJobAdapter()
Constructs a
PrintJobAdapter object. |
| Modifier and Type | Method and Description |
|---|---|
void |
printDataTransferCompleted(PrintJobEvent event)
Called to notify the client that all data has been successfully transferred
to the print service.
|
void |
printJobCanceled(PrintJobEvent event)
Called to notify the client that a print job was canceled.
|
void |
printJobCompleted(PrintJobEvent event)
Called to notify the client that a print job was successfully completed.
|
void |
printJobFailed(PrintJobEvent event)
Called to notify the client that a print job failed to complete
successfully.
|
void |
printJobNoMoreEvents(PrintJobEvent event)
Called to notify the client that no more job events will be send.
|
void |
printJobRequiresAttention(PrintJobEvent event)
Called to notify the client that a problem occured during printing.
|
public PrintJobAdapter()
PrintJobAdapter object.public void printDataTransferCompleted(PrintJobEvent event)
The default implementation does nothing.
printDataTransferCompleted in interface PrintJobListenerevent - the event.public void printJobCanceled(PrintJobEvent event)
The default implementation does nothing.
printJobCanceled in interface PrintJobListenerevent - the event.public void printJobCompleted(PrintJobEvent event)
The default implementation does nothing.
printJobCompleted in interface PrintJobListenerevent - the event.public void printJobFailed(PrintJobEvent event)
The default implementation does nothing.
printJobFailed in interface PrintJobListenerevent - the event.public void printJobNoMoreEvents(PrintJobEvent event)
The default implementation does nothing.
printJobNoMoreEvents in interface PrintJobListenerevent - the event.public void printJobRequiresAttention(PrintJobEvent event)
The default implementation does nothing.
printJobRequiresAttention in interface PrintJobListenerevent - the event.