public enum CurrencyDisplay extends Enum<CurrencyDisplay> implements Key
Enum Constant and Description |
---|
CODE
To use the ISO currency code.
|
NAME
To use a localized currency name such as "dollar".
|
NARROW_SYMBOL
To use a narrow format symbol ("$100" rather than "US$100").
|
SYMBOL
To use a localized currency symbol such as €, this is the default value.
|
Modifier and Type | Method and Description |
---|---|
String |
value()
Returns the name value of property
|
static CurrencyDisplay |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CurrencyDisplay[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
checkAndGetIfValid, checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValid
public static final CurrencyDisplay SYMBOL
public static final CurrencyDisplay NARROW_SYMBOL
public static final CurrencyDisplay CODE
public static final CurrencyDisplay NAME
public static CurrencyDisplay[] values()
for (CurrencyDisplay c : CurrencyDisplay.values()) System.out.println(c);
public static CurrencyDisplay 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 null