public interface JRFrame extends JRElement, JRElementGroup, JRBoxContainer
A frame is a report element that contains sub elements. It has a backgroud, a border and it stretches to accommodate its content. It is usually helpful when a common background and/or common border must be put around a group of elements.
For the Graphics2D and PDF exporters, a frame is equivalent to a rectangle placed behind a group of elements. The HTML exporter creates sub-tables for frames and the XLS exporter includes the frame sub elements into the grid.
For elements inside a frame, the coordinates, positionType and
stretchType properties are relative to the frame instead of the band.
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_BORDER_SPLIT_TYPE
A property that provides the default border split type for frames.
|
| Modifier and Type | Method and Description |
|---|---|
BorderSplitType |
getBorderSplitType()
Determines how should the frames borders behave when the frame splits on two pages.
|
clone, collectExpressions, getElementGroup, getKey, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchTypeValue, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setXgetBackcolor, getForecolor, getHeight, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getWidth, setBackcolor, setForecolor, setModegetDefaultStyleProvider, getStyle, getStyleNameReferencegetParentProperties, getPropertiesMap, hasPropertiesgetUUIDgetChildren, getElementByKey, getElementGroup, getElementsvisitclonegetDefaultLineColor, getLineBoxstatic final String PROPERTY_BORDER_SPLIT_TYPE
The property can be set at report and global/context levels.
The property value should be one of the names of the BorderSplitType enum,
that is NoBorders or DrawBorders.
By default BorderSplitType.NO_BORDERS is used.
getBorderSplitType(),
Constant Field ValuesBorderSplitType getBorderSplitType()
PROPERTY_BORDER_SPLIT_TYPE,
JRDesignFrame.setBorderSplitType(BorderSplitType)Copyright © 2017. All rights reserved.