Record Class FormElementRendererViewsConfiguration
java.lang.Object
java.lang.Record
io.micronaut.views.fields.render.views.FormElementRendererViewsConfiguration
- Record Components:
inputCheckbox
- The view name for a field of type input checkbox.inputDate
- The view name for a field of type input date.inputDateTimeLocal
- The view name for a field of type input datetime-local.inputEmail
- The view name for a field of type input email.inputHidden
- The view name for a field of type input hidden.inputNumber
- The view name for a field of type input number.inputPassword
- The view name for a field of type input password.inputRadio
- The view name for a field of type input radio.inputSubmit
- The view name for a field of type input submit.inputTel
- The view name for a field of type input tel.inputText
- The view name for a field of type input text.inputTime
- The view name for a field of type input time.inputUrl
- The view name for a field of type input url.option
- The view name to render an option html element.select
- The view name for a field of type select.textarea
- The view name to render a textarea html element.trixEditor
- The view name for a field of type trix-editor.
@ConfigurationProperties("micronaut.views.form-element.render.views")
public record FormElementRendererViewsConfiguration(@Nullable String inputCheckbox, @Nullable String inputDate, @Nullable String inputDateTimeLocal, @Nullable String inputEmail, @Nullable String inputHidden, @Nullable String inputNumber, @Nullable String inputPassword, @Nullable String inputRadio, @Nullable String inputSubmit, @Nullable String inputTel, @Nullable String inputText, @Nullable String inputTime, @Nullable String inputUrl, @Nullable String option, @Nullable String select, @Nullable String textarea, @Nullable String trixEditor)
extends Record
Configuration for
FormElementRenderer
based on views.- Since:
- 4.1.0
- Author:
- Sergio del Amo
-
Field Summary
-
Constructor Summary
ConstructorDescriptionFormElementRendererViewsConfiguration
(@Nullable String inputCheckbox, @Nullable String inputDate, @Nullable String inputDateTimeLocal, @Nullable String inputEmail, @Nullable String inputHidden, @Nullable String inputNumber, @Nullable String inputPassword, @Nullable String inputRadio, @Nullable String inputSubmit, @Nullable String inputTel, @Nullable String inputText, @Nullable String inputTime, @Nullable String inputUrl, @Nullable String option, @Nullable String select, @Nullable String textarea, @Nullable String trixEditor) Creates an instance of aFormElementRendererViewsConfiguration
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.@Nullable String
Returns the value of theinputCheckbox
record component.@Nullable String
Returns the value of theinputDate
record component.@Nullable String
Returns the value of theinputDateTimeLocal
record component.@Nullable String
Returns the value of theinputEmail
record component.@Nullable String
Returns the value of theinputHidden
record component.@Nullable String
Returns the value of theinputNumber
record component.@Nullable String
Returns the value of theinputPassword
record component.@Nullable String
Returns the value of theinputRadio
record component.@Nullable String
Returns the value of theinputSubmit
record component.@Nullable String
inputTel()
Returns the value of theinputTel
record component.@Nullable String
Returns the value of theinputText
record component.@Nullable String
Returns the value of theinputTime
record component.@Nullable String
inputUrl()
Returns the value of theinputUrl
record component.@Nullable String
option()
Returns the value of theoption
record component.@Nullable String
select()
Returns the value of theselect
record component.@Nullable String
textarea()
Returns the value of thetextarea
record component.final String
toString()
Returns a string representation of this record class.@Nullable String
Returns the value of thetrixEditor
record component.
-
Field Details
-
PREFIX
Configuration Prefix.- See Also:
-
-
Constructor Details
-
FormElementRendererViewsConfiguration
public FormElementRendererViewsConfiguration(@Nullable @Nullable String inputCheckbox, @Nullable @Nullable String inputDate, @Nullable @Nullable String inputDateTimeLocal, @Nullable @Nullable String inputEmail, @Nullable @Nullable String inputHidden, @Nullable @Nullable String inputNumber, @Nullable @Nullable String inputPassword, @Nullable @Nullable String inputRadio, @Nullable @Nullable String inputSubmit, @Nullable @Nullable String inputTel, @Nullable @Nullable String inputText, @Nullable @Nullable String inputTime, @Nullable @Nullable String inputUrl, @Nullable @Nullable String option, @Nullable @Nullable String select, @Nullable @Nullable String textarea, @Nullable @Nullable String trixEditor) Creates an instance of aFormElementRendererViewsConfiguration
record class.- Parameters:
inputCheckbox
- the value for theinputCheckbox
record componentinputDate
- the value for theinputDate
record componentinputDateTimeLocal
- the value for theinputDateTimeLocal
record componentinputEmail
- the value for theinputEmail
record componentinputHidden
- the value for theinputHidden
record componentinputNumber
- the value for theinputNumber
record componentinputPassword
- the value for theinputPassword
record componentinputRadio
- the value for theinputRadio
record componentinputSubmit
- the value for theinputSubmit
record componentinputTel
- the value for theinputTel
record componentinputText
- the value for theinputText
record componentinputTime
- the value for theinputTime
record componentinputUrl
- the value for theinputUrl
record componentoption
- the value for theoption
record componentselect
- the value for theselect
record componenttextarea
- the value for thetextarea
record componenttrixEditor
- the value for thetrixEditor
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
inputCheckbox
Returns the value of theinputCheckbox
record component.- Returns:
- the value of the
inputCheckbox
record component
-
inputDate
Returns the value of theinputDate
record component.- Returns:
- the value of the
inputDate
record component
-
inputDateTimeLocal
Returns the value of theinputDateTimeLocal
record component.- Returns:
- the value of the
inputDateTimeLocal
record component
-
inputEmail
Returns the value of theinputEmail
record component.- Returns:
- the value of the
inputEmail
record component
-
inputHidden
Returns the value of theinputHidden
record component.- Returns:
- the value of the
inputHidden
record component
-
inputNumber
Returns the value of theinputNumber
record component.- Returns:
- the value of the
inputNumber
record component
-
inputPassword
Returns the value of theinputPassword
record component.- Returns:
- the value of the
inputPassword
record component
-
inputRadio
Returns the value of theinputRadio
record component.- Returns:
- the value of the
inputRadio
record component
-
inputSubmit
Returns the value of theinputSubmit
record component.- Returns:
- the value of the
inputSubmit
record component
-
inputTel
Returns the value of theinputTel
record component.- Returns:
- the value of the
inputTel
record component
-
inputText
Returns the value of theinputText
record component.- Returns:
- the value of the
inputText
record component
-
inputTime
Returns the value of theinputTime
record component.- Returns:
- the value of the
inputTime
record component
-
inputUrl
Returns the value of theinputUrl
record component.- Returns:
- the value of the
inputUrl
record component
-
option
Returns the value of theoption
record component.- Returns:
- the value of the
option
record component
-
select
Returns the value of theselect
record component.- Returns:
- the value of the
select
record component
-
textarea
Returns the value of thetextarea
record component.- Returns:
- the value of the
textarea
record component
-
trixEditor
Returns the value of thetrixEditor
record component.- Returns:
- the value of the
trixEditor
record component
-