Enum Class PiecewiseVisualSetRangePolicy
java.lang.Object
java.lang.Enum<PiecewiseVisualSetRangePolicy>
com.amalgamasimulation.visualsets.utils.PiecewiseVisualSetRangePolicy
- All Implemented Interfaces:
Serializable,Comparable<PiecewiseVisualSetRangePolicy>,Constable
Used to set the data extraction policy for the IPiecewiseVisualSet displayed
on the chart.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPrepares data set limited by displayed range to display on a chart.Prepares a full data set (all existed data points in Piecewise function). -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static PiecewiseVisualSetRangePolicy[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
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
-