Enum Class AbstractLineVisualSet.Extrapolation
java.lang.Object
java.lang.Enum<AbstractLineVisualSet.Extrapolation>
com.amalgamasimulation.charts.visualsets.AbstractLineVisualSet.Extrapolation
- All Implemented Interfaces:
Serializable,Comparable<AbstractLineVisualSet.Extrapolation>,Constable
- Enclosing class:
AbstractLineVisualSet<T>
public static enum AbstractLineVisualSet.Extrapolation
extends Enum<AbstractLineVisualSet.Extrapolation>
Enumeration defining extrapolation, i.e. mode of extending a plot to some
value on the horizontal axis greater than the maximum value of the given
plot.
- Author:
- Aleksey
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNo extrapolation defined.Extrapolate plot to the maximum value of maximum argument among all visual sets displayed on the chart and the current argument along the horizontal axis.Extrapolate plot to the current argument along the horizontal axis if the current argument is greater than the maximum value of the plot.Extrapolate plot to the maximum argument among all visual sets displayed on the chart. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static AbstractLineVisualSet.Extrapolation[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ENABLED
Extrapolate plot to the maximum value of maximum argument among all visual sets displayed on the chart and the current argument along the horizontal axis. -
TO_CURRENT_ARGUMENT_ONLY
Extrapolate plot to the current argument along the horizontal axis if the current argument is greater than the maximum value of the plot. Does not extrapolate data if the current argument is not defined. -
TO_MAXIMUM_ARGUMENT_ONLY
Extrapolate plot to the maximum argument among all visual sets displayed on the chart. -
DISABLED
No extrapolation defined.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-