public static enum Telepen.TelepenMode extends java.lang.Enum<Telepen.TelepenMode>
Enum Constant and Description |
---|
TELEPEN_MODE_ASCII
ASCII文字として変換します Convert as ASCII characters |
TELEPEN_MODE_NUMERIC
数字として変換します Convert as a number |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
static Telepen.TelepenMode |
valueOf(int id) |
static Telepen.TelepenMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Telepen.TelepenMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Telepen.TelepenMode TELEPEN_MODE_NUMERIC
public static final Telepen.TelepenMode TELEPEN_MODE_ASCII
public static Telepen.TelepenMode[] values()
for (Telepen.TelepenMode c : Telepen.TelepenMode.values()) System.out.println(c);
public static Telepen.TelepenMode 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 static Telepen.TelepenMode valueOf(int id)
public int getId()