public final class PrinterState extends EnumSyntax implements PrintServiceAttribute
PrinterStateReasons
PrinterState属性的属性增加给了国家关于打印机打印机的更详细的信息。
通过getName()
返回聚丙烯的相容性:类别名称是IPP的属性名称。枚举的整数值为IPP的枚举值。的toString()
方法返回属性值的字符串表示形式的IPP。
Modifier and Type | Field and Description |
---|---|
static PrinterState |
IDLE
表示新的作业可以开始处理而不需要等待。
|
static PrinterState |
PROCESSING
表示作业正在处理;新的作业将在处理之前等待。
|
static PrinterState |
STOPPED
表明,没有工作可以被处理和干预是必需的。
|
static PrinterState |
UNKNOWN
打印机状态未知。
|
Modifier | Constructor and Description |
---|---|
protected |
PrinterState(int value)
用给定的整数值构造一个新的打印机状态枚举值。
|
Modifier and Type | Method and Description |
---|---|
类<? extends Attribute> |
getCategory()
获取要用作该打印属性值的“类别”的打印属性类。
|
protected EnumSyntax[] |
getEnumValueTable()
返回舱printerstate枚举值表。
|
String |
getName()
获取此属性值的类别的名称,即一个实例。
|
protected String[] |
getStringTable()
返回舱printerstate字符串表。
|
clone, getOffset, getValue, hashCode, readResolve, toString
public static final PrinterState UNKNOWN
public static final PrinterState IDLE
public static final PrinterState PROCESSING
public static final PrinterState STOPPED
protected PrinterState(int value)
value
整型值。
protected String[] getStringTable()
getStringTable
方法重写,继承类
EnumSyntax
protected EnumSyntax[] getEnumValueTable()
getEnumValueTable
方法重写,继承类
EnumSyntax
public final 类<? extends Attribute> getCategory()
printerstate类,类类printerstate本身。
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.