public Spinner (int min, int max, int initialValue)

Creates a Spinner instance with the value factory set to be an instance of SpinnerValueFactory.IntegerSpinnerValueFactory. Note that if this constructor is called, the only valid generic type for the Spinner instance is Integer, i.e. Spinner<Integer>.

Parameters:
min    The minimum allowed integer value for the Spinner.
max    The maximum allowed integer value for the Spinner.
initialValue    The value of the Spinner when first instantiated, must be within the bounds of the min and max arguments, or else the min value will be used.