Record Class MarginsBlock
java.lang.Object
java.lang.Record
io.meeds.layout.model.MarginsBlock
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionall()Returns the value of theallrecord component.bottom()Returns the value of thebottomrecord 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.left()Returns the value of theleftrecord component.right()Returns the value of therightrecord component.top()Returns the value of thetoprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MarginsBlock
public MarginsBlock(Boolean enabled, Integer all, Integer top, Integer right, Integer bottom, Integer left) Creates an instance of aMarginsBlockrecord class.- Parameters:
enabled- the value for theenabledrecord componentall- the value for theallrecord componenttop- the value for thetoprecord componentright- the value for therightrecord componentbottom- the value for thebottomrecord componentleft- the value for theleftrecord 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
-
all
Returns the value of theallrecord component.- Returns:
- the value of the
allrecord component
-
top
Returns the value of thetoprecord component.- Returns:
- the value of the
toprecord component
-
right
Returns the value of therightrecord component.- Returns:
- the value of the
rightrecord component
-
bottom
Returns the value of thebottomrecord component.- Returns:
- the value of the
bottomrecord component
-
left
Returns the value of theleftrecord component.- Returns:
- the value of the
leftrecord component
-