public class PrintJobAttributeEvent extends PrintEvent
PrintJobAttributeEvents are generated by a
PrintService to inform registered listeners that attributes
associated with a DocPrintJob instance have changed.| Constructor and Description |
|---|
PrintJobAttributeEvent(javax.print.DocPrintJob source,
javax.print.attribute.PrintJobAttributeSet attributes)
Constructs a
PrintJobAttributeEvent object. |
| Modifier and Type | Method and Description |
|---|---|
javax.print.attribute.PrintJobAttributeSet |
getAttributes()
Returns the attributes that changed and their new values.
|
javax.print.DocPrintJob |
getPrintJob()
Returns the print job generating this event.
|
toStringpublic PrintJobAttributeEvent(javax.print.DocPrintJob source, javax.print.attribute.PrintJobAttributeSet attributes)
PrintJobAttributeEvent object.source - the source of this eventattributes - the attribute changes being reportedpublic javax.print.DocPrintJob getPrintJob()
public javax.print.attribute.PrintJobAttributeSet getAttributes()