Java™ Platform
Standard Ed. 6

javax.print.event
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
 void attributeUpdate(PrintServiceAttributeEvent psae)
          Called to notify a listener of an event in the print service.
 

Method Detail

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

Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.