public class PrintJobAttributeEvent extends PrintEvent
source| Constructor and Description |
|---|
PrintJobAttributeEvent(DocPrintJob source, PrintJobAttributeSet attributes)
构造一个PrintJobAttributeEvent对象。
|
| Modifier and Type | Method and Description |
|---|---|
PrintJobAttributeSet |
getAttributes()
确定更改的打印属性及其新值。
|
DocPrintJob |
getPrintJob()
确定此打印作业事件所属的打印作业。
|
toStringgetSourcepublic PrintJobAttributeEvent(DocPrintJob source, PrintJobAttributeSet attributes)
source - 生成此事件的打印作业
attributes - 正在报告的属性更改
IllegalArgumentException - 如果
source是
null 。
public DocPrintJob getPrintJob()
public PrintJobAttributeSet getAttributes()