public enum AssistantButton extends java.lang.Enum<AssistantButton>
Enum Constant and Description |
---|
BUTTON_1 |
BUTTON_2 |
BUTTON_3 |
BUTTON_4 |
BUTTON_CANCEL |
Modifier and Type | Method and Description |
---|---|
static AssistantButton |
getAssistantButtonByCode(java.lang.String code) |
java.lang.String |
getCode() |
java.lang.String |
getTitle() |
static AssistantButton |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AssistantButton[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssistantButton BUTTON_1
public static final AssistantButton BUTTON_2
public static final AssistantButton BUTTON_3
public static final AssistantButton BUTTON_4
public static final AssistantButton BUTTON_CANCEL
public static AssistantButton[] values()
for (AssistantButton c : AssistantButton.values()) System.out.println(c);
public static AssistantButton 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 java.lang.String getCode()
public java.lang.String getTitle()
public static AssistantButton getAssistantButtonByCode(java.lang.String code)