1. /*
  2. * @(#)PrintJobAttributeListener.java 1.4 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package javax.print.event;
  8. /**
  9. * Implementations of this interface are attached to a
  10. * {@link javax.print.DocPrintJob DocPrintJob} to monitor
  11. * the status of attribute changes associated with the print job.
  12. *
  13. */
  14. public interface PrintJobAttributeListener {
  15. /**
  16. * Notifies the listener of a change in some print job attributes.
  17. * One example of an occurrence triggering this event is if the
  18. * {@link javax.print.attribute.standard.JobState JobState}
  19. * attribute changed from
  20. * <code>PROCESSING</code> to <code>PROCESSING_STOPPED</code>.
  21. * @param pjae the event.
  22. */
  23. public void attributeUpdate(PrintJobAttributeEvent pjae) ;
  24. }