Package io.mateu.dtos

Record Class FormLayoutDto

java.lang.Object
java.lang.Record
io.mateu.dtos.FormLayoutDto
All Implemented Interfaces:
ComponentMetadataDto

public record FormLayoutDto(boolean autoResponsive, boolean labelsAside, int maxColumns, String columnWidth, boolean expandColumns, boolean expandFields, Object responsiveSteps, String itemLabelWidth, String columnSpacing, String itemRowSpacing, String itemLabelSpacing) extends Record implements ComponentMetadataDto
Metadata for a horizontal layout. Child componentIds are in the HorizontalLayout component itself
  • Constructor Summary

    Constructors
    Constructor
    Description
    FormLayoutDto(boolean autoResponsive, boolean labelsAside, int maxColumns, String columnWidth, boolean expandColumns, boolean expandFields, Object responsiveSteps, String itemLabelWidth, String columnSpacing, String itemRowSpacing, String itemLabelSpacing)
    Creates an instance of a FormLayoutDto record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns the value of the autoResponsive record component.
    Returns the value of the columnSpacing record component.
    Returns the value of the columnWidth record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    boolean
    Returns the value of the expandColumns record component.
    boolean
    Returns the value of the expandFields record component.
    final int
    Returns a hash code value for this object.
    Returns the value of the itemLabelSpacing record component.
    Returns the value of the itemLabelWidth record component.
    Returns the value of the itemRowSpacing record component.
    boolean
    Returns the value of the labelsAside record component.
    int
    Returns the value of the maxColumns record component.
    Returns the value of the responsiveSteps record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • FormLayoutDto

      public FormLayoutDto(boolean autoResponsive, boolean labelsAside, int maxColumns, String columnWidth, boolean expandColumns, boolean expandFields, Object responsiveSteps, String itemLabelWidth, String columnSpacing, String itemRowSpacing, String itemLabelSpacing)
      Creates an instance of a FormLayoutDto record class.
      Parameters:
      autoResponsive - the value for the autoResponsive record component
      labelsAside - the value for the labelsAside record component
      maxColumns - the value for the maxColumns record component
      columnWidth - the value for the columnWidth record component
      expandColumns - the value for the expandColumns record component
      expandFields - the value for the expandFields record component
      responsiveSteps - the value for the responsiveSteps record component
      itemLabelWidth - the value for the itemLabelWidth record component
      columnSpacing - the value for the columnSpacing record component
      itemRowSpacing - the value for the itemRowSpacing record component
      itemLabelSpacing - the value for the itemLabelSpacing record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • autoResponsive

      public boolean autoResponsive()
      Returns the value of the autoResponsive record component.
      Returns:
      the value of the autoResponsive record component
    • labelsAside

      public boolean labelsAside()
      Returns the value of the labelsAside record component.
      Returns:
      the value of the labelsAside record component
    • maxColumns

      public int maxColumns()
      Returns the value of the maxColumns record component.
      Returns:
      the value of the maxColumns record component
    • columnWidth

      public String columnWidth()
      Returns the value of the columnWidth record component.
      Returns:
      the value of the columnWidth record component
    • expandColumns

      public boolean expandColumns()
      Returns the value of the expandColumns record component.
      Returns:
      the value of the expandColumns record component
    • expandFields

      public boolean expandFields()
      Returns the value of the expandFields record component.
      Returns:
      the value of the expandFields record component
    • responsiveSteps

      public Object responsiveSteps()
      Returns the value of the responsiveSteps record component.
      Returns:
      the value of the responsiveSteps record component
    • itemLabelWidth

      public String itemLabelWidth()
      Returns the value of the itemLabelWidth record component.
      Returns:
      the value of the itemLabelWidth record component
    • columnSpacing

      public String columnSpacing()
      Returns the value of the columnSpacing record component.
      Returns:
      the value of the columnSpacing record component
    • itemRowSpacing

      public String itemRowSpacing()
      Returns the value of the itemRowSpacing record component.
      Returns:
      the value of the itemRowSpacing record component
    • itemLabelSpacing

      public String itemLabelSpacing()
      Returns the value of the itemLabelSpacing record component.
      Returns:
      the value of the itemLabelSpacing record component