public static enum Command.STATUS extends Enum<Command.STATUS>
Enum Constant and Description |
---|
PRINTER_ERROR
Error state
|
PRINTER_OFFLINE
Offline state
|
PRINTER_PAPER
Paper status
|
PRINTER_STATUS
Printer status
|
Modifier and Type | Method and Description |
---|---|
byte |
getValue() |
static Command.STATUS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Command.STATUS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Command.STATUS PRINTER_STATUS
public static final Command.STATUS PRINTER_OFFLINE
public static final Command.STATUS PRINTER_ERROR
public static final Command.STATUS PRINTER_PAPER
public static Command.STATUS[] values()
for (Command.STATUS c : Command.STATUS.values()) System.out.println(c);
public static Command.STATUS valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic byte getValue()