PrintJobAttributeListener (Java SE 14 & JDK 14)
Description: declaration: module: java.desktop, package: javax.print.event, interface: PrintJobAttributeListener
Keywords: javax.print.event.PrintJobAttributeListener interface

Module java.desktop
Package javax.print.event

# Interface PrintJobAttributeListener

    public interface PrintJobAttributeListener

Implementations of this interface are attached to a `DocPrintJob` to monitor the status of attribute changes associated with the print job.

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `void` | `attributeUpdate​(PrintJobAttributeEvent pjae)` | Notifies the listener of a change in some print job attributes.

- ## Method Details

  - ### attributeUpdate

    void attributeUpdate​(PrintJobAttributeEvent pjae)
    Notifies the listener of a change in some print job attributes. One example of an occurrence triggering this event is if the `JobState` attribute changed from `PROCESSING` to `PROCESSING_STOPPED`.
    Parameters:
      `pjae` - the event being notified