Package org.xhtmlrenderer.newtable
Class TableBox
- java.lang.Object
-
- org.xhtmlrenderer.render.Box
-
- org.xhtmlrenderer.render.BlockBox
-
- org.xhtmlrenderer.newtable.TableBox
-
- All Implemented Interfaces:
InlinePaintable
,Styleable
public class TableBox 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 TableBox()
-
Method Summary
-
Methods inherited from class org.xhtmlrenderer.render.BlockBox
calcBaseline, calcBreakAtLineContext, calcCanvasLocation, calcChildLocations, calcDimensions, calcInitialFloatedCanvasLocation, checkPageContext, createMarkerData, dump, ensureChildren, findLastNthLineBox, findOffset, getChildrenContentType, getChildrenHeight, getDocumentParent, getFirstLetterStyle, getFirstLineStyle, getFloatedBoxData, getInlineContent, getLineBox, getListCounter, getMarkerData, getMaxWidth, getMinWidth, getPaintingClipEdge, getPersistentBFC, getReplacedElement, getStaticEquivalent, initStaticPos, isAutoHeight, 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, calcPaintingInfo, clearSelection, collectText, connectChildrenToCurrentLayer, crossesPageBreak, detach, exportText, find, forcePageBreakAfter, forcePageBreakBefore, getAbsX, getAbsY, 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, setTx, setTy, setX, setY, stateToString
-
-
-
-
Method Detail
-
isMarginAreaRoot
public boolean isMarginAreaRoot()
-
setMarginAreaRoot
public void setMarginAreaRoot(boolean marginAreaRoot)
-
addStyleColumn
public void addStyleColumn(TableColumn col)
-
getStyleColumns
public java.util.List getStyleColumns()
-
getColumnPos
public int[] getColumnPos()
-
numEffCols
public int numEffCols()
-
spanOfEffCol
public int spanOfEffCol(int effCol)
-
colToEffCol
public int colToEffCol(int col)
-
effColToCol
public int effColToCol(int effCol)
-
appendColumn
public void appendColumn(int span)
-
setStyle
public void setStyle(CalculatedStyle style)
-
calcMinMaxWidth
public void calcMinMaxWidth(LayoutContext c)
- Overrides:
calcMinMaxWidth
in classBlockBox
-
splitColumn
public void splitColumn(int pos, int firstSpan)
-
marginsBordersPaddingAndSpacing
public int marginsBordersPaddingAndSpacing(CssContext c)
-
getColumns
public java.util.List getColumns()
-
layout
public void layout(LayoutContext c)
-
analyzePageBreaks
public void analyzePageBreaks(LayoutContext c, ContentLimitContainer container)
- Overrides:
analyzePageBreaks
in classBox
-
paintBackground
public void paintBackground(RenderingContext c)
- Overrides:
paintBackground
in classBox
-
paintBorder
public void paintBorder(RenderingContext c)
- Overrides:
paintBorder
in classBox
-
updateHeaderFooterPosition
public void updateHeaderFooterPosition(RenderingContext c)
-
getFirstRow
public TableRowBox getFirstRow()
-
getFirstBodyRow
public TableRowBox getFirstBodyRow()
-
reset
public void reset(LayoutContext c)
-
colElement
public TableColumn colElement(int col)
-
getColumnBounds
public java.awt.Rectangle getColumnBounds(CssContext c, int col)
-
getBorder
public BorderPropertySet getBorder(CssContext cssCtx)
-
calcFixedHeightRowBottom
public int calcFixedHeightRowBottom(CssContext c)
-
calcInlineBaseline
public int calcInlineBaseline(CssContext c)
- Overrides:
calcInlineBaseline
in classBlockBox
-
hasContentLimitContainer
public boolean hasContentLimitContainer()
-
getExtraSpaceTop
public int getExtraSpaceTop()
-
setExtraSpaceTop
public void setExtraSpaceTop(int extraSpaceTop)
-
getExtraSpaceBottom
public int getExtraSpaceBottom()
-
setExtraSpaceBottom
public void setExtraSpaceBottom(int extraSpaceBottom)
-
-