Record Class ResponsiveStepPropertyValue
java.lang.Object
java.lang.Record
com.vaadin.copilot.javarewriter.custom.expressionresolver.formlayout.ResponsiveStepPropertyValue
- Record Components:
minWidth- the minimum width that activates the stepcolumn- the number of columns for the steplabelsPosition- labels position for the step, when defined
public record ResponsiveStepPropertyValue(String minWidth, int column, String labelsPosition)
extends Record
Property value representation of a
FormLayout.ResponsiveStep.-
Constructor Summary
ConstructorsConstructorDescriptionResponsiveStepPropertyValue(String minWidth, int column, String labelsPosition) Creates an instance of aResponsiveStepPropertyValuerecord class. -
Method Summary
Modifier and TypeMethodDescriptionintcolumn()Returns the value of thecolumnrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelabelsPositionrecord component.minWidth()Returns the value of theminWidthrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ResponsiveStepPropertyValue
Creates an instance of aResponsiveStepPropertyValuerecord class.- Parameters:
minWidth- the value for theminWidthrecord componentcolumn- the value for thecolumnrecord componentlabelsPosition- the value for thelabelsPositionrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
minWidth
Returns the value of theminWidthrecord component.- Returns:
- the value of the
minWidthrecord component
-
column
public int column()Returns the value of thecolumnrecord component.- Returns:
- the value of the
columnrecord component
-
labelsPosition
Returns the value of thelabelsPositionrecord component.- Returns:
- the value of the
labelsPositionrecord component
-