Record Class InputSubmitFormElement
java.lang.Object
java.lang.Record
io.micronaut.views.fields.elements.InputSubmitFormElement
- Record Components:
value- a string which is displayed as the button's label.
- All Implemented Interfaces:
InputFormElement, FormElement
@Introspected(builder=@IntrospectionBuilder(builderClass=InputSubmitFormElement.Builder.class))
public record InputSubmitFormElement(@NonNull Message value)
extends Record
implements InputFormElement
- Since:
- 4.1.0
- Author:
- Sergio del Amo
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionInputSubmitFormElement(@NonNull Message value) Creates an instance of aInputSubmitFormElementrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull InputSubmitFormElement.Builderbuilder()final booleanIndicates whether some other object is "equal to" this one.@NonNull InputTypegetType()final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.@NonNull Messagevalue()Returns the value of thevaluerecord component.Methods inherited from interface InputFormElement
getTag
-
Constructor Details
-
InputSubmitFormElement
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceInputFormElement- Returns:
- Value of the type attribute of an input tag
-
builder
- Returns:
InputSubmitFormElementbuilder.
-
toString
-
hashCode
-
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). -
value
-