estimatedValueStep property

double estimatedValueStep
final

The estimated value change when the slider thumb jumps between divisions.

The divisions that this ExpandableSlider have are computed based on this value, as the truncated division between (max - min) and this value. It is preferred to set this value such that (max - min) is divisible by this value, so that every jump between divisions always implies the same change in the slider's value.

For example, if max == 11, min == 0, and estimatedValueStep == 2, some jumps between divisions will imply a change in value of 2, and some of them will imply a change in value of 3. On the other hand, if max == 10, min == 0, and estimatedValueStep == 2, all jumps between divisions will imply a change in value of 2, since (10 - 0) % 2 == 0.

Implementation

final double estimatedValueStep;