Class InputTimeFormElement.Builder
java.lang.Object
io.micronaut.views.fields.elements.InputTimeFormElement.Builder
- Enclosing class:
- InputTimeFormElement
Input Date Builder.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NonNull InputTimeFormElement
build()
@NonNull InputTimeFormElement.Builder
@NonNull InputTimeFormElement.Builder
@NonNull InputTimeFormElement.Builder
@NonNull InputTimeFormElement.Builder
@NonNull InputTimeFormElement.Builder
@NonNull InputTimeFormElement.Builder
@NonNull InputTimeFormElement.Builder
required
(boolean required) @NonNull InputTimeFormElement.Builder
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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
-
max
- Parameters:
max
- The latest date to accept- Returns:
- The Builder
-
min
- Parameters:
min
- The earliest date to accept.- 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
-
id
- Parameters:
id
- It defines an identifier (ID) which must be unique in the whole document- Returns:
- The Builder
-
value
- Parameters:
value
- The value attribute of the input element- Returns:
- the Builder
-
label
- Parameters:
label
- represents a caption for an item in a user interface- Returns:
- The Builder
-
errors
@NonNull public @NonNull InputTimeFormElement.Builder errors(@NonNull @NonNull List<Message> errors) - Parameters:
errors
- Form element validation Errors.- Returns:
- The Builder
-
build
- Returns:
- Creates a
InputTimeFormElement
.
-