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

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

public final class CacheBoxShifter
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(RenderNode node, long amount)
           
static void shiftBox(RenderNode box, long amount)
           
static void shiftBoxChilds(RenderBox 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)

shiftBoxChilds

public static void shiftBoxChilds(RenderBox box,
                                  long amount)

extendHeight

public static void extendHeight(RenderNode node,
                                long amount)