net.sf.jasperreports.engine
Interface JRBand

All Superinterfaces:
JRChild, JRElementGroup
All Known Implementing Classes:
JRBaseBand, JRDesignBand, JRFillBand

public interface JRBand
extends JRElementGroup

Implementations of this interface represent various sections in the report template. A report can contain the following bands: background, title, summary, page header, page footer, last page footer, column header, column footer and detail. For each group defined in the report, there is a corresponding group header and group footer.

Version:
$Id: JRBand.java,v 1.9 2005/08/25 14:33:32 ionutned Exp $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Method Summary
 int getHeight()
           
 JRExpression getPrintWhenExpression()
          Returns the boolean expression that specifies if the band will be displayed.
 boolean isSplitAllowed()
          Specifies if the band can be splitted between two pages.
 void setSplitAllowed(boolean isSplitAllowed)
           
 
Methods inherited from interface net.sf.jasperreports.engine.JRElementGroup
getChildren, getElementByKey, getElementGroup, getElements
 
Methods inherited from interface net.sf.jasperreports.engine.JRChild
getCopy, writeXml
 

Method Detail

getHeight

public int getHeight()

isSplitAllowed

public boolean isSplitAllowed()
Specifies if the band can be splitted between two pages.


setSplitAllowed

public void setSplitAllowed(boolean isSplitAllowed)

getPrintWhenExpression

public JRExpression getPrintWhenExpression()
Returns the boolean expression that specifies if the band will be displayed.



© 2001-2005 JasperSoft Corporation www.jaspersoft.com