public static enum CockpitValueControl.ValueFormat extends java.lang.Enum<CockpitValueControl.ValueFormat>
CockpitControl
.Enum Constant and Description |
---|
EMPTY
Empty.
|
TEXT
Text.
|
VALUE
Value.
|
VALUE_MAX
Value/Max.
|
VALUE_PERCENT
Value in %.
|
Modifier and Type | Method and Description |
---|---|
static CockpitValueControl.ValueFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CockpitValueControl.ValueFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CockpitValueControl.ValueFormat VALUE
public static final CockpitValueControl.ValueFormat VALUE_MAX
public static final CockpitValueControl.ValueFormat VALUE_PERCENT
public static final CockpitValueControl.ValueFormat EMPTY
public static final CockpitValueControl.ValueFormat TEXT
public static CockpitValueControl.ValueFormat[] values()
for (CockpitValueControl.ValueFormat c : CockpitValueControl.ValueFormat.values()) System.out.println(c);
public static CockpitValueControl.ValueFormat valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null