public class TableCellBox extends BlockBox
| Modifier and Type | Field and Description |
|---|---|
static TableCellBox |
SPANNING_CELL |
CONTENT_BLOCK, CONTENT_EMPTY, CONTENT_INLINE, CONTENT_UNKNOWN, NO_BASELINE, POSITION_BOTH, POSITION_HORIZONTALLY, POSITION_VERTICALLYCHILDREN_FLUX, DONE, DUMP_LAYOUT, DUMP_RENDER, FLUX, LINE_SEPARATOR, NOTHING| Constructor and Description |
|---|
TableCellBox() |
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, isInline, isInlineBlock, isInMainFlow, isMayCollapseMarginsWithChildren, isMinMaxCalculated, isNeedPageClear, isNeedsKeepWithInline, isPageBreakNeededBecauseOfMinHeight, 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, toStringaddAllChildren, 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, isFlowingColumnBox, isInDocumentFlow, isInitialContainingBlock, 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, stateToStringpublic static final TableCellBox SPANNING_CELL
public BorderPropertySet getBorder(CssContext cssCtx)
public void calcCollapsedBorder(CssContext c)
public int getCol()
public void setCol(int col)
public int getRow()
public void setRow(int row)
public void layout(LayoutContext c)
public TableBox getTable()
protected TableSectionBox getSection()
public Length getOuterStyleWidth(CssContext c)
public Length getOuterStyleOrColWidth(CssContext c)
public void setLayoutWidth(LayoutContext c, int width)
public boolean isAutoHeight()
isAutoHeight in class BlockBoxpublic int calcBaseline(LayoutContext c)
calcBaseline in class BlockBoxpublic int calcBlockBaseline(LayoutContext c)
public void moveContent(LayoutContext c, int deltaY)
public boolean isPageBreaksChange(LayoutContext c, int posDeltaY)
public IdentValue getVerticalAlign()
public void paintBackground(RenderingContext c)
paintBackground in class Boxpublic void paintBorder(RenderingContext c)
paintBorder in class Boxpublic void paintCollapsedBorder(RenderingContext c, int side)
public Rectangle getChildrenClipEdge(RenderingContext c)
getChildrenClipEdge in class Boxprotected boolean isFixedWidthAdvisoryOnly()
isFixedWidthAdvisoryOnly in class BlockBoxprotected boolean isSkipWhenCollapsingMargins()
isSkipWhenCollapsingMargins in class BlockBoxpublic static CollapsedBorderValue compareBorders(CollapsedBorderValue border1, CollapsedBorderValue border2, boolean returnNullOnEqual)
public Rectangle getPaintingClipEdge(CssContext c)
getPaintingClipEdge in class BlockBoxpublic boolean hasCollapsedPaintingBorder()
protected BorderPropertySet getCollapsedPaintingBorder()
public CollapsedBorderValue getCollapsedBorderBottom()
public CollapsedBorderValue getCollapsedBorderLeft()
public CollapsedBorderValue getCollapsedBorderRight()
public CollapsedBorderValue getCollapsedBorderTop()
protected int getCSSHeight(CssContext c)
getCSSHeight in class BlockBoxprotected boolean isAllowHeightToShrink()
isAllowHeightToShrink in class BlockBoxpublic boolean isNeedsClipOnPaint(RenderingContext c)
isNeedsClipOnPaint in class BlockBoxCopyright © 2018. All rights reserved.