Package com.aspose.barcode.generation
Enum CodeLocation
- java.lang.Object
-
- java.lang.Enum<CodeLocation>
-
- com.aspose.barcode.generation.CodeLocation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CodeLocation>
public enum CodeLocation extends java.lang.Enum<CodeLocation>
Codetext location
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Enum Constant Detail
-
BELOW
public static final CodeLocation BELOW
Codetext below barcode.
-
ABOVE
public static final CodeLocation ABOVE
Codetext above barcode.
-
NONE
public static final CodeLocation NONE
Hide codetext.
-
-
Method Detail
-
values
public static CodeLocation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CodeLocation c : CodeLocation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CodeLocation valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public int getValue()
-
-