org.jfree.layouting.renderer.process

Class InfiniteMajorAxisLayoutStep

public class InfiniteMajorAxisLayoutStep extends IterateVisualProcessStep

This process-step computes the vertical alignment and corrects the y-positions whereever needed.

This will only work, if the minor-axis step has been executed. Executing this class eats 23% of the current layouting time.

Author: Thomas Morgner

Nested Class Summary
static classInfiniteMajorAxisLayoutStep.ParagraphBreakState
Constructor Summary
InfiniteMajorAxisLayoutStep()
Method Summary
voidcompute(LogicalPageBox pageBox)
voidcontinueComputation(RenderBox box)
Continues processing.
protected voidfinishBlockLevelBox(RenderBox box)
protected voidfinishInlineLevelBox(RenderBox box)
protected voidfinishLine(ParagraphPoolBox inlineRenderBox)
protected voidfinishOtherBox(RenderBox box)
protected voidprocessBlockLevelNode(RenderNode node)
protected voidprocessInlineLevelNode(RenderNode node)
protected voidprocessParagraphChilds(ParagraphRenderBox box)
protected booleanstartBlockLevelBox(RenderBox box)
protected booleanstartInlineLevelBox(RenderBox box)
protected voidstartLine(ParagraphPoolBox box)

Constructor Detail

InfiniteMajorAxisLayoutStep

public InfiniteMajorAxisLayoutStep()

Method Detail

compute

public void compute(LogicalPageBox pageBox)

continueComputation

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

Parameters: box

finishBlockLevelBox

protected void finishBlockLevelBox(RenderBox box)

finishInlineLevelBox

protected void finishInlineLevelBox(RenderBox box)

finishLine

protected void finishLine(ParagraphPoolBox inlineRenderBox)

finishOtherBox

protected void finishOtherBox(RenderBox box)

processBlockLevelNode

protected void processBlockLevelNode(RenderNode node)

processInlineLevelNode

protected void processInlineLevelNode(RenderNode node)

processParagraphChilds

protected void processParagraphChilds(ParagraphRenderBox box)

startBlockLevelBox

protected boolean startBlockLevelBox(RenderBox box)

startInlineLevelBox

protected boolean startInlineLevelBox(RenderBox box)

startLine

protected void startLine(ParagraphPoolBox box)