public class JRBaseGroup extends Object implements JRGroup, Serializable, JRChangeEventsSupport, StoreCloneable<JRBaseGroup>
| Modifier | Constructor and Description |
|---|---|
protected |
JRBaseGroup() |
protected |
JRBaseGroup(JRGroup group,
JRBaseObjectFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
JRBaseGroup |
clone(CloneStore cloneStore) |
JRVariable |
getCountVariable() |
JRPropertyChangeSupport |
getEventSupport()
Returns the property change support object for this instance.
|
JRExpression |
getExpression()
Gets the expression that defines what records in the group have in common.
|
FooterPositionEnum |
getFooterPositionValue()
Specifies how the group footer section behaves with regards to its position on the current page.
|
JRSection |
getGroupFooterSection()
Gets the footer section created for this group.
|
JRSection |
getGroupHeaderSection()
Gets the header section created for this group.
|
int |
getMinDetailsToStartFromTop()
Gets the minimum number of details to be rendered on the current column, to avoid starting the group on a new column.
|
int |
getMinHeightToStartNewPage()
Gets the minimum amount of vertical space needed at the bottom of the column in order to place the
group header on the current column.
|
String |
getName()
Gets the group name
|
boolean |
isKeepTogether()
Gets the flag that signals if the group should be prevented from splitting on first break attempt.
|
boolean |
isPreventOrphanFooter()
Gets the flag that signals if the group footer should be prevented from appearing without a detail at the top of a new page/column.
|
boolean |
isReprintHeaderOnEachColumn()
Gets the flag that signals if the group header should be reprinted at the beginning of each column, in vertically filled reports only.
|
boolean |
isReprintHeaderOnEachPage()
Gets the flag that signals if the group header should be reprinted at the beginning of each page.
|
boolean |
isResetPageNumber()
Gets the flag that signals if the group header should be printed always on a new page, along with the
re-initialization of the page number.
|
boolean |
isStartNewColumn()
Gets the flag that signals if the group header should be printed always on a new column.
|
boolean |
isStartNewPage()
Gets the flag that signals if the group header should be printed always on a new page.
|
void |
setFooterPosition(FooterPositionEnum footerPositionValue)
Specifies the group footer section behavior with regards to its position on the current page.
|
void |
setKeepTogether(boolean keepTogether)
Sets the flag that signals if the group should be prevented from splitting on first break attempt.
|
void |
setMinDetailsToStartFromTop(int minDetails)
Sets the minimum number of details to be rendered on the current column, to avoid starting the group on a new column.
|
void |
setMinHeightToStartNewPage(int minHeight)
Sets the minimum amount of vertical space needed at the bottom of the column in order to place the
group header on the current column.
|
void |
setPreventOrphanFooter(boolean preventOrphanFooter)
Sets the flag that signals if the group should be prevented from appearing without a detail at the top of a new page/column.
|
void |
setReprintHeaderOnEachColumn(boolean isReprint)
Sets the flag that signals if the group header should be reprinted at the beginning of each column, in vertically filled reports only.
|
void |
setReprintHeaderOnEachPage(boolean isReprint)
Sets the flag that signals if the group header should be reprinted at the beginning of each page.
|
void |
setResetPageNumber(boolean isReset)
Sets the flag that signals if the group header should be printed always on a new page, along with the
re-initialization of the page number.
|
void |
setStartNewColumn(boolean isStart)
Sets the flag that signals if the group header should be printed always on a new column.
|
void |
setStartNewPage(boolean isStart)
Sets the flag that signals if the group header should be printed always on a new page.
|
public static final String PROPERTY_MIN_HEIGHT_TO_START_NEW_PAGE
public static final String PROPERTY_MIN_DETAILS_TO_START_FROM_TOP
public static final String PROPERTY_FOOTER_POSITION
public static final String PROPERTY_KEEP_TOGETHER
public static final String PROPERTY_PREVENT_ORPHAN_FOOTER
public static final String PROPERTY_RESET_PAGE_NUMBER
public static final String PROPERTY_REPRINT_HEADER_ON_EACH_PAGE
public static final String PROPERTY_REPRINT_HEADER_ON_EACH_COLUMN
public static final String PROPERTY_START_NEW_COLUMN
public static final String PROPERTY_START_NEW_PAGE
protected String name
protected boolean isStartNewColumn
protected boolean isStartNewPage
protected boolean isResetPageNumber
protected boolean isReprintHeaderOnEachPage
protected boolean isReprintHeaderOnEachColumn
protected int minHeightToStartNewPage
protected int minDetailsToStartFromTop
protected FooterPositionEnum footerPositionValue
protected boolean keepTogether
protected boolean preventOrphanFooter
protected JRExpression expression
protected JRSection groupHeaderSection
protected JRSection groupFooterSection
protected JRVariable countVariable
protected JRBaseGroup()
protected JRBaseGroup(JRGroup group, JRBaseObjectFactory factory)
public boolean isStartNewColumn()
JRGroupisStartNewColumn in interface JRGrouppublic void setStartNewColumn(boolean isStart)
JRGroupsetStartNewColumn in interface JRGrouppublic boolean isStartNewPage()
JRGroupisStartNewPage in interface JRGrouppublic void setStartNewPage(boolean isStart)
JRGroupsetStartNewPage in interface JRGrouppublic boolean isResetPageNumber()
JRGroupisResetPageNumber in interface JRGrouppublic void setResetPageNumber(boolean isReset)
JRGroupsetResetPageNumber in interface JRGrouppublic boolean isReprintHeaderOnEachPage()
JRGroupisReprintHeaderOnEachPage in interface JRGrouppublic void setReprintHeaderOnEachPage(boolean isReprint)
JRGroupsetReprintHeaderOnEachPage in interface JRGrouppublic boolean isReprintHeaderOnEachColumn()
JRGroupisReprintHeaderOnEachColumn in interface JRGrouppublic void setReprintHeaderOnEachColumn(boolean isReprint)
JRGroupsetReprintHeaderOnEachColumn in interface JRGrouppublic int getMinHeightToStartNewPage()
JRGroupgetMinHeightToStartNewPage in interface JRGrouppublic void setMinHeightToStartNewPage(int minHeight)
JRGroupsetMinHeightToStartNewPage in interface JRGrouppublic int getMinDetailsToStartFromTop()
JRGroupgetMinDetailsToStartFromTop in interface JRGrouppublic void setMinDetailsToStartFromTop(int minDetails)
JRGroupsetMinDetailsToStartFromTop in interface JRGrouppublic FooterPositionEnum getFooterPositionValue()
JRGroupgetFooterPositionValue in interface JRGrouppublic void setFooterPosition(FooterPositionEnum footerPositionValue)
JRGroupsetFooterPosition in interface JRGrouppublic boolean isKeepTogether()
JRGroupisKeepTogether in interface JRGrouppublic void setKeepTogether(boolean keepTogether)
JRGroupsetKeepTogether in interface JRGrouppublic boolean isPreventOrphanFooter()
JRGroupisPreventOrphanFooter in interface JRGrouppublic void setPreventOrphanFooter(boolean preventOrphanFooter)
JRGroupsetPreventOrphanFooter in interface JRGrouppublic JRExpression getExpression()
JRGroupgetExpression in interface JRGrouppublic JRSection getGroupHeaderSection()
JRGroupgetGroupHeaderSection in interface JRGrouppublic JRSection getGroupFooterSection()
JRGroupgetGroupFooterSection in interface JRGrouppublic JRVariable getCountVariable()
getCountVariable in interface JRGrouppublic Object clone()
clone in interface JRCloneableclone in class Objectpublic JRBaseGroup clone(CloneStore cloneStore)
clone in interface StoreCloneable<JRBaseGroup>public JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupportgetEventSupport in interface JRChangeEventsSupportCopyright © 2019 TIBCO Software Inc.. All rights reserved.