net.sf.jasperreports.engine.base
Class JRBaseBand

java.lang.Object
  extended bynet.sf.jasperreports.engine.base.JRBaseElementGroup
      extended bynet.sf.jasperreports.engine.base.JRBaseBand
All Implemented Interfaces:
JRBand, JRChild, JRElementGroup, java.io.Serializable

public class JRBaseBand
extends JRBaseElementGroup
implements JRBand

Used for implementing band functionality. 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: JRBaseBand.java,v 1.24 2005/09/07 13:58:25 teodord Exp $
Author:
Teodor Danciu (teodord@users.sourceforge.net)
See Also:
Serialized Form

Field Summary
protected  int height
           
protected  boolean isSplitAllowed
           
protected  JRExpression printWhenExpression
           
 
Fields inherited from class net.sf.jasperreports.engine.base.JRBaseElementGroup
children, elementGroup
 
Constructor Summary
protected JRBaseBand(JRBand band, JRBaseObjectFactory factory)
           
 
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 class net.sf.jasperreports.engine.base.JRBaseElementGroup
getChildren, getCopy, getElementByKey, getElementGroup, getElements, writeXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.jasperreports.engine.JRElementGroup
getChildren, getElementByKey, getElementGroup, getElements
 
Methods inherited from interface net.sf.jasperreports.engine.JRChild
getCopy, writeXml
 

Field Detail

height

protected int height

isSplitAllowed

protected boolean isSplitAllowed

printWhenExpression

protected JRExpression printWhenExpression
Constructor Detail

JRBaseBand

protected JRBaseBand(JRBand band,
                     JRBaseObjectFactory factory)
Method Detail

getHeight

public int getHeight()
Specified by:
getHeight in interface JRBand

isSplitAllowed

public boolean isSplitAllowed()
Description copied from interface: JRBand
Specifies if the band can be splitted between two pages.

Specified by:
isSplitAllowed in interface JRBand

setSplitAllowed

public void setSplitAllowed(boolean isSplitAllowed)
Specified by:
setSplitAllowed in interface JRBand

getPrintWhenExpression

public JRExpression getPrintWhenExpression()
Description copied from interface: JRBand
Returns the boolean expression that specifies if the band will be displayed.

Specified by:
getPrintWhenExpression in interface JRBand


© 2001-2005 JasperSoft Corporation www.jaspersoft.com