Interface BooleanDialogInput.Builder
- Enclosing interface:
BooleanDialogInput
A builder for a boolean dialog input.
Created via DialogInput.bool(String, Component)
-
Method Details
-
initial
Sets the initial value of the input.- Parameters:
initial
- true if the input is initially true, false otherwise- Returns:
- this builder
-
onTrue
Sets the input's value in a template when the value is true.- Parameters:
onTrue
- the string to use when the input is true- Returns:
- this builder
-
onFalse
Sets the input's value in a template when the value is false.- Parameters:
onFalse
- the string to use when the input is false- Returns:
- this builder
-
build
Builds the instance with the configured values.- Returns:
- a new instance
-