Record Class SiteContainerOptions
java.lang.Object
java.lang.Record
io.meeds.layout.model.SiteContainerOptions
-
Constructor Summary
ConstructorsConstructorDescriptionSiteContainerOptions(Integer height, Integer width, Boolean sticky, DisplayMode display, Boolean fullHeight) Creates an instance of aSiteContainerOptionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondisplay()Returns the value of thedisplayrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefullHeightrecord component.final inthashCode()Returns a hash code value for this object.height()Returns the value of theheightrecord component.sticky()Returns the value of thestickyrecord component.final StringtoString()Returns a string representation of this record class.width()Returns the value of thewidthrecord component.
-
Constructor Details
-
SiteContainerOptions
public SiteContainerOptions(Integer height, Integer width, Boolean sticky, DisplayMode display, Boolean fullHeight) Creates an instance of aSiteContainerOptionsrecord class.- Parameters:
height- the value for theheightrecord componentwidth- the value for thewidthrecord componentsticky- the value for thestickyrecord componentdisplay- the value for thedisplayrecord componentfullHeight- the value for thefullHeightrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
height
Returns the value of theheightrecord component.- Returns:
- the value of the
heightrecord component
-
width
Returns the value of thewidthrecord component.- Returns:
- the value of the
widthrecord component
-
sticky
Returns the value of thestickyrecord component.- Returns:
- the value of the
stickyrecord component
-
display
Returns the value of thedisplayrecord component.- Returns:
- the value of the
displayrecord component
-
fullHeight
Returns the value of thefullHeightrecord component.- Returns:
- the value of the
fullHeightrecord component
-