Class Radio.Builder
java.lang.Object
io.micronaut.views.fields.elements.Radio.Builder
- Enclosing class:
- Radio
A Radio Builder.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NonNull Radio
build()
@NonNull Radio.Builder
checked
(boolean checked) @NonNull Radio.Builder
disabled
(boolean disabled) @NonNull Radio.Builder
@NonNull Radio.Builder
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
value
- Parameters:
value
- the value of the input radio element- Returns:
- The Builder
-
id
- Parameters:
id
- It defines an identifier (ID) which must be unique in the whole document- Returns:
- The Builder
-
label
- Parameters:
label
- represents a caption for an item in a user interface- Returns:
- The Builder
-
checked
- Parameters:
checked
- whether the radio button is checked- Returns:
- The Builder
-
disabled
- Parameters:
disabled
- whether the radio button is disabled- Returns:
- The Builder
-
build
- Returns:
- creates the radio button
-