Enum Class QrcodeImage.EncMode
- すべての実装されたインタフェース:
Serializable
,Comparable<QrcodeImage.EncMode>
,Constable
- 含まれているクラス:
- QrcodeImage
エンコードモード ('N':数字モード 'A':英数字モード 'B':8bit byteモード)
-
ネストされたクラスの概要
クラスから継承されたネストされたクラス/インタフェース java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
列挙型定数の概要
列挙定数 -
フィールドの概要
フィールド -
メソッドの概要
修飾子とタイプメソッド説明static QrcodeImage.EncMode
get
(char ch) エンコードモードを指定する文字から、エンコードモード enum を作成します。char
getCh()
エンコードモードを表す文字 'N':数字モード 'A':英数字モード 'B':8bit byteモードint
getNo()
エンコードモードの番号を返します。static QrcodeImage.EncMode
Returns the enum constant of this class with the specified name.static QrcodeImage.EncMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
列挙型定数の詳細
-
N
エンコードモード -
A
エンコードモード -
B
エンコードモード
-
-
フィールド詳細
-
DEF
初期エンコードモード
-
-
メソッドの詳細
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 戻り値:
- 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.)- パラメータ:
name
- 返される列挙型定数の名前。- 戻り値:
- 指定した名前の列挙型定数
- 例外:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- 引数がnullの場合
-
getNo
エンコードモードの番号を返します。 'N'=0:数字モード 'A'=1:英数字モード 'B'=1:8bit byteモード- 戻り値:
- エンコードモードの番号
-
getCh
エンコードモードを表す文字 'N':数字モード 'A':英数字モード 'B':8bit byteモード- 戻り値:
- エンコードモードを指定する文字('N':数字モード 'A':英数字モード 'B':8bit byteモード)
-
get
エンコードモードを指定する文字から、エンコードモード enum を作成します。 'N':数字モード 'A':英数字モード 'B':8bit byteモード- パラメータ:
ch
- エンコードモードを指定する文字- 戻り値:
- エンコードモード
-