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 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 a ResolvedTable record class.
      Parameters:
      text - the value for the text record component
      headerFill - the value for the headerFill record component
      groupFill - the value for the groupFill record component
      totalFill - the value for the totalFill record component
      rule - the value for the rule record component
      cellPadding - the value for the cellPadding record component
      continuationLabel - the value for the continuationLabel record component
      cellBorders - the value for the cellBorders record component
      pageBottomRule - the value for the pageBottomRule record component
      pageBottomRuleOnContinuationOnly - the value for the pageBottomRuleOnContinuationOnly record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • text

      Returns the value of the text record component.
      Returns:
      the value of the text record component
    • headerFill

      public ReportColor headerFill()
      Returns the value of the headerFill record component.
      Returns:
      the value of the headerFill record component
    • groupFill

      public ReportColor groupFill()
      Returns the value of the groupFill record component.
      Returns:
      the value of the groupFill record component
    • totalFill

      public ReportColor totalFill()
      Returns the value of the totalFill record component.
      Returns:
      the value of the totalFill record component
    • rule

      public LineStyle rule()
      Returns the value of the rule record component.
      Returns:
      the value of the rule record component
    • cellPadding

      public Length cellPadding()
      Returns the value of the cellPadding record component.
      Returns:
      the value of the cellPadding record component
    • continuationLabel

      public String continuationLabel()
      Returns the value of the continuationLabel record component.
      Returns:
      the value of the continuationLabel record component
    • cellBorders

      public CellBorders cellBorders()
      Returns the value of the cellBorders record component.
      Returns:
      the value of the cellBorders record component
    • pageBottomRule

      public LineStyle pageBottomRule()
      Returns the value of the pageBottomRule record component.
      Returns:
      the value of the pageBottomRule record component
    • pageBottomRuleOnContinuationOnly

      public boolean pageBottomRuleOnContinuationOnly()
      Returns the value of the pageBottomRuleOnContinuationOnly record component.
      Returns:
      the value of the pageBottomRuleOnContinuationOnly record component