net.sf.jasperreports.engine.design
Class JRDesignBand

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

public class JRDesignBand
extends JRDesignElementGroup
implements JRBand

Version:
$Id: JRDesignBand.java,v 1.22 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
JRDesignBand()
           
 
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 setHeight(int height)
           
 void setPrintWhenExpression(JRExpression expression)
           
 void setSplitAllowed(boolean isSplitAllowed)
           
 
Methods inherited from class net.sf.jasperreports.engine.design.JRDesignElementGroup
addElement, addElementGroup, removeElement, removeElementGroup, setElementGroup
 
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

JRDesignBand

public JRDesignBand()
Method Detail

getHeight

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

setHeight

public void setHeight(int height)

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

setPrintWhenExpression

public void setPrintWhenExpression(JRExpression expression)


© 2001-2005 JasperSoft Corporation www.jaspersoft.com