Enum AggregatingTimeGraphModel.AggregationPolicy
- java.lang.Object
-
- java.lang.Enum<AggregatingTimeGraphModel.AggregationPolicy>
-
- org.teamapps.ux.component.timegraph.AggregatingTimeGraphModel.AggregationPolicy
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AggregatingTimeGraphModel.AggregationPolicy>
- Enclosing class:
- AggregatingTimeGraphModel
public static enum AggregatingTimeGraphModel.AggregationPolicy extends java.lang.Enum<AggregatingTimeGraphModel.AggregationPolicy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVERAGEFIRST_VALUEMAXMIN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AggregatingTimeGraphModel.AggregationPolicyvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AggregatingTimeGraphModel.AggregationPolicy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIRST_VALUE
public static final AggregatingTimeGraphModel.AggregationPolicy FIRST_VALUE
-
MIN
public static final AggregatingTimeGraphModel.AggregationPolicy MIN
-
AVERAGE
public static final AggregatingTimeGraphModel.AggregationPolicy AVERAGE
-
MAX
public static final AggregatingTimeGraphModel.AggregationPolicy MAX
-
-
Method Detail
-
values
public static AggregatingTimeGraphModel.AggregationPolicy[] 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 (AggregatingTimeGraphModel.AggregationPolicy c : AggregatingTimeGraphModel.AggregationPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AggregatingTimeGraphModel.AggregationPolicy 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
-
-