Interface JRBreak

  • All Superinterfaces:
    Cloneable, JRChild, JRCloneable, JRCommonElement, JRElement, JRIdentifiable, JRPropertiesHolder, JRStyleContainer, JRVisitable
    All Known Implementing Classes:
    JRBaseBreak, JRDesignBreak, JRFillBreak

    public interface JRBreak
    extends JRElement
    An abstract representation of a break element.

    The break element was added to the list of elements that can be placed inside a band. This is used for introducing a page break or column break at a specified position within the band.

    In many ways, the break element behaves like any other normal element placed in a band. For instance, it can be conditionally displayed using <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 getType()). By default, page breaks are created.

    Author:
    Teodor Danciu (teodord@users.sourceforge.net)