net.sf.jasperreports.engine
Interface JRBand

All Superinterfaces:
java.lang.Cloneable, JRChild, JRCloneable, JRElementGroup, JRVisitable
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 1229 2006-04-19 10:27:35Z teodord $
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
clone
 
Methods inherited from interface net.sf.jasperreports.engine.JRVisitable
visit
 
Methods inherited from interface net.sf.jasperreports.engine.JRCloneable
clone
 

Method Detail

getHeight

int getHeight()

isSplitAllowed

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


setSplitAllowed

void setSplitAllowed(boolean isSplitAllowed)

getPrintWhenExpression

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



© 2001-2006 JasperSoft Corporation www.jaspersoft.com