KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > print > event > PrintServiceAttributeListener


1 /*
2  * @(#)PrintServiceAttributeListener.java 1.6 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package javax.print.event;
9
10 /**
11   * Implementations of this listener interface are attached to a
12   * {@link javax.print.PrintService PrintService} to monitor
13   * the status of the print service.
14   * <p>
15   * To monitor a particular job see {@link PrintJobListener} and
16   * {@link PrintJobAttributeListener}.
17   */

18
19 public interface PrintServiceAttributeListener {
20
21     /**
22      * Called to notify a listener of an event in the print service.
23      * The service will call this method on an event notification thread.
24      * The client should not perform lengthy processing in this callback
25      * or subsequent event notifications may be blocked.
26      * @param psae the event being notified
27      */

28     public void attributeUpdate(PrintServiceAttributeEvent JavaDoc psae) ;
29
30 }
31
Popular Tags