Class InputCheckboxFormElement.Builder
java.lang.Object
io.micronaut.views.fields.elements.InputCheckboxFormElement.Builder
- Enclosing class:
- InputCheckboxFormElement
Input checkbox builder.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NonNull InputCheckboxFormElement
build()
@NonNull InputCheckboxFormElement.Builder
checkboxes
(List<Checkbox> checkboxes) @NonNull InputCheckboxFormElement.Builder
@NonNull InputCheckboxFormElement.Builder
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
checkboxes
- Parameters:
checkboxes
- Checkboxes- Returns:
- The Builder
-
label
- Parameters:
label
- represents a caption for an item in a user interface- Returns:
- The Builder
-
errors
@NonNull public @NonNull InputCheckboxFormElement.Builder errors(@NonNull @NonNull List<Message> errors) - Parameters:
errors
- Form element validation Errors.- Returns:
- The Builder
-
build
- Returns:
- Creates a
InputCheckboxFormElement
-