public static enum ScannerConfig.AimingPattern extends Enum<ScannerConfig.AimingPattern>
Enum Constant and Description |
---|
OFF
Aiming pattern is turned off.
|
ON
Aiming pattern is turned on.
|
Modifier and Type | Method and Description |
---|---|
static ScannerConfig.AimingPattern |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScannerConfig.AimingPattern[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScannerConfig.AimingPattern OFF
public static final ScannerConfig.AimingPattern ON
public static ScannerConfig.AimingPattern[] values()
for (ScannerConfig.AimingPattern c : ScannerConfig.AimingPattern.values()) System.out.println(c);
public static ScannerConfig.AimingPattern 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