Package com.vaadin.copilot.javarewriter
Record Class JavaRewriter.AlignmentValues
java.lang.Object
java.lang.Record
com.vaadin.copilot.javarewriter.JavaRewriter.AlignmentValues
- Enclosing class:
JavaRewriter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealignContentrecord component.Returns the value of thealignItemsrecord component.Returns the value of thealignSelfrecord component.final booleanIndicates whether some other object is "equal to" this one.flexGrow()Returns the value of theflexGrowrecord component.Returns the value of theflexShrinkrecord component.flexWrap()Returns the value of theflexWraprecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thejustifyContentrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AlignmentValues
public AlignmentValues(String flexWrap, String justifyContent, String alignItems, String alignContent, Integer flexGrow, Integer flexShrink, String alignSelf) Creates an instance of aAlignmentValuesrecord class.- Parameters:
flexWrap- the value for theflexWraprecord componentjustifyContent- the value for thejustifyContentrecord componentalignItems- the value for thealignItemsrecord componentalignContent- the value for thealignContentrecord componentflexGrow- the value for theflexGrowrecord componentflexShrink- the value for theflexShrinkrecord componentalignSelf- the value for thealignSelfrecord 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). -
flexWrap
Returns the value of theflexWraprecord component.- Returns:
- the value of the
flexWraprecord component
-
justifyContent
Returns the value of thejustifyContentrecord component.- Returns:
- the value of the
justifyContentrecord component
-
alignItems
Returns the value of thealignItemsrecord component.- Returns:
- the value of the
alignItemsrecord component
-
alignContent
Returns the value of thealignContentrecord component.- Returns:
- the value of the
alignContentrecord component
-
flexGrow
Returns the value of theflexGrowrecord component.- Returns:
- the value of the
flexGrowrecord component
-
flexShrink
Returns the value of theflexShrinkrecord component.- Returns:
- the value of the
flexShrinkrecord component
-
alignSelf
Returns the value of thealignSelfrecord component.- Returns:
- the value of the
alignSelfrecord component
-