Package com.openinventor.meshviz.graph
Enum PoLabel.Positions
- java.lang.Object
- 
- java.lang.Enum<PoLabel.Positions>
- 
- com.openinventor.meshviz.graph.PoLabel.Positions
 
 
- 
- All Implemented Interfaces:
- IntegerValuedEnum,- java.io.Serializable,- java.lang.Comparable<PoLabel.Positions>
 - Enclosing class:
- PoLabel
 
 public static enum PoLabel.Positions extends java.lang.Enum<PoLabel.Positions> implements IntegerValuedEnum Position of the labels.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description MIDDLE_POSThe abscissas (resp ordinate) is given by the current mesh 1D geometry and the ordinate (resp.THRESHOLD_POSThe abscissas (resp ordinate) is given by the current mesh 1D geometry and the ordinate (resp.VALUE_POSThe label position is the given by the current mesh geometry.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetValue()Returns the integer value of the enum constant.static PoLabel.PositionsvalueOf(int val)Returns the enum constant of this type with the specified integer valuestatic PoLabel.PositionsvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PoLabel.Positions[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
VALUE_POSpublic static final PoLabel.Positions VALUE_POS The label position is the given by the current mesh geometry.
 - 
MIDDLE_POSpublic static final PoLabel.Positions MIDDLE_POS The abscissas (resp ordinate) is given by the current mesh 1D geometry and the ordinate (resp. abscissas) is at the middle between the mesh ordinate (reps. abscissas) and the threshold field.
 - 
THRESHOLD_POSpublic static final PoLabel.Positions THRESHOLD_POS The abscissas (resp ordinate) is given by the current mesh 1D geometry and the ordinate (resp. abscissas) is the threshold field.
 
- 
 - 
Method Detail- 
valuespublic static PoLabel.Positions[] 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 (PoLabel.Positions c : PoLabel.Positions.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static PoLabel.Positions 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 name
- java.lang.NullPointerException- if the argument is null
 
 - 
valueOfpublic static PoLabel.Positions 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.
 
 - 
getValuepublic int getValue() Description copied from interface:IntegerValuedEnumReturns the integer value of the enum constant.- Specified by:
- getValuein interface- IntegerValuedEnum
- Returns:
- the integer value of the enum constant.
 
 
- 
 
-