public enum ELanguage extends Enum<ELanguage> implements INamedUiElement
ATTR_DISPLAY_NAME
Modifier and Type | Method and Description |
---|---|
static ELanguage[] |
all() |
static ELanguage |
getByLocale(Locale loc) |
String |
getDisplayName(Locale l) |
Locale |
getLocale() |
static ELanguage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ELanguage |
valueOfOrNull(String string) |
static ELanguage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static ELanguage[] values()
for (ELanguage c : ELanguage.values()) System.out.println(c);
public static ELanguage 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 getDisplayName(Locale l)
getDisplayName
in interface INamedUiElement
public Locale getLocale()
public static ELanguage[] all()
Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.