public enum PercentUnit extends Enum<PercentUnit>
Enum Constant and Description |
---|
DECIMAL |
DECIMAL_INVERT |
DEFAULT |
PERCENT |
PERCENT_INVERT |
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
static PercentUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PercentUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PercentUnit DEFAULT
public static final PercentUnit DECIMAL
public static final PercentUnit PERCENT
public static final PercentUnit DECIMAL_INVERT
public static final PercentUnit PERCENT_INVERT
public static PercentUnit[] values()
for (PercentUnit c : PercentUnit.values()) System.out.println(c);
public static PercentUnit 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 nullCopyright © 2022. All rights reserved.