| |
|
| java.lang.Object javax.print.attribute.EnumSyntax javax.print.attribute.standard.PrinterIsAcceptingJobs
PrinterIsAcceptingJobs | final public class PrinterIsAcceptingJobs extends EnumSyntax implements PrintServiceAttribute(Code) | | Class PrinterIsAcceptingJobs is a printing attribute class, an enumeration,
that indicates whether the printer is currently able to accept jobs. This
value is independent of the
PrinterState PrinterState and
PrinterStateReasons PrinterStateReasons attributes because its value does
not affect the current job; rather it affects future jobs. If the value is
NOT_ACCEPTING_JOBS, the printer will reject jobs even when the
PrinterState PrinterState is IDLE. If value is ACCEPTING_JOBS, the Printer
will accept jobs even when the
PrinterState PrinterState is STOPPED.
IPP Compatibility: The IPP boolean value is "true" for ACCEPTING_JOBS
and "false" for NOT_ACCEPTING_JOBS. TThe category name returned by
getName() is the IPP attribute name. The enumeration's
integer value is the IPP enum value. The toString() method
returns the IPP string representation of the attribute value.
author: Alan Kaminsky |
Constructor Summary | |
protected | PrinterIsAcceptingJobs(int value) Construct a new printer is accepting jobs enumeration value with the
given integer value. |
Method Summary | |
final public Class<? extends Attribute> | getCategory() Get the printing attribute class which is to be used as the "category"
for this printing attribute value.
For class PrinterIsAcceptingJobs, the
category is class PrinterIsAcceptingJobs itself. | protected EnumSyntax[] | getEnumValueTable() Returns the enumeration value table for class PrinterIsAcceptingJobs. | final public String | getName() Get the name of the category of which this attribute value is an
instance. | protected String[] | getStringTable() Returns the string table for class PrinterIsAcceptingJobs. |
NOT_ACCEPTING_JOBS | final public static PrinterIsAcceptingJobs NOT_ACCEPTING_JOBS(Code) | | The printer is currently rejecting any jobs sent to it.
|
PrinterIsAcceptingJobs | protected PrinterIsAcceptingJobs(int value)(Code) | | Construct a new printer is accepting jobs enumeration value with the
given integer value.
Parameters: value - Integer value. |
getCategory | final public Class<? extends Attribute> getCategory()(Code) | | Get the printing attribute class which is to be used as the "category"
for this printing attribute value.
For class PrinterIsAcceptingJobs, the
category is class PrinterIsAcceptingJobs itself.
Printing attribute class (category), an instance of classjava.lang.Class java.lang.Class. |
getEnumValueTable | protected EnumSyntax[] getEnumValueTable()(Code) | | Returns the enumeration value table for class PrinterIsAcceptingJobs.
|
getName | final public String getName()(Code) | | Get the name of the category of which this attribute value is an
instance.
For class PrinterIsAcceptingJobs, the
category name is "printer-is-accepting-jobs" .
Attribute category name. |
getStringTable | protected String[] getStringTable()(Code) | | Returns the string table for class PrinterIsAcceptingJobs.
|
|
|
|