- java.lang.Object
 -  
      
- javax.print.attribute.EnumSyntax
 -  
        
- javax.print.attribute.standard.JobSheets
 
 
 
-  
       
- All Implemented Interfaces:
 -  
         
Serializable,Cloneable,Attribute,PrintJobAttribute,PrintRequestAttribute 
public class JobSheets extends EnumSyntax implements PrintRequestAttribute, PrintJobAttribute
JobSheets类是打印属性类(枚举),用于确定必须使用作业打印哪些作业开始和结束工作表(如果有)。 类JobSheets为标准工作表值声明关键字。 也可以通过定义JobSheets类的子类来创建工作表属性的实现或站点定义的名称。根据特定JobSheets值的含义, JobSheets属性对多点打印作业(具有多个文档的作业)的影响可能会受到
MultipleDocumentHandling作业属性的影响。IPP兼容性:由
getName()返回的类别名称是IPP属性名称。 枚举的整数值是IPP枚举值。toString()方法返回属性值的IPP字符串表示形式。 对于一个子类,属性值必须被本地化以给出IPP名称和自然语言值。- 另请参见:
 - Serialized Form
 
 
-  
        
       
-  
             
构造方法摘要
构造方法 Modifier Constructor 描述 protectedJobSheets(int value)使用给定的整数值构造新的工作表枚举值。 
-  
             
方法摘要
所有方法 接口方法 具体的方法 Modifier and Type 方法 描述 Class<? extends Attribute>getCategory()获取要用作此打印属性值的“类别”的打印属性类。protected EnumSyntax[]getEnumValueTable()返回JobSheets类的枚举值表。StringgetName()获取此属性值是一个实例的类别的名称。protected String[]getStringTable()返回JobSheets类的字符串表。-  
               
Methods inherited from class javax.print.attribute.EnumSyntax
clone, getOffset, getValue, hashCode, readResolve, toString 
 -  
               
 
 -  
             
 
-  
        
       
-  
             
方法详细信息
-  
getStringTable
protected String[] getStringTable()
返回JobSheets类的字符串表。- 重写:
 -  
              
getStringTable在EnumSyntax - 结果
 - 字符串表
 
 
-  
getEnumValueTable
protected EnumSyntax[] getEnumValueTable()
返回JobSheets类的枚举值表。- 重写:
 -  
              
getEnumValueTable在EnumSyntax - 结果
 - 值表
 
 
-  
getCategory
public final Class<? extends Attribute> getCategory()
获取要用作此打印属性值的“类别”的打印属性类。对于JobSheets类和任何供应商定义的子类,该类别是JobSheets类。
- Specified by:
 -  
              
getCategory在接口Attribute - 结果
 -  
              打印属性类(category),一个
java.lang.Class类的实例。 
 
 -  
 
 -