|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.print.event.PrintJobAdapter
public abstract class PrintJobAdapter
Adapter class for implementing 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 Summary | |
|---|---|
PrintJobAdapter()
Constructs a PrintJobAdapter object. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PrintJobAdapter()
PrintJobAdapter object.
| Method Detail |
|---|
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||