Fields Summary |
---|
private static final long | serialVersionUID |
public static final PrinterState | UNKNOWNThe printer state is unknown. |
public static final PrinterState | IDLEIndicates that new jobs can start processing without waiting. |
public static final PrinterState | PROCESSINGIndicates that jobs are processing;
new jobs will wait before processing. |
public static final PrinterState | STOPPEDIndicates that no jobs can be processed and intervention is required. |
private static final String[] | myStringTable |
private static final PrinterState[] | myEnumValueTable |
Methods Summary |
---|
public final java.lang.Class | getCategory()Get the printing attribute class which is to be used as the "category"
for this printing attribute value.
For class PrinterState, the category is class PrinterState itself.
return PrinterState.class;
|
protected javax.print.attribute.EnumSyntax[] | getEnumValueTable()Returns the enumeration value table for class PrinterState.
return myEnumValueTable;
|
public final java.lang.String | getName()Get the name of the category of which this attribute value is an
instance.
For class PrinterState, the category name is "printer-state" .
return "printer-state";
|
protected java.lang.String[] | getStringTable()Returns the string table for class PrinterState.
return myStringTable;
|