- java.lang.Object
 -  
      
- java.util.EventObject
 -  
        
- javax.print.event.PrintEvent
 -  
          
- javax.print.event.PrintJobAttributeEvent
 
 
 
 
-  
       
- 实现的所有接口
 -  
         
Serializable 
public class PrintJobAttributeEvent extends PrintEvent
类PrintJobAttributeEvent封装事件的PrintService报告,让客户知道,对一个或多个打印属性PrintJob已经改变。- 另请参见:
 - Serialized Form
 
 
-  
        
       
-  
             
字段汇总
-  
               
声明的属性在类 java.util.EventObject
source 
 -  
               
 
-  
             
构造方法摘要
构造方法 构造器 描述 PrintJobAttributeEvent(DocPrintJob source, PrintJobAttributeSet attributes)构造一个PrintJobAttributeEvent对象。 
-  
             
方法摘要
所有方法 实例方法 具体的方法 变量和类型 方法 描述 PrintJobAttributeSetgetAttributes()确定更改的打印属性及其新值。DocPrintJobgetPrintJob()确定此打印作业事件所属的PrintJob。-  
               
声明方法的类 javax.print.event.PrintEvent
toString 
-  
               
声明方法的类 java.util.EventObject
getSource 
 -  
               
 
 -  
             
 
-  
        
       
-  
             
构造方法详细信息
-  
PrintJobAttributeEvent
public PrintJobAttributeEvent(DocPrintJob source, PrintJobAttributeSet attributes)
构造一个PrintJobAttributeEvent对象。- 参数
 -  
              
source- 生成此事件的打印作业 -  
              
attributes- 报告的属性更改 - 异常
 -  
              
IllegalArgumentException- 如果source是null 
 
 -  
 
-  
             
方法详细信息
-  
getPrintJob
public DocPrintJob getPrintJob()
确定此打印作业事件所属的PrintJob。- 结果
 -  
              
PrintJob对象 
 
-  
getAttributes
public PrintJobAttributeSet getAttributes()
确定更改的打印属性及其新值。- 结果
 - 包含已更改的打印作业属性的新值的属性。 返回的集可能无法修改。
 
 
 -  
 
 -