Package com.uc4.api.objects
Enum CockpitValueControl.ValueFormat
- java.lang.Object
-
- java.lang.Enum<CockpitValueControl.ValueFormat>
-
- com.uc4.api.objects.CockpitValueControl.ValueFormat
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CockpitValueControl.ValueFormat>
- Enclosing class:
- CockpitValueControl
public static enum CockpitValueControl.ValueFormat extends java.lang.Enum<CockpitValueControl.ValueFormat>
Format of the 2nd caption of theCockpitControl
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EMPTY
Empty.TEXT
Text.VALUE
Value.VALUE_MAX
Value/Max.VALUE_PERCENT
Value in %.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
VALUE
public static final CockpitValueControl.ValueFormat VALUE
Value.
-
VALUE_MAX
public static final CockpitValueControl.ValueFormat VALUE_MAX
Value/Max.
-
VALUE_PERCENT
public static final CockpitValueControl.ValueFormat VALUE_PERCENT
Value in %.
-
EMPTY
public static final CockpitValueControl.ValueFormat EMPTY
Empty.
-
TEXT
public static final CockpitValueControl.ValueFormat TEXT
Text.
-
-
Method Detail
-
values
public static CockpitValueControl.ValueFormat[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CockpitValueControl.ValueFormat c : CockpitValueControl.ValueFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CockpitValueControl.ValueFormat valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-