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