public interface JRBand extends JRElementGroup, JRPropertiesHolder
<band>.
Report sections, sometimes referred to as report bands, represent a feature and
functionality common to almost all reporting tools.
height attribute in a report band declaration specifies the height in pixels for that
particular band and is very important in the overall report design.
The elements contained by a certain report band should always fit the band's dimensions;
this will prevent potentially bad results when generating the reports. The engine issues a
warning if it finds elements outside the band borders when compiling report designs.
splitType attribute, as follows:
StretchPreventImmediatenet.sf.jasperreports.band.split.type configuration property.
<printWhenExpression> tag, which is available
in any <band> element of the JRXML report design and should always return a
java.lang.Boolean object or null.JRSection| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_SPLIT_TYPE |
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight() |
JRExpression |
getPrintWhenExpression()
Returns the boolean expression that specifies if the band will be displayed.
|
List<ExpressionReturnValue> |
getReturnValues()
Returns the list of values to increment report variables with.
|
SplitTypeEnum |
getSplitTypeValue()
Specifies the band split behavior.
|
void |
setSplitType(SplitTypeEnum splitType) |
getChildren, getElementByKey, getElementGroup, getElementsvisitclonegetParentProperties, getPropertiesMap, hasPropertiesstatic final String PROPERTY_SPLIT_TYPE
int getHeight()
SplitTypeEnum getSplitTypeValue()
void setSplitType(SplitTypeEnum splitType)
JRExpression getPrintWhenExpression()
List<ExpressionReturnValue> getReturnValues()
Copyright © 2017. All rights reserved.