public interface JRBreak extends JRElement
<printWhenExpression>
,
and it can float within the band if positionType="Float"
is used. Other common element
properties like colors and styles do not make any sense for this kind of element, because it
behaves like an invisible horizontal line that crosses the whole parent band and indicates the
y
position where a page break or column break should occur when the band content is
rendered during the report-filling process.
Whether a page break or a column break should be introduced is specified using the type
attribute available for this element (see getTypeValue()
). By default, page breaks are created.Modifier and Type | Field and Description |
---|---|
static String |
PAGE_BREAK_NO_PAGINATION_APPLY
Value for
PROPERTY_PAGE_BREAK_NO_PAGINATION that results in page breaks
being honoured in non paginated reports. |
static String |
PAGE_BREAK_NO_PAGINATION_IGNORE
Value for
PROPERTY_PAGE_BREAK_NO_PAGINATION that results in page breaks
being ignored in non paginated reports. |
static String |
PROPERTY_PAGE_BREAK_NO_PAGINATION
Property that determines how page breaks are to be handled in reports that are not paginated.
|
Modifier and Type | Method and Description |
---|---|
BreakTypeEnum |
getTypeValue()
Gets the break type.
|
void |
setType(BreakTypeEnum breakTypeEnum)
Sets the break type.
|
clone, collectExpressions, getElementGroup, getKey, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchTypeValue, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX
visit
clone
getBackcolor, getForecolor, getHeight, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode
getDefaultStyleProvider, getStyle, getStyleNameReference
getParentProperties, getPropertiesMap, hasProperties
getUUID
static final String PROPERTY_PAGE_BREAK_NO_PAGINATION
The property value can be one of
The property can be set globally, at report level or at element level. The default behaviour is to ignore page breaks in non paginated reports.
static final String PAGE_BREAK_NO_PAGINATION_IGNORE
PROPERTY_PAGE_BREAK_NO_PAGINATION
that results in page breaks
being ignored in non paginated reports.static final String PAGE_BREAK_NO_PAGINATION_APPLY
PROPERTY_PAGE_BREAK_NO_PAGINATION
that results in page breaks
being honoured in non paginated reports.BreakTypeEnum getTypeValue()
BreakTypeEnum
void setType(BreakTypeEnum breakTypeEnum)
breakTypeEnum
- a value representing one of the break type constants in BreakTypeEnum
Copyright © 2017. All rights reserved.