Package com.openinventor.meshviz.graph
Enum PoLabelField.ConcatTypes
- java.lang.Object
-
- java.lang.Enum<PoLabelField.ConcatTypes>
-
- com.openinventor.meshviz.graph.PoLabelField.ConcatTypes
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<PoLabelField.ConcatTypes>
- Enclosing class:
- PoLabelField
public static enum PoLabelField.ConcatTypes extends java.lang.Enum<PoLabelField.ConcatTypes> implements IntegerValuedEnum
Type of string concatenation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description STRING_ABOVE_VALUE
Strings are concatenated above values.STRING_BEFORE_VALUE
Strings are concatenated before values.VALUE_ABOVE_STRING
Values are concatenated above strings.VALUE_BEFORE_STRING
Values are concatenated before strings.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
Returns the integer value of the enum constant.static PoLabelField.ConcatTypes
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic PoLabelField.ConcatTypes
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PoLabelField.ConcatTypes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING_BEFORE_VALUE
public static final PoLabelField.ConcatTypes STRING_BEFORE_VALUE
Strings are concatenated before values.
-
VALUE_BEFORE_STRING
public static final PoLabelField.ConcatTypes VALUE_BEFORE_STRING
Values are concatenated before strings.
-
STRING_ABOVE_VALUE
public static final PoLabelField.ConcatTypes STRING_ABOVE_VALUE
Strings are concatenated above values.
-
VALUE_ABOVE_STRING
public static final PoLabelField.ConcatTypes VALUE_ABOVE_STRING
Values are concatenated above strings.
-
-
Method Detail
-
values
public static PoLabelField.ConcatTypes[] 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 (PoLabelField.ConcatTypes c : PoLabelField.ConcatTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PoLabelField.ConcatTypes 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
-
valueOf
public static PoLabelField.ConcatTypes valueOf(int val)
Returns the enum constant of this type with the specified integer value- Returns:
- the enum constant of this type with the specified integer value.
-
getValue
public int getValue()
Description copied from interface:IntegerValuedEnum
Returns the integer value of the enum constant.- Specified by:
getValue
in interfaceIntegerValuedEnum
- Returns:
- the integer value of the enum constant.
-
-