public class SimpleStepper extends Stepper
| Constructor and Description |
|---|
SimpleStepper(double threshold)
Initialize the simple sequential stepper with a starting threshold.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getValue()
Get the current threshold.
|
boolean |
isFinished()
Indicates if the stepper is marked as finished.
|
void |
update(double value)
Decrement the threshold if the stepper is not marked as finished.
|
public SimpleStepper(double threshold)
threshold - The starting threshold.public void update(double value)
value is not a number,
below or equal zero or bigger than the last update value. The same
thing happens if the internal threshold falls below one.public double getValue()
public boolean isFinished()
isFinished in class StepperCopyright © 2015–2021 Fiji. All rights reserved.