Class TableReportGroup
java.lang.Object
net.sf.jasperreports.components.table.fill.TableReportGroup
- All Implemented Interfaces:
Cloneable,JRCloneable,JRGroup
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the expression that defines what records in the group have in common.Specifies how the group footer section behaves with regards to its position on the current page.Gets the footer section created for this group.Gets the header section created for this group.intGets the minimum number of details to be rendered on the current column, to avoid starting the group on a new column.intGets the minimum amount of vertical space needed at the bottom of the column in order to place the group header on the current column.getName()Gets the group namebooleanGets the flag that signals if the group should be prevented from splitting on first break attempt.booleanGets the flag that signals if the group footer should be prevented from appearing without a detail at the top of a new page/column.booleanGets the flag that signals if the group header should be reprinted at the beginning of each column, in vertically filled reports only.booleanGets the flag that signals if the group header should be reprinted at the beginning of each page.booleanGets 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.booleanGets the flag that signals if the group header should be printed always on a new column.booleanGets the flag that signals if the group header should be printed always on a new page.voidsetFooterPosition(FooterPositionEnum footerPosition) Specifies the group footer section behavior with regards to its position on the current page.protected voidsetGroupFooter(JRBand footer) protected voidsetGroupHeader(JRBand header) voidsetKeepTogether(boolean keepTogether) Sets the flag that signals if the group should be prevented from splitting on first break attempt.voidsetMinDetailsToStartFromTop(int minDetails) Sets the minimum number of details to be rendered on the current column, to avoid starting the group on a new column.voidsetMinHeightToStartNewPage(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.voidsetPreventOrphanFooter(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.voidsetReprintHeaderOnEachColumn(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.voidsetReprintHeaderOnEachPage(boolean isReprint) Sets the flag that signals if the group header should be reprinted at the beginning of each page.voidsetResetPageNumber(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.voidsetStartNewColumn(boolean isStart) Sets the flag that signals if the group header should be printed always on a new column.voidsetStartNewPage(boolean isStart) Sets the flag that signals if the group header should be printed always on a new page.protected JRSectionwrapBand(JRBand band, BandTypeEnum bandType)
-
Constructor Details
-
TableReportGroup
-
-
Method Details
-
getCountVariable
- Specified by:
getCountVariablein interfaceJRGroup
-
getExpression
Description copied from interface:JRGroupGets the expression that defines what records in the group have in common.- Specified by:
getExpressionin interfaceJRGroup
-
wrapBand
-
setGroupHeader
-
getGroupHeaderSection
Description copied from interface:JRGroupGets the header section created for this group.- Specified by:
getGroupHeaderSectionin interfaceJRGroup
-
getMinHeightToStartNewPage
public int getMinHeightToStartNewPage()Description copied from interface:JRGroupGets the minimum amount of vertical space needed at the bottom of the column in order to place the group header on the current column.- Specified by:
getMinHeightToStartNewPagein interfaceJRGroup
-
getMinDetailsToStartFromTop
public int getMinDetailsToStartFromTop()Description copied from interface:JRGroupGets the minimum number of details to be rendered on the current column, to avoid starting the group on a new column.- Specified by:
getMinDetailsToStartFromTopin interfaceJRGroup
-
getName
Description copied from interface:JRGroupGets the group name -
isKeepTogether
public boolean isKeepTogether()Description copied from interface:JRGroupGets the flag that signals if the group should be prevented from splitting on first break attempt.- Specified by:
isKeepTogetherin interfaceJRGroup
-
isReprintHeaderOnEachPage
public boolean isReprintHeaderOnEachPage()Description copied from interface:JRGroupGets the flag that signals if the group header should be reprinted at the beginning of each page.- Specified by:
isReprintHeaderOnEachPagein interfaceJRGroup
-
isReprintHeaderOnEachColumn
public boolean isReprintHeaderOnEachColumn()Description copied from interface:JRGroupGets the flag that signals if the group header should be reprinted at the beginning of each column, in vertically filled reports only.- Specified by:
isReprintHeaderOnEachColumnin interfaceJRGroup
-
isResetPageNumber
public boolean isResetPageNumber()Description copied from interface:JRGroupGets 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.- Specified by:
isResetPageNumberin interfaceJRGroup
-
isStartNewColumn
public boolean isStartNewColumn()Description copied from interface:JRGroupGets the flag that signals if the group header should be printed always on a new column.- Specified by:
isStartNewColumnin interfaceJRGroup
-
isStartNewPage
public boolean isStartNewPage()Description copied from interface:JRGroupGets the flag that signals if the group header should be printed always on a new page.- Specified by:
isStartNewPagein interfaceJRGroup
-
setKeepTogether
public void setKeepTogether(boolean keepTogether) Description copied from interface:JRGroupSets the flag that signals if the group should be prevented from splitting on first break attempt.- Specified by:
setKeepTogetherin interfaceJRGroup
-
setMinHeightToStartNewPage
public void setMinHeightToStartNewPage(int minHeight) Description copied from interface:JRGroupSets the minimum amount of vertical space needed at the bottom of the column in order to place the group header on the current column.- Specified by:
setMinHeightToStartNewPagein interfaceJRGroup
-
setMinDetailsToStartFromTop
public void setMinDetailsToStartFromTop(int minDetails) Description copied from interface:JRGroupSets the minimum number of details to be rendered on the current column, to avoid starting the group on a new column.- Specified by:
setMinDetailsToStartFromTopin interfaceJRGroup
-
setReprintHeaderOnEachPage
public void setReprintHeaderOnEachPage(boolean isReprint) Description copied from interface:JRGroupSets the flag that signals if the group header should be reprinted at the beginning of each page.- Specified by:
setReprintHeaderOnEachPagein interfaceJRGroup
-
setReprintHeaderOnEachColumn
public void setReprintHeaderOnEachColumn(boolean isReprint) Description copied from interface:JRGroupSets the flag that signals if the group header should be reprinted at the beginning of each column, in vertically filled reports only.- Specified by:
setReprintHeaderOnEachColumnin interfaceJRGroup
-
setResetPageNumber
public void setResetPageNumber(boolean isReset) Description copied from interface:JRGroupSets 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.- Specified by:
setResetPageNumberin interfaceJRGroup
-
setStartNewColumn
public void setStartNewColumn(boolean isStart) Description copied from interface:JRGroupSets the flag that signals if the group header should be printed always on a new column.- Specified by:
setStartNewColumnin interfaceJRGroup
-
setStartNewPage
public void setStartNewPage(boolean isStart) Description copied from interface:JRGroupSets the flag that signals if the group header should be printed always on a new page.- Specified by:
setStartNewPagein interfaceJRGroup
-
clone
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classObject
-
getOriginalGroup
-