Package com.openinventor.meshviz.graph
Enum PoLinearValueLegend.ValueDistributions
- java.lang.Object
-
- java.lang.Enum<PoLinearValueLegend.ValueDistributions>
-
- com.openinventor.meshviz.graph.PoLinearValueLegend.ValueDistributions
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<PoLinearValueLegend.ValueDistributions>
- Enclosing class:
- PoLinearValueLegend
public static enum PoLinearValueLegend.ValueDistributions extends java.lang.Enum<PoLinearValueLegend.ValueDistributions> implements IntegerValuedEnum
Type of distribution of the values.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_VALUES
All the values of the legend are displayed.LINEAR_VALUES
The values of the legend are displayed like a linear axis.MIN_MAX_VALUES
Only the minimum and maximum of the values of the legend are displayed.
-
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 PoLinearValueLegend.ValueDistributions
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic PoLinearValueLegend.ValueDistributions
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PoLinearValueLegend.ValueDistributions[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL_VALUES
public static final PoLinearValueLegend.ValueDistributions ALL_VALUES
All the values of the legend are displayed.
-
LINEAR_VALUES
public static final PoLinearValueLegend.ValueDistributions LINEAR_VALUES
The values of the legend are displayed like a linear axis.
-
MIN_MAX_VALUES
public static final PoLinearValueLegend.ValueDistributions MIN_MAX_VALUES
Only the minimum and maximum of the values of the legend are displayed.
-
-
Method Detail
-
values
public static PoLinearValueLegend.ValueDistributions[] 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 (PoLinearValueLegend.ValueDistributions c : PoLinearValueLegend.ValueDistributions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PoLinearValueLegend.ValueDistributions 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 PoLinearValueLegend.ValueDistributions 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.
-
-