|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.inet.report.ReportComponent
com.inet.report.Region
public abstract class Region
The Region class is the super class of Area and Section. It describes a logical region in the report.
| Field Summary | |
|---|---|
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. |
| Method Summary | |
|---|---|
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 |
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'. |
NodeParser |
parseElement(com.inet.report.parser.XMLTag group,
java.lang.String tag,
org.xml.sax.Attributes atts,
java.util.Map parserMap)
FOR INTERNAL USE ONLY Internal method for reading report XML Parses an XML node with the given information, and returns either a sub-element which was created as a result, or null if no sub-element was created, i.e. the information was applied to the ReportComponent itself. |
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'. |
| Methods inherited from class com.inet.report.ReportComponent |
|---|
getBackColor, getBackColorFormula, getHeight, getKeepTogetherFormula, getSuppressFormula, getWidth, getX, getY, indexOf, isKeepTogether, isSuppress, paramString, setBackColor, setBackColorFormula, setHeight, setKeepTogether, setKeepTogetherFormula, setSuppress, setSuppressFormula, setWidth, setX, setY |
| Methods inherited from interface com.inet.report.parser.NodeParser |
|---|
isDOMParser, parseDOM, parseEndElement, parseText |
| Field Detail |
|---|
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
| Method 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 ReportComponentPAGE_HEADER,
PAGE_FOOTER,
REPORT_HEADER,
REPORT_FOOTER,
GROUP_HEADER,
GROUP_FOOTER,
DETAILpublic java.util.List getPropertyFormulas()
getPropertyFormulas in class ReportComponentpublic boolean isHeader()
true if this area is a header area, else false.
public NodeParser parseElement(com.inet.report.parser.XMLTag group,
java.lang.String tag,
org.xml.sax.Attributes atts,
java.util.Map parserMap)
throws FatalParserException
Parses an XML node with the given information, and returns either a sub-element which was created as a result, or null if no sub-element was created, i.e. the information was applied to the ReportComponent itself. Note that the parsing is highly tolerant, i.e. exceptions are intercepted and suppressed if at all possible.
parseElement in interface NodeParsergroup - XMLTag of the current node to be parsed, or null if there is no such current group. An XMLTag is a group
of nodes bundled together, usually it is a Properties node such as CommonProperties, BorderProperties, etc.tag - The XMLTag to be parsedatts - The set of attributes in the current XMLTagparserMap - The map of current Parser.
FatalParserException - if an exception occurs which causes the report to not be able to be read: causes the abortion of the
reading of the report.
|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||