KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)PrintJobAttributeListener.java 1.5 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 interface are attached to a
12   * {@link javax.print.DocPrintJob DocPrintJob} to monitor
13   * the status of attribute changes associated with the print job.
14   *
15   */

16 public interface PrintJobAttributeListener {
17
18     /**
19      * Notifies the listener of a change in some print job attributes.
20      * One example of an occurrence triggering this event is if the
21      * {@link javax.print.attribute.standard.JobState JobState}
22      * attribute changed from
23      * <code>PROCESSING</code> to <code>PROCESSING_STOPPED</code>.
24      * @param pjae the event.
25      */

26     public void attributeUpdate(PrintJobAttributeEvent JavaDoc pjae) ;
27  
28 }
29
Popular Tags