public enum BcrEnableControl extends java.lang.Enum<BcrEnableControl>
Enum Constant and Description |
---|
FULL
Barcode reader can be explicitly enabled and disabled.
|
NONE
No barcode control is available.
|
TOGGLE
Barcode reader can be toggled on and off.
|
Modifier and Type | Method and Description |
---|---|
static BcrEnableControl |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BcrEnableControl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BcrEnableControl NONE
CFD.setEnabled(boolean)
has no effect.public static final BcrEnableControl TOGGLE
CFD.setEnabled(boolean)
will change the state between on and off, but the parameter will be ignored.public static final BcrEnableControl FULL
CFD.setEnabled(boolean)
will change the peripheral to the state requested by the parameterpublic static BcrEnableControl[] values()
for (BcrEnableControl c : BcrEnableControl.values()) System.out.println(c);
public static BcrEnableControl 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