public class LineBox extends Box implements InlinePaintable
CHILDREN_FLUX, DONE, DUMP_LAYOUT, DUMP_RENDER, FLUX, LINE_SEPARATOR, NOTHING| 构造器和说明 |
|---|
LineBox() |
addAllChildren, addChild, addChildForLayout, calcChildPaintingInfo, calcPaintingInfo, connectChildrenToCurrentLayer, crossesPageBreak, detach, dumpBoxes, exportPageBoxText, forcePageBreakAfter, forcePageBreakBefore, getAbsX, getAbsY, getBorder, getBorderEdge, getBorderSides, getBoxDimensions, getChild, getChildCount, getChildIterator, getChildren, getChildrenClipEdge, getContainingBlock, getContainingBlockWidth, getContainingLayer, getContentAreaEdge, getContentWidth, getDocumentParent, getEffBackgroundColor, getEffectiveWidth, getElement, getElementBoxes, getHeight, getIndex, getLayer, getLeftMBP, getMargin, getMarginBorderPadding, getMarginEdge, getNext, getNextSibling, getPadding, getPaddingEdge, getPaddingWidth, getPaintingBorderEdge, getPaintingInfo, getPaintingPaddingEdge, getParent, getPrevious, getPreviousSibling, getPseudoElementOrClass, getRelativeOffset, getRightMBP, getState, getStyle, getStyleMargin, getStyleMargin, getTx, getTy, getWidth, getX, getY, initContainingLayer, isAnonymous, isBody, isContainedInMarginBox, isInDocumentFlow, isInlineBlock, isMarginAreaRoot, isRoot, isStyled, moveIfGreater, paintBackground, paintBorder, paintRootElementBackground, positionRelative, removeAllChildren, removeChild, removeChild, resetChildren, resetChildren, resetTopMargin, restyleChildren, 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 String dump(LayoutContext c, String indent, int which)
public Rectangle getMarginEdge(CssContext cssCtx, int tx, int ty)
getMarginEdge 在类中 Boxpublic void paintInline(RenderingContext c)
paintInline 在接口中 InlinePaintablepublic boolean isFirstLine()
public void prunePendingInlineBoxes()
public boolean isContainsContent()
public void setContainsContent(boolean containsContent)
public void align(boolean dynamic)
public void justify()
public FloatDistances getFloatDistances()
public void setFloatDistances(FloatDistances floatDistances)
public boolean isContainsBlockLevelContent()
public void setContainsBlockLevelContent(boolean containsBlockLevelContent)
public boolean intersects(CssContext cssCtx, Shape clip)
Boxintersects 在类中 Boxpublic Rectangle getPaintingClipEdge(CssContext cssCtx)
getPaintingClipEdge 在类中 Boxpublic List getTextDecorations()
public void setTextDecorations(List textDecorations)
public int getPaintingHeight()
public void setPaintingHeight(int paintingHeight)
public int getPaintingTop()
public void setPaintingTop(int paintingTop)
public List getNonFlowContent()
public void addNonFlowContent(BlockBox box)
public void reset(LayoutContext c)
public void calcCanvasLocation()
calcCanvasLocation 在类中 Boxpublic void calcChildLocations()
calcChildLocations 在类中 Boxpublic MarkerData getMarkerData()
public void setMarkerData(MarkerData markerData)
public boolean isContainsDynamicFunction()
public void setContainsDynamicFunction(boolean containsPageCounter)
public int getContentStart()
public void setContentStart(int contentOffset)
public InlineText findTrailingText()
public void trimTrailingSpace(LayoutContext c)
public Box find(CssContext cssCtx, int absX, int absY, boolean findAnonymous)
public int getBaseline()
public void setBaseline(int baseline)
public boolean isContainsOnlyBlockLevelContent()
public Box getRestyleTarget()
getRestyleTarget 在类中 Boxpublic void restyle(LayoutContext c)
public boolean isContainsVisibleContent()
public void clearSelection(List modified)
clearSelection 在类中 Boxpublic void collectText(RenderingContext c, StringBuffer buffer) throws IOException
collectText 在类中 BoxIOExceptionpublic void exportText(RenderingContext c, Writer writer) throws IOException
exportText 在类中 BoxIOExceptionpublic void analyzePageBreaks(LayoutContext c, ContentLimitContainer container)
analyzePageBreaks 在类中 Boxpublic void checkPagePosition(LayoutContext c, boolean alwaysBreak)
public JustificationInfo getJustificationInfo()
Copyright © 2019. All Rights Reserved.