net.sf.jasperreports.engine.base
Class JRBaseBand
java.lang.Object
net.sf.jasperreports.engine.base.JRBaseElementGroup
net.sf.jasperreports.engine.base.JRBaseBand
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, JRChangeEventsSupport, JRBand, JRChild, JRCloneable, JRElementGroup, JRVisitable
public class JRBaseBand
- extends JRBaseElementGroup
- implements JRBand, JRChangeEventsSupport
Used for implementing band functionality. A report can contain the following bands: background, title,
summary, page header, page footer, last page footer, column header and column footer.
- Version:
- $Id: JRBaseBand.java 3033 2009-08-27 11:46:22Z teodord $
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
JRBaseSection
,
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_SPLIT_ALLOWED
public static final java.lang.String PROPERTY_SPLIT_ALLOWED
- Deprecated. Replaced by
PROPERTY_SPLIT_TYPE
.
- See Also:
- Constant Field Values
PROPERTY_SPLIT_TYPE
public static final java.lang.String PROPERTY_SPLIT_TYPE
- See Also:
- Constant Field Values
height
protected int height
splitType
protected java.lang.Byte splitType
printWhenExpression
protected JRExpression printWhenExpression
JRBaseBand
protected JRBaseBand(JRBand band,
JRBaseObjectFactory factory)
getHeight
public int getHeight()
- Specified by:
getHeight
in interface JRBand
isSplitAllowed
public boolean isSplitAllowed()
- Deprecated. Replaced by
getSplitType()
.
- Description copied from interface:
JRBand
- Specifies if the band can be split between two pages.
- Specified by:
isSplitAllowed
in interface JRBand
setSplitAllowed
public void setSplitAllowed(boolean isSplitAllowed)
- Deprecated. Replaced by
setSplitType(Byte)
.
- Specified by:
setSplitAllowed
in interface JRBand
getSplitType
public java.lang.Byte getSplitType()
- Description copied from interface:
JRBand
- Specifies the band split behavior.
- Specified by:
getSplitType
in interface JRBand
setSplitType
public void setSplitType(java.lang.Byte splitType)
- 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
clone
public java.lang.Object clone()
- Specified by:
clone
in interface JRCloneable
- Overrides:
clone
in class JRBaseElementGroup
getEventSupport
public JRPropertyChangeSupport getEventSupport()
- Description copied from interface:
JRChangeEventsSupport
- Returns the property change support object for this instance.
- Specified by:
getEventSupport
in interface JRChangeEventsSupport
- Returns:
- the property change support object for this instance
© 2001-2009 Jaspersoft Corporation www.jaspersoft.com