public class TableReportGroup extends Object implements JRGroup
| Constructor and Description |
|---|
TableReportGroup(JRGroup datasetGroup) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
JRVariable |
getCountVariable() |
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.
|
JRBand |
getGroupFooter()
Deprecated.
|
JRSection |
getGroupFooterSection()
Gets the footer section created for this group.
|
JRBand |
getGroupHeader()
Deprecated.
|
JRSection |
getGroupHeaderSection()
Gets the header section created for this group.
|
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
|
JRGroup |
getOriginalGroup() |
boolean |
isKeepTogether()
Gets the flag that signals if the group should be prevented from splitting on first break attempt.
|
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 footerPosition)
Specifies the group footer section behavior with regards to its position on the current page.
|
void |
setGroupFooter(JRBand footer) |
void |
setGroupHeader(JRBand header) |
void |
setKeepTogether(boolean keepTogether)
Sets the flag that signals if the group should be prevented from splitting on first break attempt.
|
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 |
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.
|
protected JRSection |
wrapBand(JRBand band,
BandTypeEnum bandType) |
public TableReportGroup(JRGroup datasetGroup)
public JRVariable getCountVariable()
getCountVariable in interface JRGrouppublic JRExpression getExpression()
JRGroupgetExpression in interface JRGrouppublic FooterPositionEnum getFooterPositionValue()
JRGroupgetFooterPositionValue in interface JRGroup@Deprecated public JRBand getGroupFooter()
public void setGroupFooter(JRBand footer)
protected JRSection wrapBand(JRBand band, BandTypeEnum bandType)
public JRSection getGroupFooterSection()
JRGroupgetGroupFooterSection in interface JRGroup@Deprecated public JRBand getGroupHeader()
public void setGroupHeader(JRBand header)
public JRSection getGroupHeaderSection()
JRGroupgetGroupHeaderSection in interface JRGrouppublic int getMinHeightToStartNewPage()
JRGroupgetMinHeightToStartNewPage in interface JRGrouppublic boolean isKeepTogether()
JRGroupisKeepTogether in interface JRGrouppublic boolean isReprintHeaderOnEachPage()
JRGroupisReprintHeaderOnEachPage in interface JRGrouppublic boolean isResetPageNumber()
JRGroupisResetPageNumber in interface JRGrouppublic boolean isStartNewColumn()
JRGroupisStartNewColumn in interface JRGrouppublic boolean isStartNewPage()
JRGroupisStartNewPage in interface JRGrouppublic void setFooterPosition(FooterPositionEnum footerPosition)
JRGroupsetFooterPosition in interface JRGrouppublic void setKeepTogether(boolean keepTogether)
JRGroupsetKeepTogether in interface JRGrouppublic void setMinHeightToStartNewPage(int minHeight)
JRGroupsetMinHeightToStartNewPage in interface JRGrouppublic void setReprintHeaderOnEachPage(boolean isReprint)
JRGroupsetReprintHeaderOnEachPage in interface JRGrouppublic void setResetPageNumber(boolean isReset)
JRGroupsetResetPageNumber in interface JRGrouppublic void setStartNewColumn(boolean isStart)
JRGroupsetStartNewColumn in interface JRGrouppublic void setStartNewPage(boolean isStart)
JRGroupsetStartNewPage in interface JRGrouppublic Object clone()
clone in interface JRCloneableclone in class Objectpublic JRGroup getOriginalGroup()
Copyright © 2017. All rights reserved.