Module MaterialFX

Class IntegerSpinnerModel

All Implemented Interfaces:
SpinnerModel<Integer>

public class IntegerSpinnerModel extends NumberSpinnerModel<Integer>
Concrete implementation of NumberSpinnerModel to work with integer value.

The constructor initializes the model with these values:

- The converter uses Integer.parseInt(String) and Objects.toString(Object)

- The default value is 0

- The min value is 0

- The max value is Integer.MAX_VALUE

- The increment is 1

- The initial value depends on the chosen constructor