Enum Class PiecewiseVisualSetRangePolicy

java.lang.Object
java.lang.Enum<PiecewiseVisualSetRangePolicy>
com.amalgamasimulation.visualsets.utils.PiecewiseVisualSetRangePolicy
All Implemented Interfaces:
Serializable, Comparable<PiecewiseVisualSetRangePolicy>, Constable

public enum PiecewiseVisualSetRangePolicy extends Enum<PiecewiseVisualSetRangePolicy>
Used to set the data extraction policy for the IPiecewiseVisualSet displayed on the chart.
  • Enum Constant Details

    • FULL_DATA_RANGE

      public static final PiecewiseVisualSetRangePolicy FULL_DATA_RANGE
      Prepares a full data set (all existed data points in Piecewise function). Takes longer to prepare data for each new discretization factor, but speeds up zoom and pan if the factor has not changed.
    • DISPLAYED_RANGE_ONLY

      public static final PiecewiseVisualSetRangePolicy DISPLAYED_RANGE_ONLY
      Prepares data set limited by displayed range to display on a chart. It takes less time to prepare data for each new factor, but zoom and pan will work slower if the factor remains the same. Recommended for charts where zoom and pan are not used or are used to a limited extent.
  • Method Details

    • values

      public static PiecewiseVisualSetRangePolicy[] 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 PiecewiseVisualSetRangePolicy 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