Package 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:
Serializable,Cloneable,JRChangeEventsSupport,JRBand,JRChild,JRCloneable,JRElementGroup,JRPropertiesHolder,JRVisitable
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.
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected JRExpressionstatic final Stringprotected List<ExpressionReturnValue> protected SplitTypeEnumFields inherited from class net.sf.jasperreports.engine.base.JRBaseElementGroup
children, elementGroupFields inherited from interface net.sf.jasperreports.engine.JRBand
PROPERTY_SPLIT_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Returns the property change support object for this instance.intReturns the parent properties holder, whose properties are used as defaults for this object.Returns the boolean expression that specifies if the band will be displayed.Returns this object's properties map.Returns the list of values to increment report variables with.Specifies the band split behavior.booleanChecks whether the object has any properties.voidsetSplitType(SplitTypeEnum splitType) Methods inherited from class net.sf.jasperreports.engine.base.JRBaseElementGroup
clone, getChildren, getElementByKey, getElementByKey, getElementGroup, getElements, getElements, visitMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sf.jasperreports.engine.JRElementGroup
getChildren, getElementByKey, getElementGroup, getElementsMethods inherited from interface net.sf.jasperreports.engine.JRVisitable
visit
-
Field Details
-
PROPERTY_splitType
- See Also:
-
height
protected int height -
splitType
-
printWhenExpression
-
returnValues
-
-
Constructor Details
-
JRBaseBand
-
-
Method Details
-
getHeight
public int getHeight() -
getSplitType
Description copied from interface:JRBandSpecifies the band split behavior.- Specified by:
getSplitTypein interfaceJRBand
-
setSplitType
- Specified by:
setSplitTypein interfaceJRBand
-
getPrintWhenExpression
Description copied from interface:JRBandReturns the boolean expression that specifies if the band will be displayed.- Specified by:
getPrintWhenExpressionin interfaceJRBand
-
getReturnValues
Description copied from interface:JRBandReturns the list of values to increment report variables with.- Specified by:
getReturnValuesin interfaceJRBand- Returns:
- the list of returned values.
-
clone
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classJRBaseElementGroup
-
getEventSupport
Description copied from interface:JRChangeEventsSupportReturns the property change support object for this instance.- Specified by:
getEventSupportin interfaceJRChangeEventsSupport- Returns:
- the property change support object for this instance
-
hasProperties
public boolean hasProperties()Description copied from interface:JRPropertiesHolderChecks whether the object has any properties.- Specified by:
hasPropertiesin interfaceJRPropertiesHolder- Returns:
- whether the object has any properties
-
getPropertiesMap
Description copied from interface:JRPropertiesHolderReturns this object's properties map.- Specified by:
getPropertiesMapin interfaceJRPropertiesHolder- Returns:
- this object's properties map
-
getParentProperties
Description copied from interface:JRPropertiesHolderReturns the parent properties holder, whose properties are used as defaults for this object.- Specified by:
getParentPropertiesin interfaceJRPropertiesHolder- Returns:
- the parent properties holder, or
nullif no parent
-