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| 构造器和说明 |
|---|
TableBox() |
appendPositioningInfo, calcBaseline, calcBreakAtLineContext, calcCanvasLocation, calcChildLocations, calcChildPaintingInfo, calcDimensions, calcDimensions, calcInitialBreakAtLine, calcInitialFloatedCanvasLocation, checkPageContext, createMarkerData, dump, ensureChildren, findLastNthLineBox, findOffset, getAvailableWidth, getChildrenContentType, getChildrenHeight, getCSSHeight, getCSSWidth, getDocumentParent, getExtraBoxDescription, getFirstLetterStyle, getFirstLineStyle, getFloatedBoxData, getInlineContent, getLineBox, getListCounter, getMargin, getMarkerData, getMaxWidth, getMinWidth, getPaintingClipEdge, getPersistentBFC, getReplacedElement, getStaticEquivalent, initStaticPos, isAutoHeight, isBottomMarginCalculated, isContainsInlineContent, isCurrentBreakAtLineContext, isFixedWidthAdvisoryOnly, isFloated, isFromCaptionedTable, isInitialContainingBlock, 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, 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 在类中 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 在类中 BlockBoxpublic void splitColumn(int pos,
int firstSpan)
public int marginsBordersPaddingAndSpacing(CssContext c, boolean ignoreAutoMargins)
public List getColumns()
public void recalcSections(LayoutContext c)
protected boolean isAllowHeightToShrink()
isAllowHeightToShrink 在类中 BlockBoxpublic void layout(LayoutContext c)
protected void resolveAutoMargins(LayoutContext c, int cssWidth, RectPropertySet padding, BorderPropertySet border)
resolveAutoMargins 在类中 BlockBoxprotected void layoutChildren(LayoutContext c, int contentStart)
layoutChildren 在类中 BlockBoxpublic void analyzePageBreaks(LayoutContext c, ContentLimitContainer container)
analyzePageBreaks 在类中 Boxpublic void paintBackground(RenderingContext c)
paintBackground 在类中 Boxpublic void paintBorder(RenderingContext c)
paintBorder 在类中 Boxpublic void updateHeaderFooterPosition(RenderingContext c)
public TableRowBox getFirstRow()
public TableRowBox getFirstBodyRow()
protected void calcLayoutHeight(LayoutContext c, BorderPropertySet border, RectPropertySet margin, RectPropertySet padding)
calcLayoutHeight 在类中 BlockBoxpublic void reset(LayoutContext c)
protected int getCSSWidth(CssContext c)
getCSSWidth 在类中 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()
protected 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 在类中 BlockBoxprotected int getPageClearance()
getPageClearance 在类中 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 © 2019. All Rights Reserved.