set_range


Description:

public void set_range (double min, double max)

Sets the minimum and maximum allowable values for this.

If the current value is outside this range, it will be adjusted to fit within the range, otherwise it will remain unchanged.

Parameters:

this

a SpinButton

min

minimum allowable value

max

maximum allowable value