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

# 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