Class InputRadioFormElement.Builder
java.lang.Object
io.micronaut.views.fields.elements.InputRadioFormElement.Builder
- Enclosing class:
- InputRadioFormElement
An
InputRadioFormElement
Builder.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
@NonNull InputRadioFormElement.Builder
@NonNull InputRadioFormElement.Builder
@NonNull InputRadioFormElement.Builder
required
(boolean required)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
label
- Parameters:
label
- represents a caption for an item in a user interface- Returns:
- The Builder
-
name
- Parameters:
name
- Name of the form control. Submitted with the form as part of a name/value pair- Returns:
- the Builder
-
required
- Parameters:
required
- If true indicates that the user must specify a value for the input before the owning form can be submitted.- Returns:
- the Builder
-
buttons
- Parameters:
buttons
- Radio Buttons- Returns:
- The Builder
-
build
- Returns:
- Instantiates a
InputRadioFormElement
.
-