public class AnonymousBlockBox extends BlockBox
BlockBox
directly with the anonymous property is
true.CONTENT_BLOCK, CONTENT_EMPTY, CONTENT_INLINE, CONTENT_UNKNOWN, POSITION_BOTH, POSITION_HORIZONTALLY, POSITION_VERTICALLY
CHILDREN_FLUX, DONE, DUMP_LAYOUT, DUMP_RENDER, FLUX, NOTHING
Constructor and Description |
---|
AnonymousBlockBox(org.w3c.dom.Element element) |
Modifier and Type | Method and Description |
---|---|
BlockBox |
copyOf() |
Box |
find(CssContext cssCtx,
int absX,
int absY,
boolean findAnonymous) |
int |
getContentWidth() |
java.util.List |
getOpenInlineBoxes() |
boolean |
isMayCollapseMarginsWithChildren() |
boolean |
isSkipWhenCollapsingMargins() |
void |
layout(LayoutContext c) |
void |
provideSiblingMarginToFloats(int margin) |
void |
setOpenInlineBoxes(java.util.List openInlineBoxes) |
void |
styleText(LayoutContext c) |
calcBaseline, 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, getPaintingClipEdge, getPersistentBFC, getReplacedElement, getStaticEquivalent, initStaticPos, isAutoHeight, isBottomMarginCalculated, isContainsInlineContent, isCurrentBreakAtLineContext, isFloated, isFromCaptionedTable, isInline, isInMainFlow, isNeedPageClear, isNeedsClipOnPaint, 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, toString
addAllChildren, addChild, addChildForLayout, analyzePageBreaks, calcPaintingInfo, clearSelection, collectText, connectChildrenToCurrentLayer, crossesPageBreak, detach, exportText, forcePageBreakAfter, forcePageBreakBefore, getAbsX, getAbsY, getBorder, getBorderEdge, getBorderSides, getBoxDimensions, getChild, getChildCount, getChildIterator, getChildren, getChildrenClipEdge, getContainingBlock, getContainingLayer, getContentAreaEdge, 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, paintBackground, paintBorder, 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
public void layout(LayoutContext c)
public int getContentWidth()
getContentWidth
in class Box
public Box find(CssContext cssCtx, int absX, int absY, boolean findAnonymous)
public java.util.List getOpenInlineBoxes()
public void setOpenInlineBoxes(java.util.List openInlineBoxes)
public boolean isSkipWhenCollapsingMargins()
public void provideSiblingMarginToFloats(int margin)
public boolean isMayCollapseMarginsWithChildren()
public void styleText(LayoutContext c)