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
-属性变化的报道
null
source
IllegalArgumentException
。
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.