W3cubDocs

/OpenJDK 21

Interface PrintServiceAttributeListener

public interface PrintServiceAttributeListener
Implementations of this listener interface are attached to a PrintService to monitor the status of the print service.

To monitor a particular job see PrintJobListener and PrintJobAttributeListener.

Method Summary

Modifier and Type Method Description
void attributeUpdate(PrintServiceAttributeEvent psae)
Called to notify a listener of an event in the print service.

Method Details

attributeUpdate

void attributeUpdate(PrintServiceAttributeEvent psae)
Called to notify a listener of an event in the print service. The service will call this method on an event notification thread. The client should not perform lengthy processing in this callback or subsequent event notifications may be blocked.
Parameters:
psae - the event being notified

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/javax/print/event/PrintServiceAttributeListener.html