public static enum ScannerInfo.DeviceType extends Enum<ScannerInfo.DeviceType>
Example Usage: DeviceType.LASER;
Enum Constant and Description |
---|
CAMERA
The Scanner device class is camera.
|
IMAGER
The scanner device class is imager.
|
LASER
The scanner device class is laser.
|
UNDEFINED
The scanner device class is not defined.
|
Modifier and Type | Method and Description |
---|---|
static ScannerInfo.DeviceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScannerInfo.DeviceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScannerInfo.DeviceType CAMERA
public static final ScannerInfo.DeviceType IMAGER
public static final ScannerInfo.DeviceType LASER
public static final ScannerInfo.DeviceType UNDEFINED
public static ScannerInfo.DeviceType[] values()
for (ScannerInfo.DeviceType c : ScannerInfo.DeviceType.values()) System.out.println(c);
public static ScannerInfo.DeviceType 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 null