Flying Saucer Project Release ${app.version}

org.xhtmlrenderer.newtable
Class TableBox

java.lang.Object
  extended by org.xhtmlrenderer.render.Box
      extended by org.xhtmlrenderer.render.BlockBox
          extended by 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
TableBox()
           
 
Method Summary
 void addStyleColumn(TableColumn col)
           
 void analyzePageBreaks(LayoutContext c, ContentLimitContainer container)
           
 void appendColumn(int span)
           
 int calcFixedHeightRowBottom(CssContext c)
           
 int calcInlineBaseline(CssContext c)
           
 void calcMinMaxWidth(LayoutContext c)
           
 TableColumn colElement(int col)
           
 int colToEffCol(int col)
           
 BlockBox copyOf()
           
 int effColToCol(int effCol)
           
 BorderPropertySet getBorder(CssContext cssCtx)
           
 java.awt.Rectangle getColumnBounds(CssContext c, int col)
           
 int[] getColumnPos()
           
 java.util.List getColumns()
           
 int getExtraSpaceBottom()
           
 int getExtraSpaceTop()
           
 TableRowBox getFirstBodyRow()
           
 TableRowBox getFirstRow()
           
 java.util.List getStyleColumns()
           
 boolean hasContentLimitContainer()
           
 boolean isMarginAreaRoot()
           
 void layout(LayoutContext c)
           
 int marginsBordersPaddingAndSpacing(CssContext c)
           
 int numEffCols()
           
 void paintBackground(RenderingContext c)
           
 void paintBorder(RenderingContext c)
           
 void reset(LayoutContext c)
           
 void setExtraSpaceBottom(int extraSpaceBottom)
           
 void setExtraSpaceTop(int extraSpaceTop)
           
 void setMarginAreaRoot(boolean marginAreaRoot)
           
 void setStyle(CalculatedStyle style)
           
 int spanOfEffCol(int effCol)
           
 void splitColumn(int pos, int firstSpan)
           
 void updateHeaderFooterPosition(RenderingContext c)
           
 
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
 

Constructor Detail

TableBox

public TableBox()
Method Detail

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 Release ${app.version}

Flying Saucer Project Home