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()
返回打印服务。
|
toStringgetSourcepublic PrintServiceAttributeEvent(PrintService source, PrintServiceAttributeSet attributes)
source -打印作业生成此事件
attributes -属性变化的报道
null
source
IllegalArgumentException。
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.