Option.ButtonOption, Option.CheckOption, Option.ComboOption, Option.SpinOption, Option.StringOption
Constructor and Description |
---|
SpinOption(String name,
Integer defaultValue,
Integer min,
Integer max)
Constructs a spin option instance.
|
public SpinOption(String name, Integer defaultValue, Integer min, Integer max) throws NullPointerException
name
- The name of the option. Cannot be null.defaultValue
- The value of the spin option by default. Cannot be null.min
- The minimum accepted value for the option (inclusive). Cannot be null.max
- The maximum accepted value for the option (inclusive). Cannot be null.NullPointerException
- If any of the parameters are null.Copyright © 2020. All rights reserved.