org.xhtmlrenderer.newtable
Class TableCellBox
java.lang.Object
org.xhtmlrenderer.render.Box
org.xhtmlrenderer.render.BlockBox
org.xhtmlrenderer.newtable.TableCellBox
- All Implemented Interfaces:
- InlinePaintable, Styleable
public class TableCellBox
- extends BlockBox
| Methods inherited from class org.xhtmlrenderer.render.BlockBox |
appendPositioningInfo, calcBreakAtLineContext, calcCanvasLocation, calcChildLocations, calcChildPaintingInfo, calcDimensions, calcDimensions, calcInitialBreakAtLine, calcInitialFloatedCanvasLocation, calcInlineBaseline, calcLayoutHeight, calcMinMaxWidth, checkPageContext, createMarkerData, dump, ensureChildren, findLastNthLineBox, findOffset, getAvailableWidth, getChildrenContentType, getChildrenHeight, getCSSFitToWidth, getCSSWidth, getCSSWidth, getDocumentParent, getExtraBoxDescription, getFirstLetterStyle, getFirstLineStyle, getFloatedBoxData, getInlineContent, getLineBox, getListCounter, getMarkerData, getMaxWidth, getMinWidth, getPageClearance, getPersistentBFC, getReplacedElement, getStaticEquivalent, initStaticPos, isBottomMarginCalculated, isContainsInlineContent, isCurrentBreakAtLineContext, isFloated, isFromCaptionedTable, isInitialContainingBlock, isInline, isInlineBlock, isInMainFlow, isMayCollapseMarginsWithChildren, isMinMaxCalculated, isNeedPageClear, isNeedsKeepWithInline, isReplaced, isTopMarginCalculated, layout, layoutChildren, layoutInlineChildren, paintDebugOutline, paintInline, paintListMarker, positionAbsolute, positionAbsoluteOnPage, propagateExtraSpace, reset, resolveAutoMargins, setBottomMarginCalculated, setChildrenContentType, setChildrenHeight, setDimensionsCalculated, setFirstLetterStyle, setFirstLineStyle, setFloatedBoxData, setFromCaptionedTable, setInlineContent, setListCounter, setMarkerData, setMaxWidth, setMinMaxCalculated, setMinWidth, setNeedPageClear, setNeedShrinkToFitCalculatation, 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, dumpBoxes, exportPageBoxText, exportText, find, forcePageBreakAfter, forcePageBreakBefore, getAbsX, getAbsY, getBorderEdge, getBorderSides, getBoxDimensions, getChild, getChildCount, getChildIterator, getChildren, getContainingBlock, getContainingBlockWidth, getContainingLayer, getContentAreaEdge, getContentWidth, getEffBackgroundColor, getEffectiveWidth, getElement, getElementBoxes, getHeight, getIndex, getLayer, getLeftMBP, getMargin, getMarginBorderPadding, getMarginEdge, getMarginEdge, getNext, getNextSibling, getPadding, getPaddingEdge, getPaddingWidth, getPaintingBorderEdge, getPaintingInfo, getPaintingPaddingEdge, getParent, getPrevious, getPreviousSibling, getPseudoElementOrClass, getRelativeOffset, getRestyleTarget, getRightMBP, getState, getStyle, getStyleMargin, getStyleMargin, getTx, getTy, getWidth, getX, getY, initContainingLayer, intersects, isAnonymous, isBody, isContainedInMarginBox, isInDocumentFlow, isMarginAreaRoot, isRoot, isStyled, moveIfGreater, paintRootElementBackground, positionRelative, removeAllChildren, removeChild, removeChild, resetChildren, resetChildren, resetTopMargin, restyle, restyleChildren, selectAll, setAbsX, setAbsY, setAnonymous, setBoxDimensions, setContainingBlock, setContainingLayer, setContentWidth, setElement, setHeight, setIndex, setLayer, setLeftMBP, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setParent, setPseudoElementOrClass, setRelativeOffset, setRightMBP, setState, setStyle, setTx, setTy, setX, setY, stateToString |
SPANNING_CELL
public static final TableCellBox SPANNING_CELL
TableCellBox
public TableCellBox()
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()
getSection
protected TableSectionBox getSection()
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 Rectangle getChildrenClipEdge(RenderingContext c)
- Overrides:
getChildrenClipEdge in class Box
isFixedWidthAdvisoryOnly
protected boolean isFixedWidthAdvisoryOnly()
- Overrides:
isFixedWidthAdvisoryOnly in class BlockBox
isSkipWhenCollapsingMargins
protected boolean isSkipWhenCollapsingMargins()
- Overrides:
isSkipWhenCollapsingMargins in class BlockBox
compareBorders
public static CollapsedBorderValue compareBorders(CollapsedBorderValue border1,
CollapsedBorderValue border2,
boolean returnNullOnEqual)
getPaintingClipEdge
public Rectangle getPaintingClipEdge(CssContext c)
- Overrides:
getPaintingClipEdge in class BlockBox
hasCollapsedPaintingBorder
public boolean hasCollapsedPaintingBorder()
getCollapsedPaintingBorder
protected BorderPropertySet getCollapsedPaintingBorder()
getCollapsedBorderBottom
public CollapsedBorderValue getCollapsedBorderBottom()
getCollapsedBorderLeft
public CollapsedBorderValue getCollapsedBorderLeft()
getCollapsedBorderRight
public CollapsedBorderValue getCollapsedBorderRight()
getCollapsedBorderTop
public CollapsedBorderValue getCollapsedBorderTop()
addCollapsedBorders
public void addCollapsedBorders(Set all,
List borders)
getCSSHeight
protected int getCSSHeight(CssContext c)
- Overrides:
getCSSHeight in class BlockBox
isAllowHeightToShrink
protected boolean isAllowHeightToShrink()
- Overrides:
isAllowHeightToShrink in class BlockBox
isNeedsClipOnPaint
public boolean isNeedsClipOnPaint(RenderingContext c)
- Overrides:
isNeedsClipOnPaint in class BlockBox
Copyright © 2013. All Rights Reserved.