< prev index next >

src/java.desktop/share/classes/javax/print/event/PrintJobAttributeListener.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 25,46 **** package javax.print.event; /** * Implementations of this interface are attached to a ! * {@link javax.print.DocPrintJob DocPrintJob} to monitor ! * the status of attribute changes associated with the print job. ! * */ public interface PrintJobAttributeListener { /** ! * Notifies the listener of a change in some print job attributes. ! * One example of an occurrence triggering this event is if the ! * {@link javax.print.attribute.standard.JobState JobState} ! * attribute changed from ! * {@code PROCESSING} to {@code PROCESSING_STOPPED}. ! * @param pjae the event. */ public void attributeUpdate(PrintJobAttributeEvent pjae) ; - } --- 25,44 ---- package javax.print.event; /** * Implementations of this interface are attached to a ! * {@link javax.print.DocPrintJob DocPrintJob} to monitor the status of ! * attribute changes associated with the print job. */ public interface PrintJobAttributeListener { /** ! * Notifies the listener of a change in some print job attributes. One ! * example of an occurrence triggering this event is if the ! * {@link javax.print.attribute.standard.JobState JobState} attribute ! * changed from {@code PROCESSING} to {@code PROCESSING_STOPPED}. ! * ! * @param pjae the event being notified */ public void attributeUpdate(PrintJobAttributeEvent pjae) ; }
< prev index next >