Package com.grapecity.documents.excel
Enum Class BarcodeType
- All Implemented Interfaces:
Serializable,Comparable<BarcodeType>,Constable
指定条形码的类型。
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription概要:Codabar使用 A B C D + - : , / 以及数字。Code 128使用完整的ASCII字符集。自动在Code 128 A、B和C之间选择以生成最小的条形码。概要:Code 39使用数字、% $ /.Code 49是一种二维高密度堆叠条形码。编码完整的ASCII字符集。概要:Code 93使用大写字母、% $ / , + -, 和数字。概要:数据矩阵是一种高密度、二维条码,具有按方形或矩形矩阵图案排列的方形模块。概要:EAN-13仅使用数字(12个数字和一个校验位)。如果字符串中只有12个数字,它会计算校验和并将其添加到第13个位置。如果有13个数字,它会验证校验和,并在不正确时抛出错误。摘要:EAN-8仅使用数字(7个数字和一个校验数字)。概要:使用完整的ASCII字符集。这是在HIBC应用中使用的一种特殊的Code 128版本。概要:Pdf417是一种流行的高密度二维符号,可编码多达1108字节的信息。这种条码由一组堆叠的小型条码组成。编码完整的ASCII字符集。能够编码多达2725个数据字符。摘要:QR码是一种二维符号,能够处理数字、字母数字和字节数据以及日本汉字和假名字符。这种符号最多可以编码7,366个字符。 -
Method Summary
Modifier and TypeMethodDescriptionstatic BarcodeTypeforValue(int value) 根据指定的整数值获取对应的枚举常量。intgetValue()获取表示枚举常量的整数值。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
摘要:QR码是一种二维符号,能够处理数字、字母数字和字节数据以及日本汉字和假名字符。这种符号最多可以编码7,366个字符。 -
DataMatrix
概要:数据矩阵是一种高密度、二维条码,具有按方形或矩形矩阵图案排列的方形模块。 -
PDF417
概要:Pdf417是一种流行的高密度二维符号,可编码多达1108字节的信息。这种条码由一组堆叠的小型条码组成。编码完整的ASCII字符集。能够编码多达2725个数据字符。 -
EAN8
摘要:EAN-8仅使用数字(7个数字和一个校验数字)。 -
EAN13
概要:EAN-13仅使用数字(12个数字和一个校验位)。如果字符串中只有12个数字,它会计算校验和并将其添加到第13个位置。如果有13个数字,它会验证校验和,并在不正确时抛出错误。 -
Code39
概要:Code 39使用数字、% $ /. ,- +,以及大写字母。 -
Code93
概要:Code 93使用大写字母、% $ / , + -, 和数字。 -
Code49
Code 49是一种二维高密度堆叠条形码。编码完整的ASCII字符集。 -
Code128
Code 128使用完整的ASCII字符集。自动在Code 128 A、B和C之间选择以生成最小的条形码。 -
Codabar
概要:Codabar使用 A B C D + - : , / 以及数字。 -
GS1_128
概要:使用完整的ASCII字符集。这是在HIBC应用中使用的一种特殊的Code 128版本。
-
-
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()获取表示枚举常量的整数值。- Returns:
- 枚举常量的序数值。
-
forValue
根据指定的整数值获取对应的枚举常量。- Parameters:
value- 表示枚举常量的整数值。- Returns:
- BarcodeType 枚举常量。
-