|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.print.attribute.EnumSyntax
javax.print.attribute.standard.PrinterState
public final class PrinterState
The PrinterState
printing attribute reports
the current state of the printer device.
The PrinterStateReasons
attribute provides further detailed information about
the given printer state. Detailed information about the printer
state and printer state reasons attributes can be found in the
RFC 2911.
IPP Compatibility: PrinterState is an IPP 1.1 attribute.
Field Summary | |
---|---|
static PrinterState |
IDLE
The printer device is in idle state. |
static PrinterState |
PROCESSING
The printer device is in processing state. |
static PrinterState |
STOPPED
The printer device has stopped. |
static PrinterState |
UNKNOWN
The state is unknown currently. |
Constructor Summary | |
---|---|
protected |
PrinterState(int value)
Constructs a PrinterState object. |
Method Summary | |
---|---|
Class<? extends Attribute> |
getCategory()
Returns category of this class. |
protected EnumSyntax[] |
getEnumValueTable()
Returns a table with the enumeration values for this object. |
String |
getName()
Returns the name of this attribute. |
protected String[] |
getStringTable()
Returns a table with the enumeration values represented as strings for this object. |
Methods inherited from class javax.print.attribute.EnumSyntax |
---|
clone, getOffset, getValue, hashCode, readResolve, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final PrinterState UNKNOWN
public static final PrinterState IDLE
public static final PrinterState PROCESSING
public static final PrinterState STOPPED
Constructor Detail |
---|
protected PrinterState(int value)
PrinterState
object.
value
- the enum value.Method Detail |
---|
public Class<? extends Attribute> getCategory()
getCategory
in interface Attribute
PrinterState
itself.public String getName()
getName
in interface Attribute
protected String[] getStringTable()
getStringTable
in class EnumSyntax
protected EnumSyntax[] getEnumValueTable()
getEnumValueTable
in class EnumSyntax
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |