public enum CodeLocation extends java.lang.Enum<CodeLocation>
Specifies the location of the code text shown in the image.
Enum Constant and Description |
---|
Above
Specifies that the code text is shown on the top of the bar code.
|
Below
Specifies that the code text is shown on the bottom of the bar code.
|
None
Specifies that the code text is hidden.
|
Right
Specifies that the code text is shown on the right of the bar code.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getCodeLocationName(int codeLocation)
Deprecated.
|
static int |
getCodeLocationValue(java.lang.String codeLocation)
Deprecated.
|
int |
getValue() |
static CodeLocation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CodeLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodeLocation Above
Specifies that the code text is shown on the top of the bar code.
public static final CodeLocation Below
Specifies that the code text is shown on the bottom of the bar code.
public static final CodeLocation None
Specifies that the code text is hidden.
public static final CodeLocation Right
Specifies that the code text is shown on the right of the bar code.
public static CodeLocation[] values()
for (CodeLocation c : CodeLocation.values()) System.out.println(c);
public static CodeLocation 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 int getValue()
@Deprecated public static java.lang.String getCodeLocationName(int codeLocation)
@Deprecated public static int getCodeLocationValue(java.lang.String codeLocation)