public void increment ()

Attempts to increment the value factory by one step, by calling the SpinnerValueFactory.increment(int) method with an argument of one. If the value factory is null, an IllegalStateException is thrown.

Exceptions:
IllegalStateException    if the value factory returned by calling getValueFactory() is null.