public class JRFillGroup extends Object implements JRGroup
Constructor and Description |
---|
JRFillGroup(JRGroup group,
JRFillObjectFactory factory) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
JRVariable |
getCountVariable() |
protected int |
getDetailsCount() |
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.
|
ElementRange |
getKeepTogetherElementRange() |
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 |
hasChanged() |
protected boolean |
hasMinDetails() |
protected boolean |
hasMinDetails(int detailsToMove) |
protected void |
incrementDetailsCount() |
boolean |
isFooterPrinted() |
boolean |
isHeaderPrinted() |
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.
|
boolean |
isTopLevelChange()
Deprecated.
To be removed.
|
protected void |
resetDetailsCount() |
void |
setFooterPosition(FooterPositionEnum footerPosition)
Specifies the group footer section behavior with regards to its position on the current page.
|
void |
setFooterPrinted(boolean isFooterPrinted) |
void |
setHasChanged(boolean hasChanged) |
void |
setHeaderPrinted(boolean isHeaderPrinted) |
void |
setKeepTogether(boolean keepTogether)
Sets the flag that signals if the group should be prevented from splitting on first break attempt.
|
void |
setKeepTogetherElementRange(ElementRange keepTogetherElementRange) |
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.
|
void |
setTopLevelChange(boolean isTopLevelChange) |
protected JRGroup parent
public JRFillGroup(JRGroup group, JRFillObjectFactory factory)
public JRExpression getExpression()
JRGroup
getExpression
in interface JRGroup
public boolean isStartNewColumn()
JRGroup
isStartNewColumn
in interface JRGroup
public void setStartNewColumn(boolean isStart)
JRGroup
setStartNewColumn
in interface JRGroup
public boolean isStartNewPage()
JRGroup
isStartNewPage
in interface JRGroup
public void setStartNewPage(boolean isStart)
JRGroup
setStartNewPage
in interface JRGroup
public boolean isResetPageNumber()
JRGroup
isResetPageNumber
in interface JRGroup
public void setResetPageNumber(boolean isReset)
JRGroup
setResetPageNumber
in interface JRGroup
public boolean isReprintHeaderOnEachPage()
JRGroup
isReprintHeaderOnEachPage
in interface JRGroup
public void setReprintHeaderOnEachPage(boolean isReprint)
JRGroup
setReprintHeaderOnEachPage
in interface JRGroup
public boolean isReprintHeaderOnEachColumn()
JRGroup
isReprintHeaderOnEachColumn
in interface JRGroup
public void setReprintHeaderOnEachColumn(boolean isReprint)
JRGroup
setReprintHeaderOnEachColumn
in interface JRGroup
public int getMinHeightToStartNewPage()
JRGroup
getMinHeightToStartNewPage
in interface JRGroup
public void setMinHeightToStartNewPage(int minHeight)
JRGroup
setMinHeightToStartNewPage
in interface JRGroup
public int getMinDetailsToStartFromTop()
JRGroup
getMinDetailsToStartFromTop
in interface JRGroup
public void setMinDetailsToStartFromTop(int minDetails)
JRGroup
setMinDetailsToStartFromTop
in interface JRGroup
public FooterPositionEnum getFooterPositionValue()
JRGroup
getFooterPositionValue
in interface JRGroup
public void setFooterPosition(FooterPositionEnum footerPosition)
JRGroup
setFooterPosition
in interface JRGroup
public boolean isKeepTogether()
JRGroup
isKeepTogether
in interface JRGroup
public void setKeepTogether(boolean keepTogether)
JRGroup
setKeepTogether
in interface JRGroup
public boolean isPreventOrphanFooter()
JRGroup
isPreventOrphanFooter
in interface JRGroup
public void setPreventOrphanFooter(boolean preventOrphanFooter)
JRGroup
setPreventOrphanFooter
in interface JRGroup
public JRSection getGroupHeaderSection()
JRGroup
getGroupHeaderSection
in interface JRGroup
public JRSection getGroupFooterSection()
JRGroup
getGroupFooterSection
in interface JRGroup
public JRVariable getCountVariable()
getCountVariable
in interface JRGroup
public boolean hasChanged()
public void setHasChanged(boolean hasChanged)
public boolean isTopLevelChange()
public void setTopLevelChange(boolean isTopLevelChange)
public boolean isHeaderPrinted()
public void setHeaderPrinted(boolean isHeaderPrinted)
public boolean isFooterPrinted()
public void setFooterPrinted(boolean isFooterPrinted)
public ElementRange getKeepTogetherElementRange()
public void setKeepTogetherElementRange(ElementRange keepTogetherElementRange)
protected void incrementDetailsCount()
protected void resetDetailsCount()
protected boolean hasMinDetails()
protected boolean hasMinDetails(int detailsToMove)
protected int getDetailsCount()
public Object clone()
clone
in interface JRCloneable
clone
in class Object
Copyright © 2023 Cloud Software Group, Inc.. All rights reserved.