Provides events and listeners to be used with the Java Print Service API.
See: Description
Interface Summary | |
---|---|
PrintJobAttributeListener | Listener interface to receive attribute changes from a print job. |
PrintJobListener | Listener interface to receive processing events from a print job. |
PrintServiceAttributeListener | Listener interface to receive attribute changes from a print service. |
Class Summary | |
---|---|
PrintEvent | Superclass of all events in the Java Print Service API. |
PrintJobAdapter | Adapter class for implementing {@link javax.print.event.PrintJobListener} classes. |
PrintJobAttributeEvent |
PrintJobAttributeEvent s are generated by a
PrintService to inform registered listeners that attributes
associated with a {@link javax.print.DocPrintJob} instance have changed.
|
PrintJobEvent |
PrintJobEvent s are generated by a print job during
print job processing to inform registered listeners about the state
of processing.
|
PrintServiceAttributeEvent |
PrintServiceAttributeEvent s are generated by a
PrintService to inform registered listeners that
its associated attributes have changed.
|
The provided listeners are used to register with print services and/or print jobs to receive state information or to monitor the progress of print jobs. Print jobs don't need to be implemented synchronous and therefore should be monitored to know if they succeed or fail. For this common task the PrintJobAdapter class is provided.
Since: 1.4