public enum OptionType extends Enum<OptionType>
Enum Constant and Description |
---|
CHECKBOX |
DATE |
RADIO |
SELECT |
SELECT_MULTIPLE |
TEXT |
Modifier and Type | Method and Description |
---|---|
static OptionType |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static OptionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OptionType SELECT
public static final OptionType SELECT_MULTIPLE
public static final OptionType RADIO
public static final OptionType CHECKBOX
public static final OptionType TEXT
public static final OptionType DATE
public static OptionType[] values()
for (OptionType c : OptionType.values()) System.out.println(c);
public static OptionType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
public String toString()
toString
in class Enum<OptionType>
public static OptionType fromValue(String text)
Copyright © 2011–2020 aiticon GmbH. All rights reserved.