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.
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.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | PrintJobAttributeListener
Implementations of this interface are attached to a
|
| public interface | PrintJobListener
Implementations of this listener interface should be attached to a
|
| public interface | PrintServiceAttributeListener
Implementations of this listener interface are attached to a
|
| Modifier and Type | Class and Description |
|---|---|
| public class | PrintEvent
Class |
| public abstract class | PrintJobAdapter
An abstract adapter class for receiving print job events. |
| public class | PrintJobAttributeEvent
Class |
| public class | PrintJobEvent
Class |
| public class | PrintServiceAttributeEvent
Class |