Package org.xhtmlrenderer.newtable
Class TableSectionBox
- java.lang.Object
-
- org.xhtmlrenderer.render.Box
-
- org.xhtmlrenderer.render.BlockBox
-
- org.xhtmlrenderer.newtable.TableSectionBox
-
- All Implemented Interfaces:
InlinePaintable,Styleable
public class TableSectionBox extends BlockBox
-
-
Field Summary
-
Fields inherited from class org.xhtmlrenderer.render.BlockBox
CONTENT_BLOCK, CONTENT_EMPTY, CONTENT_INLINE, CONTENT_UNKNOWN, NO_BASELINE, POSITION_BOTH, POSITION_HORIZONTALLY, POSITION_VERTICALLY
-
Fields inherited from class org.xhtmlrenderer.render.Box
CHILDREN_FLUX, DONE, DUMP_LAYOUT, DUMP_RENDER, FLUX, NOTHING
-
-
Constructor Summary
Constructors Constructor Description TableSectionBox()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcalcBorders(LayoutContext c)TableCellBoxcellAt(int row, int col)BlockBoxcopyOf()voidextendGridToColumnCount(int columnCount)List<RowData>getGrid()TableRowBoxgetLastRow()intgetOriginalAbsY()booleanisAutoHeight()booleanisCapturedOriginalAbsY()booleanisFooter()booleanisHeader()protected booleanisSkipWhenCollapsingMargins()voidlayout(LayoutContext c, int contentStart)protected voidlayoutChildren(LayoutContext c, int contentStart)intnumRows()voidpaintBackground(RenderingContext c)voidpaintBorder(RenderingContext c)voidrecalcCells(LayoutContext c)voidreset(LayoutContext c)voidsetCapturedOriginalAbsY(boolean capturedOriginalAbsY)voidsetFooter(boolean footer)voidsetGrid(List<RowData> grid)voidsetHeader(boolean header)voidsetOriginalAbsY(int originalAbsY)voidsplitColumn(int pos)-
Methods inherited from class org.xhtmlrenderer.render.BlockBox
appendPositioningInfo, calcBaseline, calcBreakAtLineContext, calcCanvasLocation, calcChildLocations, calcChildPaintingInfo, calcDimensions, calcDimensions, calcInitialBreakAtLine, calcInitialFloatedCanvasLocation, calcInlineBaseline, calcLayoutHeight, calcMinMaxWidth, checkPageContext, createMarkerData, dump, ensureChildren, findLastNthLineBox, findOffset, getAvailableWidth, getChildrenContentType, getChildrenHeight, getCSSFitToWidth, getCSSHeight, getCSSWidth, getCSSWidth, getDocumentParent, getExtraBoxDescription, getFirstLetterStyle, getFirstLineStyle, getFloatedBoxData, getInlineContent, getLineBox, getListCounter, getMarkerData, getMaxWidth, getMinWidth, getPageClearance, getPaintingClipEdge, getPersistentBFC, getReplacedElement, getStaticEquivalent, initStaticPos, isAllowHeightToShrink, isBottomMarginCalculated, isContainsInlineContent, isCurrentBreakAtLineContext, isFixedWidthAdvisoryOnly, isFloated, isFromCaptionedTable, isInline, isInlineBlock, isInMainFlow, isMayCollapseMarginsWithChildren, isMinMaxCalculated, isNeedPageClear, isNeedsClipOnPaint, isNeedsKeepWithInline, isReplaced, isTopMarginCalculated, layout, layoutInlineChildren, paintDebugOutline, paintInline, paintListMarker, positionAbsolute, positionAbsoluteOnPage, propagateExtraSpace, resolveAutoMargins, setBottomMarginCalculated, setChildrenContentType, setChildrenHeight, setDimensionsCalculated, setFirstLetterStyle, setFirstLineStyle, setFloatedBoxData, setFromCaptionedTable, setInlineContent, setListCounter, setMarkerData, setMaxWidth, setMinMaxCalculated, setMinWidth, setNeedPageClear, setNeedShrinkToFitCalculation, setPersistentBFC, setReplacedElement, setStaticEquivalent, setTopMarginCalculated, styleText, styleText, toString
-
Methods inherited from class org.xhtmlrenderer.render.Box
addAllChildren, addChild, addChildForLayout, analyzePageBreaks, calcPaintingInfo, clearSelection, collectText, connectChildrenToCurrentLayer, crossesPageBreak, detach, dumpBoxes, exportPageBoxText, exportText, find, forcePageBreakAfter, forcePageBreakBefore, getAbsX, getAbsY, getBorder, getBorderEdge, getBorderSides, getBoxDimensions, getChild, getChildCount, getChildIterator, getChildren, getChildrenClipEdge, getContainingBlock, getContainingBlockWidth, getContainingLayer, getContentAreaEdge, getContentWidth, getEffBackgroundColor, getEffectiveWidth, getElement, getElementBoxes, getHeight, getIndex, getLayer, getLeftMBP, getMargin, getMarginBorderPadding, getMarginEdge, getMarginEdge, getNext, getNextSibling, getPadding, getPaddingEdge, getPaddingWidth, getPaintingBorderEdge, getPaintingInfo, getPaintingPaddingEdge, getParent, getPrevious, getPreviousSibling, getPseudoElementOrClass, getRelativeOffset, getRestyleTarget, getRightMBP, getState, getStyle, getStyleMargin, getStyleMargin, getTx, getTy, getWidth, getX, getY, initContainingLayer, intersects, isAnonymous, isBody, isContainedInMarginBox, isInDocumentFlow, isInitialContainingBlock, isMarginAreaRoot, isRoot, isStyled, moveIfGreater, paintRootElementBackground, positionRelative, removeAllChildren, removeChild, removeChild, resetChildren, resetChildren, resetTopMargin, restyle, restyleChildren, selectAll, setAbsX, setAbsY, setAnonymous, setBoxDimensions, setContainingBlock, setContainingLayer, setContentWidth, setElement, setHeight, setIndex, setLayer, setLeftMBP, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setParent, setPseudoElementOrClass, setRelativeOffset, setRightMBP, setState, setStyle, setTx, setTy, setX, setY, stateToString
-
-
-
-
Method Detail
-
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)
-
layoutChildren
protected void layoutChildren(LayoutContext c, int contentStart)
- Overrides:
layoutChildrenin classBlockBox
-
reset
public void reset(LayoutContext c)
-
isAutoHeight
public boolean isAutoHeight()
- Overrides:
isAutoHeightin classBlockBox
-
numRows
public int numRows()
-
isSkipWhenCollapsingMargins
protected boolean isSkipWhenCollapsingMargins()
- Overrides:
isSkipWhenCollapsingMarginsin classBlockBox
-
paintBorder
public void paintBorder(RenderingContext c)
- Overrides:
paintBorderin classBox
-
paintBackground
public void paintBackground(RenderingContext c)
- Overrides:
paintBackgroundin classBox
-
getLastRow
public TableRowBox getLastRow()
-
layout
public void layout(LayoutContext c, int contentStart)
-
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)
-
-