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, 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 void
calcBorders(LayoutContext c)
TableCellBox
cellAt(int row, int col)
BlockBox
copyOf()
void
extendGridToColumnCount(int columnCount)
java.util.List
getGrid()
TableRowBox
getLastRow()
int
getOriginalAbsY()
boolean
isAutoHeight()
boolean
isCapturedOriginalAbsY()
boolean
isFooter()
boolean
isHeader()
void
layout(LayoutContext c, int contentStart)
int
numRows()
void
paintBackground(RenderingContext c)
void
paintBorder(RenderingContext c)
void
recalcCells(LayoutContext c)
void
reset(LayoutContext c)
void
setCapturedOriginalAbsY(boolean capturedOriginalAbsY)
void
setFooter(boolean footer)
void
setGrid(java.util.List grid)
void
setHeader(boolean header)
void
setOriginalAbsY(int originalAbsY)
void
splitColumn(int pos)
-
Methods inherited from class org.xhtmlrenderer.render.BlockBox
calcBaseline, calcBreakAtLineContext, calcCanvasLocation, calcChildLocations, calcDimensions, calcInitialFloatedCanvasLocation, calcInlineBaseline, calcMinMaxWidth, checkPageContext, createMarkerData, dump, ensureChildren, findLastNthLineBox, findOffset, getChildrenContentType, getChildrenHeight, getDocumentParent, getFirstLetterStyle, getFirstLineStyle, getFloatedBoxData, getInlineContent, getLineBox, getListCounter, getMarkerData, getMaxWidth, getMinWidth, getPaintingClipEdge, getPersistentBFC, getReplacedElement, getStaticEquivalent, initStaticPos, isBottomMarginCalculated, isContainsInlineContent, isCurrentBreakAtLineContext, isFloated, isFromCaptionedTable, isInline, isInMainFlow, isNeedPageClear, isNeedsClipOnPaint, isNeedsKeepWithInline, isReplaced, isTopMarginCalculated, layout, paintDebugOutline, paintInline, paintListMarker, positionAbsolute, positionAbsoluteOnPage, setBottomMarginCalculated, setChildrenContentType, setFirstLetterStyle, setFirstLineStyle, setFloatedBoxData, setFromCaptionedTable, setInlineContent, setListCounter, setMarkerData, setNeedPageClear, 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, exportText, find, forcePageBreakAfter, forcePageBreakBefore, getAbsX, getAbsY, getBorder, getBorderEdge, getBorderSides, getBoxDimensions, getChild, getChildCount, getChildIterator, getChildren, getChildrenClipEdge, getContainingBlock, getContainingLayer, getContentAreaEdge, getContentWidth, getEffBackgroundColor, getEffectiveWidth, getElement, getElementBoxes, getHeight, getLayer, getLeftMBP, getMargin, getMarginBorderPadding, getMarginEdge, getMarginEdge, getNextSibling, getPadding, getPaddingEdge, getPaintingBorderEdge, getPaintingInfo, getPaintingPaddingEdge, getParent, getPreviousSibling, getPseudoElementOrClass, getRelativeOffset, getRestyleTarget, getRightMBP, getState, getStyle, getTx, getTy, getWidth, getX, getY, initContainingLayer, intersects, isAnonymous, isBody, isContainedInMarginBox, isInDocumentFlow, isRoot, isStyled, paintRootElementBackground, positionRelative, removeAllChildren, removeChild, removeChild, resetChildren, restyle, selectAll, setAbsX, setAbsY, setAnonymous, setBoxDimensions, setContainingBlock, setContainingLayer, setContentWidth, setElement, setHeight, setLayer, setLeftMBP, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setParent, setPseudoElementOrClass, setRelativeOffset, setRightMBP, setState, setStyle, setTx, setTy, setX, setY, stateToString
-
-
-
-
Method Detail
-
getGrid
public java.util.List getGrid()
-
setGrid
public void setGrid(java.util.List grid)
-
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)
-
reset
public void reset(LayoutContext c)
-
isAutoHeight
public boolean isAutoHeight()
- Overrides:
isAutoHeight
in classBlockBox
-
numRows
public int numRows()
-
paintBorder
public void paintBorder(RenderingContext c)
- Overrides:
paintBorder
in classBox
-
paintBackground
public void paintBackground(RenderingContext c)
- Overrides:
paintBackground
in 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)
-
-