Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
javax.print.event.PrintJobAdapter
PrintJobListener
classes. The methods in this class do nothing by default. Subclasses may
only implement the methods for the PrintJobEvent
s
they are interested in.
Constructor Summary | |
|
Method Summary | |
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
Methods inherited from class java.lang.Object | |
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
public void printDataTransferCompleted(PrintJobEvent event)
Called to notify the client that all data has been successfully transferred to the print service.The default implementation does nothing.
- Specified by:
- printDataTransferCompleted in interface PrintJobListener
- Parameters:
event
- the event.
public void printJobCanceled(PrintJobEvent event)
Called to notify the client that a print job was canceled.The default implementation does nothing.
- Specified by:
- printJobCanceled in interface PrintJobListener
- Parameters:
event
- the event.
public void printJobCompleted(PrintJobEvent event)
Called to notify the client that a print job was successfully completed.The default implementation does nothing.
- Specified by:
- printJobCompleted in interface PrintJobListener
- Parameters:
event
- the event.
public void printJobFailed(PrintJobEvent event)
Called to notify the client that a print job failed to complete successfully.The default implementation does nothing.
- Specified by:
- printJobFailed in interface PrintJobListener
- Parameters:
event
- the event.
public void printJobNoMoreEvents(PrintJobEvent event)
Called to notify the client that no more job events will be send.The default implementation does nothing.
- Specified by:
- printJobNoMoreEvents in interface PrintJobListener
- Parameters:
event
- the event.
public void printJobRequiresAttention(PrintJobEvent event)
Called to notify the client that a problem occured during printing. This event signals problems a user might be able to fix (e.g. out of paper or paper jam).The default implementation does nothing.
- Specified by:
- printJobRequiresAttention in interface PrintJobListener
- Parameters:
event
- the event.