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
ConstructorsConstructorDescriptionCarouselLayoutDto(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 aCarouselLayoutDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanalt()Returns the value of thealtrecord component.booleanReturns the value of theanimatingrecord component.booleanauto()Returns the value of theautorecord component.Returns the value of thedirectionrecord component.booleandisabled()Returns the value of thedisabledrecord component.booleanReturns the value of thedisableKeysrecord component.booleanReturns the value of thedisableSwiperecord component.booleandots()Returns the value of thedotsrecord component.intduration()Returns the value of thedurationrecord component.booleanend()Returns the value of theendrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanloop()Returns the value of thelooprecord component.booleannav()Returns the value of thenavrecord component.intselected()Returns the value of theselectedrecord component.final StringtoString()Returns a string representation of this record class.inttotal()Returns the value of thetotalrecord component.
-
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 aCarouselLayoutDtorecord class.- Parameters:
alt- the value for thealtrecord componentanimating- the value for theanimatingrecord componentauto- the value for theautorecord componentdirection- the value for thedirectionrecord componentdisabled- the value for thedisabledrecord componentdisableSwipe- the value for thedisableSwiperecord componentdisableKeys- the value for thedisableKeysrecord componentduration- the value for thedurationrecord componentdots- the value for thedotsrecord componentend- the value for theendrecord componentloop- the value for thelooprecord componentnav- the value for thenavrecord componentselected- the value for theselectedrecord componenttotal- the value for thetotalrecord 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 '=='. -
alt
public boolean alt()Returns the value of thealtrecord component.- Returns:
- the value of the
altrecord component
-
animating
public boolean animating()Returns the value of theanimatingrecord component.- Returns:
- the value of the
animatingrecord component
-
auto
public boolean auto()Returns the value of theautorecord component.- Returns:
- the value of the
autorecord component
-
direction
Returns the value of thedirectionrecord component.- Returns:
- the value of the
directionrecord component
-
disabled
public boolean disabled()Returns the value of thedisabledrecord component.- Returns:
- the value of the
disabledrecord component
-
disableSwipe
public boolean disableSwipe()Returns the value of thedisableSwiperecord component.- Returns:
- the value of the
disableSwiperecord component
-
disableKeys
public boolean disableKeys()Returns the value of thedisableKeysrecord component.- Returns:
- the value of the
disableKeysrecord component
-
duration
public int duration()Returns the value of thedurationrecord component.- Returns:
- the value of the
durationrecord component
-
dots
public boolean dots()Returns the value of thedotsrecord component.- Returns:
- the value of the
dotsrecord component
-
end
public boolean end()Returns the value of theendrecord component.- Returns:
- the value of the
endrecord component
-
loop
public boolean loop()Returns the value of thelooprecord component.- Returns:
- the value of the
looprecord component
-
selected
public int selected()Returns the value of theselectedrecord component.- Returns:
- the value of the
selectedrecord component
-
total
public int total()Returns the value of thetotalrecord component.- Returns:
- the value of the
totalrecord component
-