public class RowRenderer extends BoxRenderer
Renderer.ReflowPhase
Modifier and Type | Field and Description |
---|---|
int |
availableSpace |
int |
baseline |
int |
givenSpace |
LayoutRect |
pos |
abb, offset, row
Constructor and Description |
---|
RowRenderer(BoxRenderer parent,
LayoutRect rect,
boolean noStretch,
int clearFloats) |
addAbsChild, borderBottom, borderLeft, borderRight, borderTop, collapseBorders, containingBlock, createAssignedPageBreak, createAssignedPageBreak, createAssignedPageBreak, dashCalculator, expandHeight, findParentRenderer, getChildAt, getContentHeight, getContentWidth, getExtraBottomOffset, getHeight, getOffsetInRow, getOuterHeight, getOuterWidth, getParentForAbs, getScrollbarWidth, hasBackground, hasBorder, hasPadding, hasPercentualWidth, hasWidthBase, horizontalExtent, isAbsPositioned, isAvoidPageBreak, isLastChild, isOutOfFlowPositioned, isRelPositioned, isRTL, logicalHeight, logicalMaxHeight, logicalMinHeight, marginBottom, marginLeft, marginRight, marginTop, moveChildUp, paddingBottom, paddingLeft, paddingRight, paddingTop, resetLayout, resetMinWidth, setHeight, setOuterHeight, setOuterWidth, setWidth, verticalMarginExtent, verticalOffset
cleanup, getAbsPositionedBottomEdge, getClear, getDecoration, getDisplayType, getElement, getFloat, getFontSize, getHeightObj, getLang, getMaxHeightObj, getMaxWidth, getMaxWidthObj, getMinHeightObj, getMinWidthObj, getOuterMinWidth, getParent, getTitle, getWidthObj, getX, isAutoWidth, isBody, isBoxSized, isFloating, isTable, isTaggedOutput, isTBRL, isUseAwt, reLayout, setParent, setUseAwt, updateHeights
public final LayoutRect pos
public int availableSpace
public int givenSpace
public int baseline
public RowRenderer(BoxRenderer parent, LayoutRect rect, boolean noStretch, int clearFloats)
public RStatus layout(Renderer.ReflowPhase phase)
layout
in class BoxRenderer
public void getDestinationRenderers(Map<String,Renderer> results)
getDestinationRenderers
in class Renderer
public void suppressTrailingShy()
public void finalizeRow(Renderer following)
public int getAbsVerticalPosition()
getAbsVerticalPosition
in class BoxRenderer
public int getAbsHorizontalPosition()
getAbsHorizontalPosition
in class BoxRenderer
public Renderer addChild(Renderer renderer)
addChild
in class BoxRenderer
public int getChildrenNumber()
getChildrenNumber
in class BoxRenderer
public float getBaseline()
public float getTextBaseline(Context context)
getTextBaseline
in class BoxRenderer
public boolean shrink(float dx)
public float getBottomMarginOfBlock(float base)
public RStatus findAutoPageBreaks(List<Context.PageBreakRef> pbreaks, int top, int pheight) throws IOException
findAutoPageBreaks
in class BoxRenderer
IOException
public int getMinWidth(float base) throws ForcedTerminationException
getMinWidth
in class Renderer
ForcedTerminationException
public int alignContentToPageBreaks(Context.PageBreakRef pbreak) throws IOException
alignContentToPageBreaks
in class BoxRenderer
IOException
public RStatus render() throws IOException
render
in class Renderer
IOException
public boolean doesNotPrintToPage() throws IOException
doesNotPrintToPage
in class Renderer
IOException
public Context getContext()
getContext
in class Renderer
public int getOffsetInRow(Renderer child)
public StringBuilder dump(int mode, int indent)
public boolean noContent()
public boolean containsOnlyBlock()
public boolean isEmpty()
public boolean isBlank()
public boolean isLinebreak(RowRenderer prevRow)
public InlineItem getLastItem()
public InlineItem getPrevItem(Renderer renderer)
public float computePercentualBase()
public ArrayList<PageNumberRenderer> getPageNumberRenderers()
public void updatePositions()
public BoxRenderer getItem()
public boolean hasAbs()
public float getMinPrefWidth()
Revision 4.0.15 / 20220727-0149