Record Class TableRowStyle
java.lang.Object
java.lang.Record
io.leandev.appfuse.report.node.TableRowStyle
- Record Components:
cellPadding- 儲存格內距覆寫topRule- 上線;null或零線寬表示不畫bottomRule- 下線;null繼承表格,零線寬表示不畫
-
Constructor Summary
ConstructorsConstructorDescriptionTableRowStyle(Length cellPadding, LineStyle topRule, LineStyle bottomRule) Creates an instance of aTableRowStylerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebottomRulerecord component.Returns the value of thecellPaddingrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static TableRowStyleinherit()static TableRowStylenoRules()topRule()Returns the value of thetopRulerecord component.final StringtoString()Returns a string representation of this record class.withBottomRule(LineStyle rule) withCellPadding(Length padding) withTopRule(LineStyle rule)
-
Constructor Details
-
TableRowStyle
Creates an instance of aTableRowStylerecord class.- Parameters:
cellPadding- the value for thecellPaddingrecord componenttopRule- the value for thetopRulerecord componentbottomRule- the value for thebottomRulerecord component
-
-
Method Details
-
inherit
-
noRules
-
withCellPadding
-
withTopRule
-
withBottomRule
-
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). -
cellPadding
Returns the value of thecellPaddingrecord component.- Returns:
- the value of the
cellPaddingrecord component
-
topRule
-
bottomRule
Returns the value of thebottomRulerecord component.- Returns:
- the value of the
bottomRulerecord component
-