Record Class BorderBlock
java.lang.Object
java.lang.Record
io.meeds.layout.model.BorderBlock
-
Constructor Summary
ConstructorsConstructorDescriptionBorderBlock(Boolean enabled, String color, Integer size, Boolean shadow) Creates an instance of aBorderBlockrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncolor()Returns the value of thecolorrecord component.enabled()Returns the value of theenabledrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.shadow()Returns the value of theshadowrecord component.size()Returns the value of thesizerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BorderBlock
Creates an instance of aBorderBlockrecord class.- Parameters:
enabled- the value for theenabledrecord componentcolor- the value for thecolorrecord componentsize- the value for thesizerecord componentshadow- the value for theshadowrecord 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). -
enabled
Returns the value of theenabledrecord component.- Returns:
- the value of the
enabledrecord component
-
color
Returns the value of thecolorrecord component.- Returns:
- the value of the
colorrecord component
-
size
Returns the value of thesizerecord component.- Returns:
- the value of the
sizerecord component
-
shadow
Returns the value of theshadowrecord component.- Returns:
- the value of the
shadowrecord component
-