Package io.mateu.dtos

Record Class CarouselLayoutDto

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

public record CarouselLayoutDto(boolean alt, boolean animating, boolean auto, OrientationDto direction, boolean disabled, boolean disableSwipe, boolean disableKeys, int duration, boolean dots, boolean end, boolean loop, boolean nav, int selected, int total) extends Record implements ComponentMetadataDto
Metadata for a horizontal layout. Child componentIds are in the HorizontalLayout component itself
  • Constructor Summary

    Constructors
    Constructor
    Description
    CarouselLayoutDto(boolean alt, boolean animating, boolean auto, OrientationDto direction, boolean disabled, boolean disableSwipe, boolean disableKeys, int duration, boolean dots, boolean end, boolean loop, boolean nav, int selected, int total)
    Creates an instance of a CarouselLayoutDto record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    alt()
    Returns the value of the alt record component.
    boolean
    Returns the value of the animating record component.
    boolean
    Returns the value of the auto record component.
    Returns the value of the direction record component.
    boolean
    Returns the value of the disabled record component.
    boolean
    Returns the value of the disableKeys record component.
    boolean
    Returns the value of the disableSwipe record component.
    boolean
    Returns the value of the dots record component.
    int
    Returns the value of the duration record component.
    boolean
    end()
    Returns the value of the end record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    boolean
    Returns the value of the loop record component.
    boolean
    nav()
    Returns the value of the nav record component.
    int
    Returns the value of the selected record component.
    final String
    Returns a string representation of this record class.
    int
    Returns the value of the total record component.

    Methods inherited from class java.lang.Object

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

    • CarouselLayoutDto

      public CarouselLayoutDto(boolean alt, boolean animating, boolean auto, OrientationDto direction, boolean disabled, boolean disableSwipe, boolean disableKeys, int duration, boolean dots, boolean end, boolean loop, boolean nav, int selected, int total)
      Creates an instance of a CarouselLayoutDto record class.
      Parameters:
      alt - the value for the alt record component
      animating - the value for the animating record component
      auto - the value for the auto record component
      direction - the value for the direction record component
      disabled - the value for the disabled record component
      disableSwipe - the value for the disableSwipe record component
      disableKeys - the value for the disableKeys record component
      duration - the value for the duration record component
      dots - the value for the dots record component
      end - the value for the end record component
      loop - the value for the loop record component
      nav - the value for the nav record component
      selected - the value for the selected record component
      total - the value for the total 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.
    • alt

      public boolean alt()
      Returns the value of the alt record component.
      Returns:
      the value of the alt record component
    • animating

      public boolean animating()
      Returns the value of the animating record component.
      Returns:
      the value of the animating record component
    • auto

      public boolean auto()
      Returns the value of the auto record component.
      Returns:
      the value of the auto record component
    • direction

      public OrientationDto direction()
      Returns the value of the direction record component.
      Returns:
      the value of the direction record component
    • disabled

      public boolean disabled()
      Returns the value of the disabled record component.
      Returns:
      the value of the disabled record component
    • disableSwipe

      public boolean disableSwipe()
      Returns the value of the disableSwipe record component.
      Returns:
      the value of the disableSwipe record component
    • disableKeys

      public boolean disableKeys()
      Returns the value of the disableKeys record component.
      Returns:
      the value of the disableKeys record component
    • duration

      public int duration()
      Returns the value of the duration record component.
      Returns:
      the value of the duration record component
    • dots

      public boolean dots()
      Returns the value of the dots record component.
      Returns:
      the value of the dots record component
    • end

      public boolean end()
      Returns the value of the end record component.
      Returns:
      the value of the end record component
    • loop

      public boolean loop()
      Returns the value of the loop record component.
      Returns:
      the value of the loop record component
    • selected

      public int selected()
      Returns the value of the selected record component.
      Returns:
      the value of the selected record component
    • total

      public int total()
      Returns the value of the total record component.
      Returns:
      the value of the total record component