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

void
compute(LogicalPageBox root)
void
continueComputation(PageGrid pageGrid, RenderBox box)
Continues processing.
protected TextAlignmentProcessor
create(CSSValue alignment, CSSValue lastLine)
protected void
finishBlockLevelBox(RenderBox box)
protected void
finishInlineLevelBox(RenderBox box)
protected void
finishLine(InlineRenderBox inlineRenderBox)
protected void
processBlockLevelNode(RenderNode node)
protected void
processInlineLevelNode(RenderNode node)
protected void
processParagraphChilds(ParagraphRenderBox box)
protected boolean
startBlockLevelBox(RenderBox box)
The whole computation is only done for exactly one nesting level of paragraphs.
protected boolean
startInlineLevelBox(RenderBox box)
protected void
startLine(InlineRenderBox inlineRenderBox)

Methods inherited from class org.jfree.layouting.renderer.process.IterateVisualProcessStep

finishBlockLevelBox, finishInlineLevelBox, processBlockLevelChild, processBlockLevelNode, processBoxChilds, processFlow, processInlineLevelChild, processInlineLevelNode, processOtherLevelChild, processParagraphChilds, startBlockLevelBox, startInlineLevelBox, startProcessing

Constructor Details

InfiniteMinorAxisLayoutStep

public InfiniteMinorAxisLayoutStep()

Method Details

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:
box -

create

protected TextAlignmentProcessor create(CSSValue alignment,
                                        CSSValue lastLine)

finishBlockLevelBox

protected void finishBlockLevelBox(RenderBox box)
Overrides:
finishBlockLevelBox in interface IterateVisualProcessStep

finishInlineLevelBox

protected void finishInlineLevelBox(RenderBox box)
Overrides:
finishInlineLevelBox in interface IterateVisualProcessStep

finishLine

protected void finishLine(InlineRenderBox inlineRenderBox)

processBlockLevelNode

protected void processBlockLevelNode(RenderNode node)
Overrides:
processBlockLevelNode in interface IterateVisualProcessStep

processInlineLevelNode

protected void processInlineLevelNode(RenderNode node)
Overrides:
processInlineLevelNode in interface IterateVisualProcessStep

processParagraphChilds

protected void processParagraphChilds(ParagraphRenderBox box)
Overrides:
processParagraphChilds in interface IterateVisualProcessStep

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.
Overrides:
startBlockLevelBox in interface IterateVisualProcessStep
Parameters:
box -
Returns:

startInlineLevelBox

protected boolean startInlineLevelBox(RenderBox box)
Overrides:
startInlineLevelBox in interface IterateVisualProcessStep

startLine

protected void startLine(InlineRenderBox inlineRenderBox)