ar.com.fdvs.dj.util
Class LayoutUtils

java.lang.Object
  extended by ar.com.fdvs.dj.util.LayoutUtils

public class LayoutUtils
extends java.lang.Object


Constructor Summary
LayoutUtils()
           
 
Method Summary
static void copyBandElements(net.sf.jasperreports.engine.design.JRDesignBand destBand, net.sf.jasperreports.engine.JRBand sourceBand)
          Copy bands elements from source to dest band, also makes sure copied elements are placed below existing ones (Y offset is calculated)
static int findVerticalOffset(net.sf.jasperreports.engine.design.JRDesignBand band)
          Finds "Y" coordinate value in which more elements could be added in the band
static void moveBandsElemnts(int yOffset, net.sf.jasperreports.engine.design.JRDesignBand band)
          Moves the elements contained in "band" in the Y axis "yOffset"
static void registerCustomExpressionParameter(DynamicJasperDesign design, java.lang.String name, CustomExpression customExpression)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutUtils

public LayoutUtils()
Method Detail

findVerticalOffset

public static int findVerticalOffset(net.sf.jasperreports.engine.design.JRDesignBand band)
Finds "Y" coordinate value in which more elements could be added in the band

Parameters:
band -
Returns:

copyBandElements

public static void copyBandElements(net.sf.jasperreports.engine.design.JRDesignBand destBand,
                                    net.sf.jasperreports.engine.JRBand sourceBand)
Copy bands elements from source to dest band, also makes sure copied elements are placed below existing ones (Y offset is calculated)

Parameters:
destBand -
sourceBand -

moveBandsElemnts

public static void moveBandsElemnts(int yOffset,
                                    net.sf.jasperreports.engine.design.JRDesignBand band)
Moves the elements contained in "band" in the Y axis "yOffset"

Parameters:
intValue -
band -

registerCustomExpressionParameter

public static void registerCustomExpressionParameter(DynamicJasperDesign design,
                                                     java.lang.String name,
                                                     CustomExpression customExpression)


Copyright © 2006-2009 FDV Solutions. All Rights Reserved.