org.jfree.layouting.renderer.process

Class InfiniteMinorAxisLayoutStep

public class InfiniteMinorAxisLayoutStep extends IterateVisualProcessStep

This process-step computes the effective layout, but it does not take horizontal pagebreaks into account. (It has to deal with vertical breaks, as they affect the text layout.)

This processing step does not ajust anything on the vertical axis. Vertical alignment is handled in a second step.

Author: Thomas Morgner

Constructor Summary
InfiniteMinorAxisLayoutStep()
Method Summary
voidcompute(LogicalPageBox root)
voidcontinueComputation(PageGrid pageGrid, RenderBox box)
Continues processing.
protected TextAlignmentProcessorcreate(CSSValue alignment, CSSValue lastLine)
protected voidfinishBlockLevelBox(RenderBox box)
protected voidfinishInlineLevelBox(RenderBox box)
protected voidfinishLine(InlineRenderBox inlineRenderBox)
protected voidprocessBlockLevelNode(RenderNode node)
protected voidprocessInlineLevelNode(RenderNode node)
protected voidprocessParagraphChilds(ParagraphRenderBox box)
protected booleanstartBlockLevelBox(RenderBox box)
The whole computation is only done for exactly one nesting level of paragraphs.
protected booleanstartInlineLevelBox(RenderBox box)
protected voidstartLine(InlineRenderBox inlineRenderBox)

Constructor Detail

InfiniteMinorAxisLayoutStep

public InfiniteMinorAxisLayoutStep()

Method Detail

compute

public void compute(LogicalPageBox root)

continueComputation

public void continueComputation(PageGrid pageGrid, RenderBox box)
Continues processing. The renderbox must have a valid x-layout (that is: X, content-X1, content-X2 and Width)

Parameters: parent box

create

protected TextAlignmentProcessor create(CSSValue alignment, CSSValue lastLine)

finishBlockLevelBox

protected void finishBlockLevelBox(RenderBox box)

finishInlineLevelBox

protected void finishInlineLevelBox(RenderBox box)

finishLine

protected void finishLine(InlineRenderBox inlineRenderBox)

processBlockLevelNode

protected void processBlockLevelNode(RenderNode node)

processInlineLevelNode

protected void processInlineLevelNode(RenderNode node)

processParagraphChilds

protected void processParagraphChilds(ParagraphRenderBox box)

startBlockLevelBox

protected boolean startBlockLevelBox(RenderBox box)
The whole computation is only done for exactly one nesting level of paragraphs. If we encounter an inline-block or inline-table, we handle them as a single element.

Parameters: box

Returns:

startInlineLevelBox

protected boolean startInlineLevelBox(RenderBox box)

startLine

protected void startLine(InlineRenderBox inlineRenderBox)