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
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 |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TableBox
public TableBox()
isMarginAreaRoot
public boolean isMarginAreaRoot()
setMarginAreaRoot
public void setMarginAreaRoot(boolean marginAreaRoot)
copyOf
public BlockBox copyOf()
- Overrides:
copyOf
in class BlockBox
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)
- Specified by:
setStyle
in interface Styleable
- Overrides:
setStyle
in class Box
calcMinMaxWidth
public void calcMinMaxWidth(LayoutContext c)
- Overrides:
calcMinMaxWidth
in class BlockBox
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)
- Overrides:
layout
in class BlockBox
analyzePageBreaks
public void analyzePageBreaks(LayoutContext c,
ContentLimitContainer container)
- Overrides:
analyzePageBreaks
in class Box
paintBackground
public void paintBackground(RenderingContext c)
- Overrides:
paintBackground
in class Box
paintBorder
public void paintBorder(RenderingContext c)
- Overrides:
paintBorder
in class Box
updateHeaderFooterPosition
public void updateHeaderFooterPosition(RenderingContext c)
getFirstRow
public TableRowBox getFirstRow()
getFirstBodyRow
public TableRowBox getFirstBodyRow()
reset
public void reset(LayoutContext c)
- Overrides:
reset
in class BlockBox
colElement
public TableColumn colElement(int col)
getColumnBounds
public java.awt.Rectangle getColumnBounds(CssContext c,
int col)
getBorder
public BorderPropertySet getBorder(CssContext cssCtx)
- Overrides:
getBorder
in class Box
calcFixedHeightRowBottom
public int calcFixedHeightRowBottom(CssContext c)
calcInlineBaseline
public int calcInlineBaseline(CssContext c)
- Overrides:
calcInlineBaseline
in class BlockBox
hasContentLimitContainer
public boolean hasContentLimitContainer()
getExtraSpaceTop
public int getExtraSpaceTop()
setExtraSpaceTop
public void setExtraSpaceTop(int extraSpaceTop)
getExtraSpaceBottom
public int getExtraSpaceBottom()
setExtraSpaceBottom
public void setExtraSpaceBottom(int extraSpaceBottom)
Flying Saucer Project Home