Class TextareaFormElement.Builder
java.lang.Object
io.micronaut.views.fields.elements.TextareaFormElement.Builder
- Enclosing class:
 - TextareaFormElement
 
Textarea form builder.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescription@NonNull TextareaFormElementbuild()@NonNull TextareaFormElement.Builder@NonNull TextareaFormElement.Builder@NonNull TextareaFormElement.Builder@NonNull TextareaFormElement.Builder@NonNull TextareaFormElement.Builder@NonNull TextareaFormElement.Builderplaceholder(@NonNull String placeholder) @NonNull TextareaFormElement.BuilderreadOnly(boolean readOnly) @NonNull TextareaFormElement.Builderrequired(boolean required) @NonNull TextareaFormElement.Builder@NonNull TextareaFormElement.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
 
 - 
readOnly
- Parameters:
 readOnly- indicates that the user cannot modify the value of the control- Returns:
 - The Builder
 
 - 
rows
- Parameters:
 rows- The number of visible text lines for the control.- Returns:
 - The Builder
 
 - 
cols
- Parameters:
 cols- The visible width of the text control, in average character widths- 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
 
 - 
placeholder
@NonNull public @NonNull TextareaFormElement.Builder placeholder(@NonNull @NonNull String placeholder) - Parameters:
 placeholder- The placeholder attribute is a string that provides a brief hint to the user as to what kind of information is expected in the field.- Returns:
 - the Builder
 
 - 
value
- Parameters:
 value- text area content- Returns:
 - the Builder
 
 - 
label
- Parameters:
 label- represents a caption for an item in a user interface- Returns:
 - The Builder
 
 - 
errors
- Parameters:
 errors- Form element validation Errors.- Returns:
 - The Builder
 
 - 
build
- Returns:
 - Creates a TextAreaFormElement.
 
 
 -