net.sf.jasperreports.engine.design
Class JRDesignBand
java.lang.Object
net.sf.jasperreports.engine.base.JRBaseElementGroup
net.sf.jasperreports.engine.design.JRDesignElementGroup
net.sf.jasperreports.engine.design.JRDesignBand
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, JRChangeEventsSupport, JRBand, JRChild, JRCloneable, JRElementGroup, JRVisitable
public class JRDesignBand
- extends JRDesignElementGroup
- implements JRBand
- Version:
- $Id: JRDesignBand.java 5180 2012-03-29 13:23:12Z teodord $
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.jasperreports.engine.JRChild |
clone |
PROPERTY_HEIGHT
public static final java.lang.String PROPERTY_HEIGHT
- See Also:
- Constant Field Values
PROPERTY_PRINT_WHEN_EXPRESSION
public static final java.lang.String PROPERTY_PRINT_WHEN_EXPRESSION
- See Also:
- Constant Field Values
height
protected int height
splitTypeValue
protected SplitTypeEnum splitTypeValue
printWhenExpression
protected JRExpression printWhenExpression
JRDesignBand
public JRDesignBand()
getHeight
public int getHeight()
- Specified by:
getHeight
in interface JRBand
setHeight
public void setHeight(int height)
getSplitTypeValue
public SplitTypeEnum getSplitTypeValue()
- Description copied from interface:
JRBand
- Specifies the band split behavior.
- Specified by:
getSplitTypeValue
in interface JRBand
setSplitType
public void setSplitType(SplitTypeEnum splitTypeValue)
- Specified by:
setSplitType
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)
getOrigin
public JROrigin getOrigin()
- Returns the band origin, i.e. its location/role within the report
(e.g. detail/title/group header/etc).
The location is automatically set when the band is inserted
into the report (via one of the
setTitle
/
setPageHeader
methods).
- Returns:
- the band origin
clone
public java.lang.Object clone()
- Specified by:
clone
in interface JRCloneable
- Overrides:
clone
in class JRDesignElementGroup
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com