javax.print.event
Interface PrintServiceAttributeListener


public interface PrintServiceAttributeListener

Implementations of this listener interface are attached to a PrintService sample code for javax.print.PrintService definition code for javax.print.PrintService to monitor the status of the print service.

To monitor a particular job see PrintJobListener sample code for javax.print.event.PrintJobListener definition code for javax.print.event.PrintJobListener and PrintJobAttributeListener sample code for javax.print.event.PrintJobAttributeListener definition code for javax.print.event.PrintJobAttributeListener .


Method Summary
 void attributeUpdate sample code for javax.print.event.PrintServiceAttributeListener.attributeUpdate(javax.print.event.PrintServiceAttributeEvent) definition code for javax.print.event.PrintServiceAttributeListener.attributeUpdate(javax.print.event.PrintServiceAttributeEvent) (PrintServiceAttributeEvent sample code for javax.print.event.PrintServiceAttributeEvent definition code for javax.print.event.PrintServiceAttributeEvent  psae)
          Called to notify a listener of an event in the print service.
 

Method Detail

attributeUpdate sample code for javax.print.event.PrintServiceAttributeListener.attributeUpdate(javax.print.event.PrintServiceAttributeEvent) definition code for javax.print.event.PrintServiceAttributeListener.attributeUpdate(javax.print.event.PrintServiceAttributeEvent)

void attributeUpdate(PrintServiceAttributeEvent sample code for javax.print.event.PrintServiceAttributeEvent definition code for javax.print.event.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