public class TableBox extends BlockBox
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 |
|---|
TableBox() |
appendPositioningInfo, calcBaseline, calcBreakAtLineContext, calcCanvasLocation, calcChildLocations, calcChildPaintingInfo, calcDimensions, calcDimensions, calcInitialBreakAtLine, calcInitialFloatedCanvasLocation, checkPageContext, createMarkerData, dump, ensureChildren, findLastNthLineBox, findOffset, getAvailableWidth, getChildrenContentType, getChildrenHeight, getCSSFitToWidth, getCSSHeight, getCSSWidth, getDocumentParent, getExtraBoxDescription, getFirstLetterStyle, getFirstLineStyle, getFloatedBoxData, getInlineContent, getLineBox, getListCounter, getMarkerData, getMaxWidth, getMinWidth, getPaintingClipEdge, getPersistentBFC, getReplacedElement, getStaticEquivalent, initStaticPos, isAutoHeight, isBottomMarginCalculated, isContainsInlineContent, isCurrentBreakAtLineContext, isFixedWidthAdvisoryOnly, isFloated, isFromCaptionedTable, isInline, isInlineBlock, isInMainFlow, isMinMaxCalculated, isNeedPageClear, isNeedsClipOnPaint, isNeedsKeepWithInline, isReplaced, isSkipWhenCollapsingMargins, isTopMarginCalculated, layout, layoutInlineChildren, paintDebugOutline, paintInline, paintListMarker, positionAbsolute, positionAbsoluteOnPage, propagateExtraSpace, 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, calcPaintingInfo, clearSelection, collectText, connectChildrenToCurrentLayer, crossesPageBreak, detach, dumpBoxes, exportPageBoxText, exportText, find, forcePageBreakAfter, forcePageBreakBefore, getAbsX, getAbsY, getBorderEdge, getBorderSides, getBoxDimensions, getChild, getChildCount, getChildIterator, getChildren, getChildrenClipEdge, 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, isInitialContainingBlock, 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, setTx, setTy, setX, setY, stateToStringpublic boolean isMarginAreaRoot()
isMarginAreaRoot in class Boxpublic void setMarginAreaRoot(boolean marginAreaRoot)
public void addStyleColumn(TableColumn col)
public List getStyleColumns()
public int[] getColumnPos()
public int numEffCols()
public int spanOfEffCol(int effCol)
public int colToEffCol(int col)
public int effColToCol(int effCol)
public void appendColumn(int span)
public void setStyle(CalculatedStyle style)
public void calcMinMaxWidth(LayoutContext c)
calcMinMaxWidth in class BlockBoxpublic void splitColumn(int pos,
int firstSpan)
public int marginsBordersPaddingAndSpacing(CssContext c, boolean ignoreAutoMargins)
public List getColumns()
protected boolean isAllowHeightToShrink()
isAllowHeightToShrink in class BlockBoxpublic void layout(LayoutContext c)
protected void resolveAutoMargins(LayoutContext c, int cssWidth, RectPropertySet padding, BorderPropertySet border)
resolveAutoMargins in class BlockBoxprotected void layoutChildren(LayoutContext c, int contentStart)
layoutChildren in class BlockBoxpublic void analyzePageBreaks(LayoutContext c, ContentLimitContainer container)
analyzePageBreaks in class Boxpublic void paintBackground(RenderingContext c)
paintBackground in class Boxpublic void paintBorder(RenderingContext c)
paintBorder in class Boxpublic void updateHeaderFooterPosition(RenderingContext c)
public TableRowBox getFirstRow()
public TableRowBox getFirstBodyRow()
protected void calcLayoutHeight(LayoutContext c, BorderPropertySet border, RectPropertySet margin, RectPropertySet padding)
calcLayoutHeight in class BlockBoxpublic void reset(LayoutContext c)
protected int getCSSWidth(CssContext c)
getCSSWidth in class BlockBoxpublic TableColumn colElement(int col)
public Rectangle getColumnBounds(CssContext c, int col)
public BorderPropertySet getBorder(CssContext cssCtx)
public int calcFixedHeightRowBottom(CssContext c)
protected boolean isMayCollapseMarginsWithChildren()
isMayCollapseMarginsWithChildren in class BlockBoxprotected TableSectionBox sectionAbove(TableSectionBox section, boolean skipEmptySections)
protected TableSectionBox sectionBelow(TableSectionBox section, boolean skipEmptySections)
protected TableCellBox cellAbove(TableCellBox cell)
protected TableCellBox cellBelow(TableCellBox cell)
protected TableCellBox cellLeft(TableCellBox cell)
protected TableCellBox cellRight(TableCellBox cell)
public int calcInlineBaseline(CssContext c)
calcInlineBaseline in class BlockBoxprotected int getPageClearance()
getPageClearance in class BlockBoxprotected void setPageClearance(int pageClearance)
public boolean hasContentLimitContainer()
public int getExtraSpaceTop()
public void setExtraSpaceTop(int extraSpaceTop)
public int getExtraSpaceBottom()
public void setExtraSpaceBottom(int extraSpaceBottom)
Copyright © 2020. All rights reserved.