public static enum StatusData.ScannerStates extends java.lang.Enum<StatusData.ScannerStates>
Enum Constant and Description |
---|
DISABLED
Scanner is not enabled.
|
ERROR
An error has occurred.
|
IDLE
Scanner is enabled but no reads are pending.
|
SCANNING
Scanner beam is on and it is acquiring data.
|
WAITING
Scanner has issued reads request and is waiting for trigger event.
|
Modifier and Type | Method and Description |
---|---|
static StatusData.ScannerStates |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StatusData.ScannerStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatusData.ScannerStates IDLE
public static final StatusData.ScannerStates WAITING
public static final StatusData.ScannerStates SCANNING
public static final StatusData.ScannerStates DISABLED
public static final StatusData.ScannerStates ERROR
public static StatusData.ScannerStates[] values()
for (StatusData.ScannerStates c : StatusData.ScannerStates.values()) System.out.println(c);
public static StatusData.ScannerStates valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null