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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFormElementRendererViewsConfiguration(@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 aFormElementRendererViewsConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable StringReturns the value of theinputCheckboxrecord component.@Nullable StringReturns the value of theinputDaterecord component.@Nullable StringReturns the value of theinputDateTimeLocalrecord component.@Nullable StringReturns the value of theinputEmailrecord component.@Nullable StringReturns the value of theinputHiddenrecord component.@Nullable StringReturns the value of theinputNumberrecord component.@Nullable StringReturns the value of theinputPasswordrecord component.@Nullable StringReturns the value of theinputRadiorecord component.@Nullable StringReturns the value of theinputSubmitrecord component.@Nullable StringinputTel()Returns the value of theinputTelrecord component.@Nullable StringReturns the value of theinputTextrecord component.@Nullable StringReturns the value of theinputTimerecord component.@Nullable StringinputUrl()Returns the value of theinputUrlrecord component.@Nullable Stringoption()Returns the value of theoptionrecord component.@Nullable Stringselect()Returns the value of theselectrecord component.@Nullable Stringtextarea()Returns the value of thetextarearecord component.final StringtoString()Returns a string representation of this record class.@Nullable StringReturns the value of thetrixEditorrecord 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 aFormElementRendererViewsConfigurationrecord class.- Parameters:
inputCheckbox- the value for theinputCheckboxrecord componentinputDate- the value for theinputDaterecord componentinputDateTimeLocal- the value for theinputDateTimeLocalrecord componentinputEmail- the value for theinputEmailrecord componentinputHidden- the value for theinputHiddenrecord componentinputNumber- the value for theinputNumberrecord componentinputPassword- the value for theinputPasswordrecord componentinputRadio- the value for theinputRadiorecord componentinputSubmit- the value for theinputSubmitrecord componentinputTel- the value for theinputTelrecord componentinputText- the value for theinputTextrecord componentinputTime- the value for theinputTimerecord componentinputUrl- the value for theinputUrlrecord componentoption- the value for theoptionrecord componentselect- the value for theselectrecord componenttextarea- the value for thetextarearecord componenttrixEditor- the value for thetrixEditorrecord 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 theinputCheckboxrecord component.- Returns:
- the value of the
inputCheckboxrecord component
-
inputDate
Returns the value of theinputDaterecord component.- Returns:
- the value of the
inputDaterecord component
-
inputDateTimeLocal
Returns the value of theinputDateTimeLocalrecord component.- Returns:
- the value of the
inputDateTimeLocalrecord component
-
inputEmail
Returns the value of theinputEmailrecord component.- Returns:
- the value of the
inputEmailrecord component
-
inputHidden
Returns the value of theinputHiddenrecord component.- Returns:
- the value of the
inputHiddenrecord component
-
inputNumber
Returns the value of theinputNumberrecord component.- Returns:
- the value of the
inputNumberrecord component
-
inputPassword
Returns the value of theinputPasswordrecord component.- Returns:
- the value of the
inputPasswordrecord component
-
inputRadio
Returns the value of theinputRadiorecord component.- Returns:
- the value of the
inputRadiorecord component
-
inputSubmit
Returns the value of theinputSubmitrecord component.- Returns:
- the value of the
inputSubmitrecord component
-
inputTel
Returns the value of theinputTelrecord component.- Returns:
- the value of the
inputTelrecord component
-
inputText
Returns the value of theinputTextrecord component.- Returns:
- the value of the
inputTextrecord component
-
inputTime
Returns the value of theinputTimerecord component.- Returns:
- the value of the
inputTimerecord component
-
inputUrl
Returns the value of theinputUrlrecord component.- Returns:
- the value of the
inputUrlrecord component
-
option
Returns the value of theoptionrecord component.- Returns:
- the value of the
optionrecord component
-
select
Returns the value of theselectrecord component.- Returns:
- the value of the
selectrecord component
-
textarea
Returns the value of thetextarearecord component.- Returns:
- the value of the
textarearecord component
-
trixEditor
Returns the value of thetrixEditorrecord component.- Returns:
- the value of the
trixEditorrecord component
-