Class InfiniteMajorAxisLayoutStep
- java.lang.Object
-
- org.jfree.layouting.renderer.process.IterateVisualProcessStep
-
- org.jfree.layouting.renderer.process.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
Nested Classes Modifier and Type Class Description static classInfiniteMajorAxisLayoutStep.ParagraphBreakState
-
Constructor Summary
Constructors Constructor Description InfiniteMajorAxisLayoutStep()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)-
Methods inherited from class org.jfree.layouting.renderer.process.IterateVisualProcessStep
processBlockLevelChild, processBoxChilds, processFlow, processInlineLevelChild, processOtherLevelChild, startProcessing
-
-
-
-
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-
-
startBlockLevelBox
protected boolean startBlockLevelBox(RenderBox box)
- Overrides:
startBlockLevelBoxin classIterateVisualProcessStep
-
finishBlockLevelBox
protected void finishBlockLevelBox(RenderBox box)
- Overrides:
finishBlockLevelBoxin classIterateVisualProcessStep
-
startInlineLevelBox
protected boolean startInlineLevelBox(RenderBox box)
- Overrides:
startInlineLevelBoxin classIterateVisualProcessStep
-
finishInlineLevelBox
protected void finishInlineLevelBox(RenderBox box)
- Overrides:
finishInlineLevelBoxin classIterateVisualProcessStep
-
processInlineLevelNode
protected void processInlineLevelNode(RenderNode node)
- Overrides:
processInlineLevelNodein classIterateVisualProcessStep
-
processBlockLevelNode
protected void processBlockLevelNode(RenderNode node)
- Overrides:
processBlockLevelNodein classIterateVisualProcessStep
-
processParagraphChilds
protected void processParagraphChilds(ParagraphRenderBox box)
- Specified by:
processParagraphChildsin classIterateVisualProcessStep
-
startLine
protected void startLine(ParagraphPoolBox box)
-
finishLine
protected void finishLine(ParagraphPoolBox inlineRenderBox)
-
finishOtherBox
protected void finishOtherBox(RenderBox box)
-
-