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()
确定此打印作业事件所属的打印作业。
|
toString
getSource
public PrintJobAttributeEvent(DocPrintJob source, PrintJobAttributeSet attributes)
source
- 生成此事件的打印作业
attributes
- 正在报告的属性更改
IllegalArgumentException
- 如果
source
是
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, 2014, Oracle and/or its affiliates. All rights reserved.