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
  • Enum Constant Details

    • ENABLED

      public static final AbstractLineVisualSet.Extrapolation 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

      public static final AbstractLineVisualSet.Extrapolation 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

      public static final AbstractLineVisualSet.Extrapolation TO_MAXIMUM_ARGUMENT_ONLY
      Extrapolate plot to the maximum argument among all visual sets displayed on the chart.
    • DISABLED

      public static final AbstractLineVisualSet.Extrapolation DISABLED
      No extrapolation defined.
  • Method Details

    • values

      public static AbstractLineVisualSet.Extrapolation[] 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

      public static AbstractLineVisualSet.Extrapolation valueOf(String name)
      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 name
      NullPointerException - if the argument is null