public enum ChoiceType extends Enum<ChoiceType> implements I18nAble
| Modifier and Type | Method and Description |
|---|---|
String |
getI18nKey() |
static ChoiceType |
valueOf(int ordinal) |
static ChoiceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChoiceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChoiceType TEXT
public static final ChoiceType DATE
public static final ChoiceType IMAGE
public static ChoiceType[] values()
for (ChoiceType c : ChoiceType.values()) System.out.println(c);
public static ChoiceType 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 getI18nKey()
getI18nKey in interface I18nAblepublic static ChoiceType valueOf(int ordinal)
Copyright © 2009–2013 CodeLutin. All rights reserved.