Record Class StyleResolver.ResolvedTable
java.lang.Object
java.lang.Record
io.leandev.appfuse.report.internal.StyleResolver.ResolvedTable
- Enclosing class:
StyleResolver
public static record StyleResolver.ResolvedTable(StyleResolver.ResolvedText text, ReportColor headerFill, ReportColor groupFill, ReportColor totalFill, LineStyle rule, Length cellPadding, String continuationLabel, CellBorders cellBorders, LineStyle pageBottomRule, boolean pageBottomRuleOnContinuationOnly)
extends Record
完整表格樣式
-
Constructor Summary
ConstructorsConstructorDescriptionResolvedTable(StyleResolver.ResolvedText text, ReportColor headerFill, ReportColor groupFill, ReportColor totalFill, LineStyle rule, Length cellPadding, String continuationLabel, CellBorders cellBorders, LineStyle pageBottomRule, boolean pageBottomRuleOnContinuationOnly) Creates an instance of aResolvedTablerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecellBordersrecord component.Returns the value of thecellPaddingrecord component.Returns the value of thecontinuationLabelrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thegroupFillrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theheaderFillrecord component.Returns the value of thepageBottomRulerecord component.booleanReturns the value of thepageBottomRuleOnContinuationOnlyrecord component.rule()Returns the value of therulerecord component.text()Returns the value of thetextrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetotalFillrecord component.
-
Constructor Details
-
ResolvedTable
public ResolvedTable(StyleResolver.ResolvedText text, ReportColor headerFill, ReportColor groupFill, ReportColor totalFill, LineStyle rule, Length cellPadding, String continuationLabel, CellBorders cellBorders, LineStyle pageBottomRule, boolean pageBottomRuleOnContinuationOnly) Creates an instance of aResolvedTablerecord class.- Parameters:
text- the value for thetextrecord componentheaderFill- the value for theheaderFillrecord componentgroupFill- the value for thegroupFillrecord componenttotalFill- the value for thetotalFillrecord componentrule- the value for therulerecord componentcellPadding- the value for thecellPaddingrecord componentcontinuationLabel- the value for thecontinuationLabelrecord componentcellBorders- the value for thecellBordersrecord componentpageBottomRule- the value for thepageBottomRulerecord componentpageBottomRuleOnContinuationOnly- the value for thepageBottomRuleOnContinuationOnlyrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
text
Returns the value of thetextrecord component.- Returns:
- the value of the
textrecord component
-
headerFill
Returns the value of theheaderFillrecord component.- Returns:
- the value of the
headerFillrecord component
-
groupFill
Returns the value of thegroupFillrecord component.- Returns:
- the value of the
groupFillrecord component
-
totalFill
Returns the value of thetotalFillrecord component.- Returns:
- the value of the
totalFillrecord component
-
rule
Returns the value of therulerecord component.- Returns:
- the value of the
rulerecord component
-
cellPadding
Returns the value of thecellPaddingrecord component.- Returns:
- the value of the
cellPaddingrecord component
-
continuationLabel
Returns the value of thecontinuationLabelrecord component.- Returns:
- the value of the
continuationLabelrecord component
-
cellBorders
Returns the value of thecellBordersrecord component.- Returns:
- the value of the
cellBordersrecord component
-
pageBottomRule
Returns the value of thepageBottomRulerecord component.- Returns:
- the value of the
pageBottomRulerecord component
-
pageBottomRuleOnContinuationOnly
public boolean pageBottomRuleOnContinuationOnly()Returns the value of thepageBottomRuleOnContinuationOnlyrecord component.- Returns:
- the value of the
pageBottomRuleOnContinuationOnlyrecord component
-