javax.print.event |
javax.print.event package
Package javax.print.event contains event classes and listener interfaces.
They may be used to monitor both print services (such as printers going
on-line & off-line), and the progress of a specific print job.
Please note: In the javax.print APIs, a null reference parameter to methods
is incorrect unless explicitly documented on the method as having a meaningful
interpretation. Usage to the contrary is incorrect coding and may result
in a run time exception either immediately or at some later time.
IllegalArgumentException and NullPointerException are examples of
typical and acceptable run time exceptions for such cases.
@since 1.4
|
Java Source File Name | Type | Comment |
PrintEvent.java | Class | Class PrintEvent is the super class of all Print Service API events. |
PrintJobAdapter.java | Class | 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. |
PrintJobAttributeEvent.java | Class | Class PrintJobAttributeEvent encapsulates an event a PrintService
reports to let the client know that one or more printing attributes for a
PrintJob have changed. |
PrintJobAttributeListener.java | Interface | Implementations of this interface are attached to a
javax.print.DocPrintJob DocPrintJob to monitor
the status of attribute changes associated with the print job. |
PrintJobEvent.java | Class | Class PrintJobEvent encapsulates common events a print job
reports to let a listener know of progress in the processing of the
DocPrintJob . |
PrintJobListener.java | Interface | Implementations of this listener interface should be attached to a
javax.print.DocPrintJob DocPrintJob to monitor the status of
the printer job.
These callback methods may be invoked on the thread processing the
print job, or a service created notification thread. |
PrintServiceAttributeEvent.java | Class | Class PrintServiceAttributeEvent encapsulates an event a
Print Service instance reports to let the client know of
changes in the print service state. |
PrintServiceAttributeListener.java | Interface | Implementations of this listener interface are attached to a
javax.print.PrintService PrintService to monitor
the status of the print service. |