public final class JobPrioritySupported extends IntegerSyntax implements SupportedValuesAttribute
JobPriority属性和支持的不同作业优先级的数量。 
        客户端可以随时为作业指定任何JobPriority的值从1到100。 但是,打印服务实例可能支持少于100个不同的作业优先级。 如果是这种情况,打印服务实例会自动将客户机指定的作业优先级值映射到所支持的作业优先级之一,将可用作业优先级之间的100个作业优先级值平均分配。 
 IPP兼容性:整数值给出IPP整数值。 由getName()返回的类别名称提供IPP属性名称。 
| Constructor and Description | 
|---|
| JobPrioritySupported(int value)
              使用给定的整数值构造新的作业优先级支持属性。 
             | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object object)
              返回此作业优先级支持的属性是否等同于传入的对象。 
             | 
| 类<? extends Attribute> | getCategory()
              获取要用作此打印属性值的“类别”的打印属性类。 
             | 
| String | getName()
              获取此属性值是一个实例的类别的名称。 
             | 
getValue, hashCode, toStringpublic JobPrioritySupported(int value)
value - 支持的不同工作优先级的数量。 
           IllegalArgumentException - (未检查异常)如果 
            value小于1或大于100,则抛出。 
           public boolean equals(Object object)
object不为空。 object是JobPrioritySupported类的一个实例。 object的值相等。 equals在类别 
            IntegerSyntax 
           object - 要比较的对象。 
           object等效于此作业优先级支持的属性,则为True,否则为false。 
           Object.hashCode() , HashMap 
           public final 类<? extends Attribute> getCategory()
对于JobPrioritySupported类,该类别是JobPrioritySupported类。
getCategory在界面 
            Attribute 
           java.lang.Class的实例。 
            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.