Class TableSectionBox

All Implemented Interfaces:
InlinePaintable, Styleable, DisplayListItem

public class TableSectionBox extends BlockBox
  • Constructor Details

    • TableSectionBox

      public TableSectionBox()
  • Method Details

    • copyOf

      public BlockBox copyOf()
      Overrides:
      copyOf in class BlockBox
    • getGrid

      public List<RowData> getGrid()
    • extendGridToColumnCount

      public void extendGridToColumnCount(int columnCount)
    • splitColumn

      public void splitColumn(int pos)
    • recalcCells

      public void recalcCells(LayoutContext c)
    • calcBorders

      public void calcBorders(LayoutContext c)
    • cellAt

      public TableCellBox cellAt(int row, int col)
    • getTable

      public TableBox getTable()
    • layoutChildren

      protected void layoutChildren(LayoutContext c, int contentStart)
      Overrides:
      layoutChildren in class BlockBox
    • reset

      public void reset(LayoutContext c)
      Description copied from class: Box
      Responsible for resetting the state of the box before a repeat call to BlockBox.layout(LayoutContext) or other layout methods.

      Any layout operation that is not idempotent MUST be reset in this method. Layout may be called several times on the one box.
      Overrides:
      reset in class BlockBox
    • isAutoHeight

      public boolean isAutoHeight()
      Overrides:
      isAutoHeight in class BlockBox
    • numRows

      public int numRows()
    • isSkipWhenCollapsingMargins

      protected boolean isSkipWhenCollapsingMargins()
      Overrides:
      isSkipWhenCollapsingMargins in class BlockBox
    • paintBorder

      public void paintBorder(RenderingContext c)
      Overrides:
      paintBorder in class Box
    • paintBackground

      public void paintBackground(RenderingContext c)
      Overrides:
      paintBackground in class Box
    • getLastRow

      public TableRowBox getLastRow()
    • layout

      public void layout(LayoutContext c, int contentStart)
      Overrides:
      layout in class BlockBox
    • isFooter

      public boolean isFooter()
    • setFooter

      public void setFooter(boolean footer)
    • isHeader

      public boolean isHeader()
    • setHeader

      public void setHeader(boolean header)
    • isCapturedOriginalAbsY

      public boolean isCapturedOriginalAbsY()
    • setCapturedOriginalAbsY

      public void setCapturedOriginalAbsY(boolean capturedOriginalAbsY)
    • getOriginalAbsY

      public int getOriginalAbsY()
    • setOriginalAbsY

      public void setOriginalAbsY(int originalAbsY)