org.pentaho.reporting.engine.classic.core.layout.process
Class BoxShifter

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.layout.process.BoxShifter

public final 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

Method Summary
static void extendHeight(RenderBox parent, long amount)
           
static void shiftBox(RenderNode box, long amount)
           
static void shiftBoxUnchecked(RenderNode box, long amount)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

shiftBox

public static void shiftBox(RenderNode box,
                            long amount)

shiftBoxUnchecked

public static void shiftBoxUnchecked(RenderNode box,
                                     long amount)

extendHeight

public static void extendHeight(RenderBox parent,
                                long amount)