public abstract class Region extends ReportComponent
Modifier and Type | Field and Description |
---|---|
static int |
DETAIL
Identifier for detail area or section.
|
static int |
GROUP_FOOTER
Identifier for group footer area or section.
|
static int |
GROUP_HEADER
Identifier for group header area or section.
|
static int |
PAGE_FOOTER
Identifier for page footer area or section.
|
static int |
PAGE_HEADER
Identifier for page header area or section.
|
static int |
REPORT_FOOTER
Identifier for report footer area or section.
|
static int |
REPORT_HEADER
Identifier for report header area or section.
|
Modifier and Type | Method and Description |
---|---|
FormulaField |
getAtBottomOfPageFormula()
Gets the formula for the property 'print at bottom of page'.
|
FormulaField |
getNewPageAfterFormula()
Returns the formula for the property 'new page after'.
|
FormulaField |
getNewPageBeforeFormula()
Returns the formula for the property 'new page before'.
|
java.util.List<FormulaField> |
getPropertyFormulas()
Returns a list with all property formulas that are set for this report element.
|
FormulaField |
getResetPageNumberFormula()
Gets the formula for the property 'reset page number'.
|
FormulaField |
getSuppressOnDrillDownFormula()
Returns the formula for 'suppressOnDrillDown'.
|
int |
getType()
Returns the value of the property 'type'.
|
boolean |
isAtBottomOfPage()
Gets the 'print at bottom of page' property.
|
boolean |
isHeader()
Return whether this Area is a header area or not.
|
boolean |
isNewPageAfter()
Returns the value of the property 'new page after'.
|
boolean |
isNewPageBefore()
Returns the value of the property 'new page before'.
|
boolean |
isResetPageNumber()
Gets the 'reset page number' property.
|
boolean |
isSuppressOnDrillDown()
Returns the value of the property 'drillDown'.
|
void |
setAtBottomOfPage(boolean atBottomOfPage)
Sets the 'print at bottom of page' property.
|
void |
setAtBottomOfPageFormula(FormulaField newFormula)
Sets the formula for the property 'print at bottom of page'.
|
void |
setNewPageAfter(boolean newValue)
Sets the value of the property 'new page after'.
|
void |
setNewPageAfterFormula(FormulaField newFormula)
Sets the formula for the property 'new page after'.
|
void |
setNewPageBefore(boolean newValue)
Sets the value of the property 'new page before'.
|
void |
setNewPageBeforeFormula(FormulaField newFormula)
Sets the formula for the property 'new page before'.
|
void |
setResetPageNumber(boolean resetPageNumber)
Sets the 'reset page number' property.
|
void |
setResetPageNumberFormula(FormulaField newFormula)
Sets the formula for the property 'reset page number'.
|
void |
setSuppressOnDrillDown(boolean newValue)
Sets the value of the property 'suppressOnDrillDown'.
|
void |
setSuppressOnDrillDownFormula(FormulaField newFormula)
Sets the value of the formula 'suppressOnDrillDown'.
|
getBackColor, getBackColorFormula, getHeight, getKeepTogetherFormula, getSubComponents, getSuppressFormula, getWidth, getX, getY, indexOf, isKeepTogether, isSuppress, paramString, setBackColor, setBackColorFormula, setHeight, setKeepTogether, setKeepTogetherFormula, setSuppress, setSuppressFormula, setWidth, setX, setY
isDOMParser, parseDOM, parseElement, parseEndElement, parseText
public static final int PAGE_HEADER
public static final int PAGE_FOOTER
public static final int REPORT_HEADER
public static final int REPORT_FOOTER
public static final int GROUP_HEADER
public static final int GROUP_FOOTER
public static final int DETAIL
public void setNewPageBefore(boolean newValue)
Section
is printed. If
you use it in a Detail Section
, then before each record a page break will be inserted. Page Header
and Footer will appear on each page.newValue
- The new value of the property 'new page before'.public boolean isNewPageBefore()
Section
is printed.
If you use it in a Detail Section
, then before each record a page break will be inserted. Page
Header and Footer will appear on each page.public void setNewPageBeforeFormula(FormulaField newFormula)
Section
is printed.
If you use it in a Detail Section
, then before each record a page break will be inserted. Page
Header and Footer will appear on each page.newFormula
- The new formula for the property 'new page before'.public FormulaField getNewPageBeforeFormula()
Section
is printed.
If you use it in a Detail Section
, then before each record a page break will be inserted. Page
Header and Footer will appear on each page.FormulaField
The formula for the property 'new page before'.public void setNewPageAfter(boolean newValue)
Section
a page break will be inserted. Usefull if you want a single page for each group. The page
header and footer will be printed on each page.newValue
- The new value of the property 'new page after'.public boolean isNewPageAfter()
Section
a page break will be inserted. Usefull if you want a single page for each group. The page
header and footer will be printed on each page.public void setNewPageAfterFormula(FormulaField newFormula)
Section
a page break will be inserted. Usefull if you want a single page for each group. The page
header and footer will be printed on each page.newFormula
- The new formula for the property 'new page after'.public FormulaField getNewPageAfterFormula()
Section
a page break will be inserted. Usefull if you want a single page for each group. The page
header and footer will be printed on each page.FormulaField
The formula for the property 'new page after'.public boolean isAtBottomOfPage()
public void setAtBottomOfPage(boolean atBottomOfPage)
atBottomOfPage
- The value of the property 'print at bottom of page.public void setAtBottomOfPageFormula(FormulaField newFormula)
newFormula
- The new formula for the property 'print at bottom of page'.public FormulaField getAtBottomOfPageFormula()
public boolean isResetPageNumber()
public void setResetPageNumber(boolean resetPageNumber)
resetPageNumber
- The value of the property 'reset page number'.public void setResetPageNumberFormula(FormulaField newFormula)
newFormula
- The new formula for the property 'reset page number'.public FormulaField getResetPageNumberFormula()
public void setSuppressOnDrillDown(boolean newValue)
Section
to
be suppress in drill-down only.newValue
- The new value of the property 'drillDown'.public boolean isSuppressOnDrillDown()
Section
to be
suppress in drill-down only.public void setSuppressOnDrillDownFormula(FormulaField newFormula)
Section
to be
suppress in drill-down only.newFormula
- The new value of the formula 'drillDown'.public FormulaField getSuppressOnDrillDownFormula()
FormulaField
The formula for the 'suppressOnDrillDown'.ReportComponent.setSuppress(boolean)
,
ReportComponent.setSuppressFormula(com.inet.report.FormulaField)
public int getType()
Section
is a report header, report footer, page header, page footer, group header, group footer
or detail. If no information about the type of an area is known, -1 is returned.getType
in class ReportComponent
PAGE_HEADER
,
PAGE_FOOTER
,
REPORT_HEADER
,
REPORT_FOOTER
,
GROUP_HEADER
,
GROUP_FOOTER
,
DETAIL
public java.util.List<FormulaField> getPropertyFormulas()
ReportComponent
of this one. To get the property formulas for descendant ReportComponent
use ReportComponent.getSubComponents()
getPropertyFormulas
in class ReportComponent
public boolean isHeader()
true
if this area is a header area, else false
.Copyright © 1999-2020 by i-net software GmbH