public static enum TLcdMeasureFormatUtil.MeasureTypeMode extends Enum<TLcdMeasureFormatUtil.MeasureTypeMode>
Enum Constant and Description |
---|
ALWAYS
Always include the measure type code.
|
AUTO
Include the measure type code when there are multiple measures with the same
unit type.
|
NEVER
Never include the measure type code.
|
Modifier and Type | Method and Description |
---|---|
static TLcdMeasureFormatUtil.MeasureTypeMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TLcdMeasureFormatUtil.MeasureTypeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TLcdMeasureFormatUtil.MeasureTypeMode NEVER
public static final TLcdMeasureFormatUtil.MeasureTypeMode AUTO
public static final TLcdMeasureFormatUtil.MeasureTypeMode ALWAYS
public static TLcdMeasureFormatUtil.MeasureTypeMode[] values()
for (TLcdMeasureFormatUtil.MeasureTypeMode c : TLcdMeasureFormatUtil.MeasureTypeMode.values()) System.out.println(c);
public static TLcdMeasureFormatUtil.MeasureTypeMode 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