Package com.openinventor.meshviz.nodes
Enum PoLabelHints.LabelPaths
- java.lang.Object
-
- java.lang.Enum<PoLabelHints.LabelPaths>
-
- com.openinventor.meshviz.nodes.PoLabelHints.LabelPaths
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<PoLabelHints.LabelPaths>
- Enclosing class:
- PoLabelHints
public static enum PoLabelHints.LabelPaths extends java.lang.Enum<PoLabelHints.LabelPaths> implements IntegerValuedEnum
Label path type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PATH_DEPEND
Automatic choice of writing path depending on.PATH_DOWN
Writing labels from top to bottom.PATH_LEFT
Writing labels from right to left.PATH_RIGHT
Writing labels from left to right.PATH_UP
Writing labels from bottom to top.
-
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 PoLabelHints.LabelPaths
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic PoLabelHints.LabelPaths
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PoLabelHints.LabelPaths[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PATH_RIGHT
public static final PoLabelHints.LabelPaths PATH_RIGHT
Writing labels from left to right.
-
PATH_LEFT
public static final PoLabelHints.LabelPaths PATH_LEFT
Writing labels from right to left.
-
PATH_UP
public static final PoLabelHints.LabelPaths PATH_UP
Writing labels from bottom to top.
-
PATH_DOWN
public static final PoLabelHints.LabelPaths PATH_DOWN
Writing labels from top to bottom.
-
PATH_DEPEND
public static final PoLabelHints.LabelPaths PATH_DEPEND
Automatic choice of writing path depending on. the representation type which uses this node.
-
-
Method Detail
-
values
public static PoLabelHints.LabelPaths[] 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 (PoLabelHints.LabelPaths c : PoLabelHints.LabelPaths.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PoLabelHints.LabelPaths 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 PoLabelHints.LabelPaths 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.
-
-