Record Class PlacementSlot
java.lang.Object
java.lang.Record
io.meeds.layout.model.PlacementSlot
public record PlacementSlot(LayoutModel cell, LayoutModel next, StylingDestination destination)
extends Record
Where a placement writes an application: the cell or container whose
children take it, the stored child it goes before, null for the end, and
its place in the editor's styling matrix
-
Constructor Summary
ConstructorsConstructorDescriptionPlacementSlot(LayoutModel cell, LayoutModel next, StylingDestination destination) Creates an instance of aPlacementSlotrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncell()Returns the value of thecellrecord component.Returns the value of thedestinationrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.next()Returns the value of thenextrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PlacementSlot
Creates an instance of aPlacementSlotrecord class.- Parameters:
cell- the value for thecellrecord componentnext- the value for thenextrecord componentdestination- the value for thedestinationrecord 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). -
cell
Returns the value of thecellrecord component.- Returns:
- the value of the
cellrecord component
-
next
Returns the value of thenextrecord component.- Returns:
- the value of the
nextrecord component
-
destination
Returns the value of thedestinationrecord component.- Returns:
- the value of the
destinationrecord component
-