public enum UpcCompositeMode extends java.lang.Enum<UpcCompositeMode> implements IEnumType
Enum Constant and Description |
---|
AutodiscriminateUpcComposites
the decoder determines if there is a 2D portion, then
transmits the UPC, as well as the 2D portion if present.
|
UPCAlwaysLinked
transmit UPC bar codes and the 2D portion.
|
UPCNeverLinked
transmit UPC bar codes regardless of whether a 2D symbol is detected.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
java.lang.String |
toString() |
static UpcCompositeMode |
valueOf(int code) |
static UpcCompositeMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UpcCompositeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpcCompositeMode UPCNeverLinked
public static final UpcCompositeMode UPCAlwaysLinked
public static final UpcCompositeMode AutodiscriminateUpcComposites
public static UpcCompositeMode[] values()
for (UpcCompositeMode c : UpcCompositeMode.values()) System.out.println(c);
public static UpcCompositeMode 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 nullpublic java.lang.String toString()
toString
in interface IEnumType
toString
in class java.lang.Enum<UpcCompositeMode>
public static UpcCompositeMode valueOf(int code)