public static enum OptionItem.ItemType extends java.lang.Enum<OptionItem.ItemType>
Enum Constant and Description |
---|
BOOLEAN_OPTION_ITEM
Boolean type option item.
|
MULTIPLE_CHOICE_OPTION_ITEM
Multiple choice type option item.
|
NUMBER_OPTION_ITEM
Number type option item.
|
SINGLE_CHOICE_OPTION_ITEM
Single choice type option item.
|
Modifier and Type | Method and Description |
---|---|
static OptionItem.ItemType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OptionItem.ItemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OptionItem.ItemType BOOLEAN_OPTION_ITEM
public static final OptionItem.ItemType SINGLE_CHOICE_OPTION_ITEM
public static final OptionItem.ItemType MULTIPLE_CHOICE_OPTION_ITEM
public static final OptionItem.ItemType NUMBER_OPTION_ITEM
public static OptionItem.ItemType[] values()
for (OptionItem.ItemType c : OptionItem.ItemType.values()) System.out.println(c);
public static OptionItem.ItemType 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 null