Class TableSectionBox

    • Field Detail

      • _grid

        private final java.util.List<RowData> _grid
      • _needCellWidthCalc

        private boolean _needCellWidthCalc
      • _needCellRecalc

        private boolean _needCellRecalc
      • _footer

        private boolean _footer
      • _header

        private boolean _header
      • _capturedOriginalAbsY

        private boolean _capturedOriginalAbsY
      • _originalAbsY

        private int _originalAbsY
    • Constructor Detail

      • TableSectionBox

        public TableSectionBox()
    • Method Detail

      • getGrid

        public java.util.List<RowData> getGrid()
      • extendGridToColumnCount

        public void extendGridToColumnCount​(int columnCount)
      • splitColumn

        public void splitColumn​(int pos)
      • cellAt

        public TableCellBox cellAt​(int row,
                                   int col)
      • setCellAt

        private void setCellAt​(int row,
                               int col,
                               TableCellBox cell)
      • ensureRows

        private void ensureRows​(int numRows)
      • 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
      • numRows

        public int numRows()
      • isNeedCellWidthCalc

        boolean isNeedCellWidthCalc()
      • setNeedCellWidthCalc

        void setNeedCellWidthCalc​(boolean needCellWidthCalc)
      • isNeedCellRecalc

        private boolean isNeedCellRecalc()
      • setNeedCellRecalc

        private void setNeedCellRecalc​(boolean needCellRecalc)
      • 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)