©
本文档使用
php中文网手册 发布
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjava.util.EventObject
javax.print.event.PrintEvent
javax.print.event.PrintJobAttributeEvent
public class PrintJobAttributeEvent
类 PrintJobAttributeEvent 封装 PrintService 报告的事件,以便让客户端知道 PrintJob 的一个或多个打印属性已更改。
| 字段摘要 |
|---|
| 从类 java.util.EventObject 继承的字段 |
|---|
source |
| 构造方法摘要 | |
|---|---|
PrintJobAttributeEvent(DocPrintJob source,
PrintJobAttributeSet attributes)
构造一个 PrintJobAttributeEvent 对象。 |
|
| 方法摘要 | |
|---|---|
PrintJobAttributeSet |
getAttributes()
确定已经更改的打印属性及其新值。 |
DocPrintJob |
getPrintJob()
确定此打印作业事件适合的 Print Job。 |
| 从类 javax.print.event.PrintEvent 继承的方法 |
|---|
toString |
| 从类 java.util.EventObject 继承的方法 |
|---|
getSource |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 构造方法详细信息 |
|---|
public PrintJobAttributeEvent(DocPrintJob source,
PrintJobAttributeSet attributes)
source - 生成此事件的打印作业attributes - 要报告的属性更改
IllegalArgumentException - 如果 source 为 null。| 方法详细信息 |
|---|
public DocPrintJob getPrintJob()
public PrintJobAttributeSet getAttributes()
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2004 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。