public class PrintServiceAttributeEvent extends PrintEvent
source
Constructor and Description |
---|
PrintServiceAttributeEvent(PrintService source, PrintServiceAttributeSet attributes)
构造一个PrintServiceAttributeEvent对象。
|
Modifier and Type | Method and Description |
---|---|
PrintServiceAttributeSet |
getAttributes()
确定更改的打印服务属性及其新值。
|
PrintService |
getPrintService()
返回打印服务。
|
toString
getSource
public PrintServiceAttributeEvent(PrintService source, PrintServiceAttributeSet attributes)
source
- 生成此事件的打印作业
attributes
- 正在报告的属性更改
IllegalArgumentException
- 如果
source
是
null
。
public PrintService getPrintService()
public PrintServiceAttributeSet 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.