|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object![]()
![]()
![]()
javax.print.event.PrintJobAdapter

public abstract class PrintJobAdapter


An abstract adapter class for receiving print job events.
The methods in this class are empty.
This class exists as a convenience for creating listener objects.
Extend this class to create a PrintJobEvent
listener and override
the methods for the events of interest. Unlike the
ComponentListener
interface, this abstract interface provides null methods so that you
only need to define the methods you need, rather than all of the methods.
| Constructor Summary | |
|---|---|
PrintJobAdapter
|
|
| Method Summary | |
|---|---|
void |
printDataTransferCompleted
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
Called to notify the client that the job was canceled by user or program. |
void |
printJobCompleted
Called to notify the client that the job completed successfully. |
void |
printJobFailed
Called to notify the client that the job failed to complete successfully and will have to be resubmitted. |
void |
printJobNoMoreEvents
Called to notify the client that no more events will be delivered. |
void |
printJobRequiresAttention
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 |
| Constructor Detail |
|---|

public PrintJobAdapter()
| Method Detail |
|---|

public void printDataTransferCompleted(PrintJobEvent![]()
![]()
pje)
printDataTransferCompleted

in interface PrintJobListener

pje - the event being notified

public void printJobCompleted(PrintJobEvent![]()
![]()
pje)
printJobCompleted

in interface PrintJobListener

pje - the event being notified

public void printJobFailed(PrintJobEvent![]()
![]()
pje)
printJobFailed

in interface PrintJobListener

pje - the event being notified

public void printJobCanceled(PrintJobEvent![]()
![]()
pje)
printJobCanceled

in interface PrintJobListener

pje - the event being notified

public void printJobNoMoreEvents(PrintJobEvent![]()
![]()
pje)
printJobNoMoreEvents

in interface PrintJobListener

pje - the event being notified

public void printJobRequiresAttention(PrintJobEvent![]()
![]()
pje)
printJobRequiresAttention

in interface PrintJobListener

pje - the event being notified
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||