javax.print.event
public class PrintJobAttributeEvent extends PrintEvent
PrintJobAttributeEvent
s are generated by a
PrintService
to inform registered listeners that attributes
associated with a {@link javax.print.DocPrintJob} instance have changed.
Constructor Summary | |
---|---|
PrintJobAttributeEvent(DocPrintJob source, PrintJobAttributeSet attributes)
Constructs a PrintJobAttributeEvent object.
|
Method Summary | |
---|---|
PrintJobAttributeSet | getAttributes()
Returns the attributes that changed and their new values.
|
DocPrintJob | getPrintJob()
Returns the print job generating this event.
|
PrintJobAttributeEvent
object.
Parameters: source the source of this event attributes the attribute changes being reported
Returns: The changed attributes.
Returns: The print job.