Package com.grapecity.documents.excel
Enum Class BarcodeType
- All Implemented Interfaces:
Serializable,Comparable<BarcodeType>,Constable
Specifies the type of barcode.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSummary: Codabar uses A B C D + - : , / and numbers.Code 128 uses the complete ASCII character set.Summary: Code 39 uses numbers, % * $ /.Code 49 is a 2D high-density stacked barcode.Summary: Code 93 uses uppercase, % $ * / , + -, and numbers.Summary: Data Matrix is a high density, two-dimensional barcode with square modules arranged in a square or rectangular matrix pattern.Summary: EAN-13 uses only numbers (12 numbers and a check digit).Summary: EAN-8 uses only numbers (7 numbers and a check digit).Summary: Uses the complete ASCII character Set.Summary: Pdf417 is a popular high-density 2-dimensional symbology that encodes up to 1108 bytes of information.Summary: QRCode is a 2D symbology that is capable of handling numeric, alphanumeric and byte data as well as Japanese kanji and kana characters. -
Method Summary
Modifier and TypeMethodDescriptionstatic BarcodeTypeforValue(int value) Retrieves the enum constant corresponding to the specified integer value.intgetValue()Retrieves the integer value representing the enum constant.static BarcodeTypeReturns the enum constant of this class with the specified name.static BarcodeType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
QRCode
Summary: QRCode is a 2D symbology that is capable of handling numeric, alphanumeric and byte data as well as Japanese kanji and kana characters. This symbology can encode up to 7,366 characters. -
DataMatrix
Summary: Data Matrix is a high density, two-dimensional barcode with square modules arranged in a square or rectangular matrix pattern. -
PDF417
Summary: Pdf417 is a popular high-density 2-dimensional symbology that encodes up to 1108 bytes of information. This barcode consists of a stacked set of smaller barcodes. Encodes the full ASCII character set. Capable of encoding as many as 2725 data characters. -
EAN8
Summary: EAN-8 uses only numbers (7 numbers and a check digit). -
EAN13
Summary: EAN-13 uses only numbers (12 numbers and a check digit). If there are only 12 numbers in the string, it calculates a checksum and adds it to the thirteenth position. If there are 13, it validates the checksum and throws an error if it is incorrect. -
Code39
Summary: Code 39 uses numbers, % * $ /. , - +, and upper case. -
Code93
Summary: Code 93 uses uppercase, % $ * / , + -, and numbers. -
Code49
Code 49 is a 2D high-density stacked barcode. Encodes the complete ASCII character set. -
Code128
Code 128 uses the complete ASCII character set. Automatically selects between Code 128 A, B and C to give the smallest barcode. -
Codabar
Summary: Codabar uses A B C D + - : , / and numbers. -
GS1_128
Summary: Uses the complete ASCII character Set. This is a special version of Code 128 used in HIBC applications.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public int getValue()Retrieves the integer value representing the enum constant.- Returns:
- The ordinal value of the enum constant.
-
forValue
Retrieves the enum constant corresponding to the specified integer value.- Parameters:
value- The integer value representing the enum constant.- Returns:
- The BarcodeType enum constant.
-