Package com.openinventor.meshviz.graph
Enum PoHistogram.Positions
- java.lang.Object
-
- java.lang.Enum<PoHistogram.Positions>
-
- com.openinventor.meshviz.graph.PoHistogram.Positions
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<PoHistogram.Positions>
- Enclosing class:
- PoHistogram
public static enum PoHistogram.Positions extends java.lang.Enum<PoHistogram.Positions> implements IntegerValuedEnum
Type of positions relative to a histogram bar.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description POS_BOTTOM_IN
At the bottom inside the bar.POS_BOTTOM_OUT
At the bottom outside the bar.POS_CENTER
Centered in the bar.POS_DEPEND
Depends on the type of histogram.POS_LEFT_IN
At the left inside the bar.POS_LEFT_OUT
At the left outside the bar.POS_RIGHT_IN
At the right inside the bar.POS_RIGHT_OUT
At the right outside the bar.POS_TOP_IN
At the top inside the bar.POS_TOP_OUT
At the top outside the 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 PoHistogram.Positions
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic PoHistogram.Positions
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PoHistogram.Positions[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
POS_TOP_OUT
public static final PoHistogram.Positions POS_TOP_OUT
At the top outside the bar.
-
POS_TOP_IN
public static final PoHistogram.Positions POS_TOP_IN
At the top inside the bar.
-
POS_BOTTOM_OUT
public static final PoHistogram.Positions POS_BOTTOM_OUT
At the bottom outside the bar.
-
POS_BOTTOM_IN
public static final PoHistogram.Positions POS_BOTTOM_IN
At the bottom inside the bar.
-
POS_RIGHT_OUT
public static final PoHistogram.Positions POS_RIGHT_OUT
At the right outside the bar.
-
POS_RIGHT_IN
public static final PoHistogram.Positions POS_RIGHT_IN
At the right inside the bar.
-
POS_LEFT_OUT
public static final PoHistogram.Positions POS_LEFT_OUT
At the left outside the bar.
-
POS_LEFT_IN
public static final PoHistogram.Positions POS_LEFT_IN
At the left inside the bar.
-
POS_CENTER
public static final PoHistogram.Positions POS_CENTER
Centered in the bar.
-
POS_DEPEND
public static final PoHistogram.Positions POS_DEPEND
Depends on the type of histogram.
-
-
Method Detail
-
values
public static PoHistogram.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 (PoHistogram.Positions c : PoHistogram.Positions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PoHistogram.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 namejava.lang.NullPointerException
- if the argument is null
-
valueOf
public static PoHistogram.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.
-
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.
-
-