Flying Saucer Project Release ${app.version}

org.xhtmlrenderer.newtable
Class TableCellBox

java.lang.Object
  extended by org.xhtmlrenderer.render.Box
      extended by org.xhtmlrenderer.render.BlockBox
          extended by org.xhtmlrenderer.newtable.TableCellBox
All Implemented Interfaces:
InlinePaintable, Styleable

public class TableCellBox
extends BlockBox


Field Summary
static TableCellBox SPANNING_CELL
           
 
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
TableCellBox()
           
 
Method Summary
 void addCollapsedBorders(java.util.Set all, java.util.List borders)
           
 int calcBaseline(LayoutContext c)
           
 int calcBlockBaseline(LayoutContext c)
           
 void calcCollapsedBorder(CssContext c)
           
static CollapsedBorderValue compareBorders(CollapsedBorderValue border1, CollapsedBorderValue border2, boolean returnNullOnEqual)
           
 BlockBox copyOf()
           
 BorderPropertySet getBorder(CssContext cssCtx)
           
 java.awt.Rectangle getChildrenClipEdge(RenderingContext c)
           
 int getCol()
           
 CollapsedBorderValue getCollapsedBorderBottom()
           
 CollapsedBorderValue getCollapsedBorderLeft()
           
 CollapsedBorderValue getCollapsedBorderRight()
           
 CollapsedBorderValue getCollapsedBorderTop()
           
 Length getOuterStyleOrColWidth(CssContext c)
           
 Length getOuterStyleWidth(CssContext c)
           
 java.awt.Rectangle getPaintingClipEdge(CssContext c)
           
 int getRow()
           
 TableBox getTable()
           
 IdentValue getVerticalAlign()
           
 boolean hasCollapsedPaintingBorder()
           
 boolean isAutoHeight()
           
 boolean isNeedsClipOnPaint(RenderingContext c)
           
 boolean isPageBreaksChange(LayoutContext c, int posDeltaY)
           
 void layout(LayoutContext c)
           
 void moveContent(LayoutContext c, int deltaY)
           
 void paintBackground(RenderingContext c)
           
 void paintBorder(RenderingContext c)
           
 void paintCollapsedBorder(RenderingContext c, int side)
           
 void setCol(int col)
           
 void setLayoutWidth(LayoutContext c, int width)
           
 void setRow(int row)
           
 
Methods inherited from class org.xhtmlrenderer.render.BlockBox
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, getPersistentBFC, getReplacedElement, getStaticEquivalent, initStaticPos, isBottomMarginCalculated, isContainsInlineContent, isCurrentBreakAtLineContext, isFloated, isFromCaptionedTable, isInline, isInMainFlow, isNeedPageClear, isNeedsKeepWithInline, isReplaced, isTopMarginCalculated, layout, paintDebugOutline, paintInline, paintListMarker, positionAbsolute, positionAbsoluteOnPage, reset, 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, getBorderEdge, getBorderSides, getBoxDimensions, getChild, getChildCount, getChildIterator, getChildren, 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SPANNING_CELL

public static final TableCellBox SPANNING_CELL
Constructor Detail

TableCellBox

public TableCellBox()
Method Detail

copyOf

public BlockBox copyOf()
Overrides:
copyOf in class BlockBox

getBorder

public BorderPropertySet getBorder(CssContext cssCtx)
Overrides:
getBorder in class Box

calcCollapsedBorder

public void calcCollapsedBorder(CssContext c)

getCol

public int getCol()

setCol

public void setCol(int col)

getRow

public int getRow()

setRow

public void setRow(int row)

layout

public void layout(LayoutContext c)
Overrides:
layout in class BlockBox

getTable

public TableBox getTable()

getOuterStyleWidth

public Length getOuterStyleWidth(CssContext c)

getOuterStyleOrColWidth

public Length getOuterStyleOrColWidth(CssContext c)

setLayoutWidth

public void setLayoutWidth(LayoutContext c,
                           int width)

isAutoHeight

public boolean isAutoHeight()
Overrides:
isAutoHeight in class BlockBox

calcBaseline

public int calcBaseline(LayoutContext c)
Overrides:
calcBaseline in class BlockBox

calcBlockBaseline

public int calcBlockBaseline(LayoutContext c)

moveContent

public void moveContent(LayoutContext c,
                        int deltaY)

isPageBreaksChange

public boolean isPageBreaksChange(LayoutContext c,
                                  int posDeltaY)

getVerticalAlign

public IdentValue getVerticalAlign()

paintBackground

public void paintBackground(RenderingContext c)
Overrides:
paintBackground in class Box

paintBorder

public void paintBorder(RenderingContext c)
Overrides:
paintBorder in class Box

paintCollapsedBorder

public void paintCollapsedBorder(RenderingContext c,
                                 int side)

getChildrenClipEdge

public java.awt.Rectangle getChildrenClipEdge(RenderingContext c)
Overrides:
getChildrenClipEdge in class Box

compareBorders

public static CollapsedBorderValue compareBorders(CollapsedBorderValue border1,
                                                  CollapsedBorderValue border2,
                                                  boolean returnNullOnEqual)

getPaintingClipEdge

public java.awt.Rectangle getPaintingClipEdge(CssContext c)
Overrides:
getPaintingClipEdge in class BlockBox

hasCollapsedPaintingBorder

public boolean hasCollapsedPaintingBorder()

getCollapsedBorderBottom

public CollapsedBorderValue getCollapsedBorderBottom()

getCollapsedBorderLeft

public CollapsedBorderValue getCollapsedBorderLeft()

getCollapsedBorderRight

public CollapsedBorderValue getCollapsedBorderRight()

getCollapsedBorderTop

public CollapsedBorderValue getCollapsedBorderTop()

addCollapsedBorders

public void addCollapsedBorders(java.util.Set all,
                                java.util.List borders)

isNeedsClipOnPaint

public boolean isNeedsClipOnPaint(RenderingContext c)
Overrides:
isNeedsClipOnPaint in class BlockBox

Flying Saucer Project Release ${app.version}

Flying Saucer Project Home