Package com.openinventor.meshviz.graph
Enum PoCircleArc3.ArcTypes
- java.lang.Object
-
- java.lang.Enum<PoCircleArc3.ArcTypes>
-
- com.openinventor.meshviz.graph.PoCircleArc3.ArcTypes
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<PoCircleArc3.ArcTypes>
- Enclosing class:
- PoCircleArc3
public static enum PoCircleArc3.ArcTypes extends java.lang.Enum<PoCircleArc3.ArcTypes> implements IntegerValuedEnum
Type of the circle arc.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CENTER_CLOSE
The arc is closed by the circle center.END_CLOSE
The arc is closed by its extremities.OPENED
The arc is opened.
-
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 PoCircleArc3.ArcTypes
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic PoCircleArc3.ArcTypes
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PoCircleArc3.ArcTypes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OPENED
public static final PoCircleArc3.ArcTypes OPENED
The arc is opened.
-
END_CLOSE
public static final PoCircleArc3.ArcTypes END_CLOSE
The arc is closed by its extremities.
-
CENTER_CLOSE
public static final PoCircleArc3.ArcTypes CENTER_CLOSE
The arc is closed by the circle center.
-
-
Method Detail
-
values
public static PoCircleArc3.ArcTypes[] 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 (PoCircleArc3.ArcTypes c : PoCircleArc3.ArcTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PoCircleArc3.ArcTypes 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 PoCircleArc3.ArcTypes 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.
-
-