21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package javax.print.event;
27
28 /**
29 * Implementations of this interface are attached to a
30 * {@link javax.print.DocPrintJob DocPrintJob} to monitor
31 * the status of attribute changes associated with the print job.
32 *
33 */
34 public interface PrintJobAttributeListener {
35
36 /**
37 * Notifies the listener of a change in some print job attributes.
38 * One example of an occurrence triggering this event is if the
39 * {@link javax.print.attribute.standard.JobState JobState}
40 * attribute changed from
41 * <code>PROCESSING</code> to <code>PROCESSING_STOPPED</code>.
42 * @param pjae the event.
43 */
44 public void attributeUpdate(PrintJobAttributeEvent pjae) ;
45
46 }
|
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package javax.print.event;
27
28 /**
29 * Implementations of this interface are attached to a
30 * {@link javax.print.DocPrintJob DocPrintJob} to monitor
31 * the status of attribute changes associated with the print job.
32 *
33 */
34 public interface PrintJobAttributeListener {
35
36 /**
37 * Notifies the listener of a change in some print job attributes.
38 * One example of an occurrence triggering this event is if the
39 * {@link javax.print.attribute.standard.JobState JobState}
40 * attribute changed from
41 * {@code PROCESSING} to {@code PROCESSING_STOPPED}.
42 * @param pjae the event.
43 */
44 public void attributeUpdate(PrintJobAttributeEvent pjae) ;
45
46 }
|