|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISectionAreaFormat
The base interface for section and area format settings. Many options are shared in common between sections and areas.
Method Summary | |
---|---|
java.awt.Color |
getBackgroundColor()
Returns the color for the background of the report. |
SectionAreaFormatConditionFormulas |
getConditionFormulas()
Returns the conditional formulas as SectionAreaFormatConditionFormulas . |
boolean |
getEnableKeepTogether()
Returns whether the section is printed on the same page as the preceding section. |
boolean |
getEnableNewPageAfter()
Returns whether a new page is inserted after the section. |
boolean |
getEnableNewPageBefore()
Returns whether a new page is inserted before the section. |
boolean |
getEnablePrintAtBottomOfPage()
Returns whether each group value is printed only at the bottom of the page. |
boolean |
getEnableResetPageNumberAfter()
Returns whether the page number is reset to 1 after the section. |
boolean |
getEnableSuppress()
Returns whether the section is suppressed. |
void |
setBackgroundColor(java.awt.Color backgroundColor)
Sets the color for the background of the report. |
void |
setConditionFormulas(SectionAreaFormatConditionFormulas conditionFormulas)
Sets the conditional formulas as SectionAreaFormatConditionFormulas . |
void |
setEnableKeepTogether(boolean enableKeepTogether)
Sets whether the section is printed on the same page as the preceding section. |
void |
setEnableNewPageAfter(boolean enableNewPageAfter)
Sets whether a new page is inserted after the section. |
void |
setEnableNewPageBefore(boolean enableNewPageBefore)
Sets whether a new page is inserted before the section. |
void |
setEnablePrintAtBottomOfPage(boolean enablePrintAtBottomOfPage)
Sets whether each group value is printed only at the bottom of the page. |
void |
setEnableResetPageNumberAfter(boolean enableResetPageNumberAfter)
Sets whether the page number is reset to 1 after the section. |
void |
setEnableSuppress(boolean enableSuppress)
Sets whether the section is suppressed. |
Method Detail |
---|
SectionAreaFormatConditionFormulas getConditionFormulas()
Returns the conditional formulas as SectionAreaFormatConditionFormulas
. Conditional
formulas are used to override the regular format settings.
SectionAreaFormatConditionFormulas
.java.awt.Color getBackgroundColor()
Returns the color for the background of the report.
java.awt.Color
object.boolean getEnableSuppress()
Returns whether the section is suppressed. If the section is suppressed, it will not appear when the report is displayed or printed.
true
if the section is suppressed, and otherwise false
.boolean getEnableKeepTogether()
Returns whether the section is printed on the same page as the preceding section.
true
if the section is printed on the same page as the preceding
section, and otherwise false
.boolean getEnableNewPageAfter()
Returns whether a new page is inserted after the section.
true
if a new page is inserted after the section, and otherwise
false
.boolean getEnableNewPageBefore()
Returns whether a new page is inserted before the section.
true
if a new page is inserted before the section, and otherwise
false
.boolean getEnablePrintAtBottomOfPage()
Returns whether each group value is printed only at the bottom of the page.
true
if each group value is printed only at the bottom of the page,
and otherwise false
.boolean getEnableResetPageNumberAfter()
Returns whether the page number is reset to 1 after the section.
true
if the page number is reset to 1 after the section, and otherwise
false
.void setConditionFormulas(SectionAreaFormatConditionFormulas conditionFormulas)
Sets the conditional formulas as SectionAreaFormatConditionFormulas
. Conditional
formulas are used to override the section's format settings.
conditionFormulas
- Conditional formulas as SectionAreaFormatConditionFormulas
.void setBackgroundColor(java.awt.Color backgroundColor)
Sets the color for the background of the report.
backgroundColor
- The color as a java.awt.Color
object.void setEnableSuppress(boolean enableSuppress)
Sets whether the section is suppressed. If the section is suppressed, it will not appear when the report is displayed or printed.
enableSuppress
- true
if the section is suppressed, and otherwise
false
.void setEnableKeepTogether(boolean enableKeepTogether)
Sets whether the section is printed on the same page as the preceding section.
enableKeepTogether
- true
if the section is printed on the same page as
the preceding section, and otherwise false
.void setEnableNewPageAfter(boolean enableNewPageAfter)
Sets whether a new page is inserted after the section.
enableNewPageAfter
- true
if a new page is inserted after the section,
and otherwise false
.void setEnableNewPageBefore(boolean enableNewPageBefore)
Sets whether a new page is inserted before the section.
enableNewPageBefore
- true
if a new page is inserted before the section,
and otherwise false
.void setEnablePrintAtBottomOfPage(boolean enablePrintAtBottomOfPage)
Sets whether each group value is printed only at the bottom of the page.
enablePrintAtBottomOfPage
- true
if each group value is printed only at
the bottom of the page, and otherwise false
.void setEnableResetPageNumberAfter(boolean enableResetPageNumberAfter)
Sets whether the page number is reset to 1 after the section.
enableResetPageNumberAfter
- true
if the page number is reset to 1 after
the section, and otherwise false
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |