Option.ButtonOption, Option.CheckOption, Option.ComboOption, Option.SpinOption, Option.StringOption
Constructor and Description |
---|
CheckOption(String name,
Boolean defaultValue)
Constructs a check option instance.
|
public CheckOption(String name, Boolean defaultValue) throws NullPointerException
name
- The name of the option. Cannot be null.defaultValue
- Whether it is set by default. Cannot be null.NullPointerException
- If any of the parameters are null.Copyright © 2020. All rights reserved.