org.jfree.layouting.renderer.process

Class BoxShifter

public class BoxShifter extends Object

By keeping the shifting in a separate class, we can optimize it later without having to touch the other code. Remember: Recursive calls can be evil in complex documents..

Author: Thomas Morgner

Constructor Summary
BoxShifter()
Method Summary
voidextendHeight(RenderNode node, long amount)
voidshiftBox(RenderBox box, long amount)
voidshiftBoxUnchecked(RenderBox box, long amount)

Constructor Detail

BoxShifter

public BoxShifter()

Method Detail

extendHeight

public void extendHeight(RenderNode node, long amount)

shiftBox

public void shiftBox(RenderBox box, long amount)

shiftBoxUnchecked

public void shiftBoxUnchecked(RenderBox box, long amount)