public enum Style extends Enum<Style> implements Key
| Enum Constant and Description |
|---|
CURRENCY
For currency formatting.
|
DECIMAL
For plain number formatting.
|
PERCENT
For percent formatting.
|
UNIT
For unit formatting.
|
| Modifier and Type | Method and Description |
|---|---|
String |
value()
Returns the name value of property
|
static Style |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Style[] |
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, valueOfcheckAndGetIfValid, checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValidpublic static final Style DECIMAL
public static final Style CURRENCY
public static final Style PERCENT
public static final Style UNIT
public static Style[] values()
for (Style c : Style.values()) System.out.println(c);
public static Style 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