|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JRGroup
Groups represent a flexible way to organize data on a report. A report group is represented by sequence of consecutive records in the data source that have something in common, like the value of a certain report field for example.
The value of the associated group expression is what makes group records stick together. This value is the thing that they have in common.
Method Summary | |
---|---|
JRVariable |
getCountVariable()
|
JRExpression |
getExpression()
Gets the expression that defines what records in the group have in common. |
JRBand |
getGroupFooter()
Deprecated. Replaced by getGroupFooterSection() . |
JRSection |
getGroupFooterSection()
Gets the footer section created for this group. |
JRBand |
getGroupHeader()
Deprecated. Replaced by getGroupHeaderSection() . |
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. |
java.lang.String |
getName()
Gets the group name |
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 |
setMinHeightToStartNewPage(int minHeight)
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. |
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. |
Methods inherited from interface net.sf.jasperreports.engine.JRCloneable |
---|
clone |
Method Detail |
---|
java.lang.String getName()
boolean isStartNewColumn()
void setStartNewColumn(boolean isStart)
boolean isStartNewPage()
void setStartNewPage(boolean isStart)
boolean isResetPageNumber()
void setResetPageNumber(boolean isReset)
boolean isReprintHeaderOnEachPage()
void setReprintHeaderOnEachPage(boolean isReprint)
int getMinHeightToStartNewPage()
void setMinHeightToStartNewPage(int minHeight)
JRExpression getExpression()
JRBand getGroupHeader()
getGroupHeaderSection()
.
JRSection getGroupHeaderSection()
JRBand getGroupFooter()
getGroupFooterSection()
.
JRSection getGroupFooterSection()
JRVariable getCountVariable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |