public class PrintJobAttributeEvent extends PrintEvent
source
Constructor and Description |
---|
PrintJobAttributeEvent(DocPrintJob source,
PrintJobAttributeSet attributes)
Constructs a PrintJobAttributeEvent object.
|
Modifier and Type | Method and Description |
---|---|
PrintJobAttributeSet |
getAttributes()
Determine the printing attributes that changed and their new values.
|
DocPrintJob |
getPrintJob()
Determine the Print Job to which this print job event pertains.
|
toString
getSource
public PrintJobAttributeEvent(DocPrintJob source, PrintJobAttributeSet attributes)
source
- the print job generating this eventattributes
- the attribute changes being reportedIllegalArgumentException
- if source
is
null
.public DocPrintJob getPrintJob()
public PrintJobAttributeSet getAttributes()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.