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