Package org.xhtmlrenderer.render
Record Class PageBox.MarginAreaContainer
java.lang.Object
java.lang.Record
org.xhtmlrenderer.render.PageBox.MarginAreaContainer
- Enclosing class:
PageBox
private static record PageBox.MarginAreaContainer(PageBox.MarginArea area, TableBox table)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PageBox.MarginAreaThe field for thearearecord component.private final TableBoxThe field for thetablerecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateMarginAreaContainer(PageBox.MarginArea area, TableBox table) Creates an instance of aMarginAreaContainerrecord class. -
Method Summary
Modifier and TypeMethodDescriptionarea()Returns the value of thearearecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.table()Returns the value of thetablerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
area
The field for thearearecord component. -
table
The field for thetablerecord component.
-
-
Constructor Details
-
MarginAreaContainer
Creates an instance of aMarginAreaContainerrecord class.- Parameters:
area- the value for thearearecord componenttable- the value for thetablerecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
area
Returns the value of thearearecord component.- Returns:
- the value of the
arearecord component
-
table
Returns the value of thetablerecord component.- Returns:
- the value of the
tablerecord component
-