Package com.openinventor.meshviz.graph
Enum PoHighLowClose.HorCloseBarPositions
- java.lang.Object
-
- java.lang.Enum<PoHighLowClose.HorCloseBarPositions>
-
- com.openinventor.meshviz.graph.PoHighLowClose.HorCloseBarPositions
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<PoHighLowClose.HorCloseBarPositions>
- Enclosing class:
- PoHighLowClose
public static enum PoHighLowClose.HorCloseBarPositions extends java.lang.Enum<PoHighLowClose.HorCloseBarPositions> implements IntegerValuedEnum
Position of the horizontal close bar.
-
-
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 PoHighLowClose.HorCloseBarPositions
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic PoHighLowClose.HorCloseBarPositions
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PoHighLowClose.HorCloseBarPositions[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LEFT
public static final PoHighLowClose.HorCloseBarPositions LEFT
The horizontal close bar is on the left of the vertical close bar.
-
MIDDLE
public static final PoHighLowClose.HorCloseBarPositions MIDDLE
The horizontal close bar is on the middle of the vertical close bar.
-
RIGHT
public static final PoHighLowClose.HorCloseBarPositions RIGHT
The horizontal close bar is on the right of the vertical close bar.
-
-
Method Detail
-
values
public static PoHighLowClose.HorCloseBarPositions[] 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 (PoHighLowClose.HorCloseBarPositions c : PoHighLowClose.HorCloseBarPositions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PoHighLowClose.HorCloseBarPositions 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 PoHighLowClose.HorCloseBarPositions 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.
-
-