Class TrixEditorFormElement.Builder
java.lang.Object
io.micronaut.views.fields.elements.TrixEditorFormElement.Builder
- Enclosing class:
- TrixEditorFormElement
Textarea form builder.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NonNull TrixEditorFormElement
build()
@NonNull TrixEditorFormElement.Builder
@NonNull TrixEditorFormElement.Builder
@NonNull TrixEditorFormElement.Builder
@NonNull TrixEditorFormElement.Builder
@NonNull TrixEditorFormElement.Builder
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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
- html to be loaded in the editor- Returns:
- the Builder
-
label
- Parameters:
label
- represents a caption for an item in a user interface- Returns:
- The Builder
-
errors
@NonNull public @NonNull TrixEditorFormElement.Builder errors(@NonNull @NonNull List<Message> errors) - Parameters:
errors
- Form element validation Errors.- Returns:
- The Builder
-
build
- Returns:
- Creates a Trix Editor FormElement.
-