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
-
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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
cellAt
(int row, int col) copyOf()
void
extendGridToColumnCount
(int columnCount) getGrid()
int
boolean
boolean
boolean
isFooter()
boolean
isHeader()
void
layout
(LayoutContext c, int contentStart) int
numRows()
void
void
void
void
void
setCapturedOriginalAbsY
(boolean capturedOriginalAbsY) void
setFooter
(boolean footer) void
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
-
Constructor Details
-
TableSectionBox
public TableSectionBox()
-
-
Method Details
-
copyOf
-
getGrid
-
setGrid
-
extendGridToColumnCount
public void extendGridToColumnCount(int columnCount) -
splitColumn
public void splitColumn(int pos) -
recalcCells
-
calcBorders
-
cellAt
-
reset
-
isAutoHeight
public boolean isAutoHeight()- Overrides:
isAutoHeight
in classBlockBox
-
numRows
public int numRows() -
paintBorder
- Overrides:
paintBorder
in classBox
-
paintBackground
- Overrides:
paintBackground
in classBox
-
getLastRow
-
layout
-
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)
-