|
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.Element
com.inet.report.CrossTabRow
public class CrossTabRow
A CrossTabRow holds a field that values are used for the rows of the cross table, i.e. a dayplan would use a CrossTabRow with a weekday-field. Each value of the field
creates a new row in the cross table. To add a new CrossTabRow use methods CrossTab.appendRow(Field) in class CrossTab.
This class is part of the RDC.
CrossTab,
CrossTab.appendRow(Field),
Serialized Form| Field Summary |
|---|
| Fields inherited from class com.inet.report.Element |
|---|
BOX, CHART, CROSSTAB, CROSSTABCELL, CROSSTABCOLUMN, CROSSTABROW, CROSSTABSECTION, DATABASE_PICTURE, FIELD, FIELDPART, JAVABEAN, LINE, PARAGRAPH, PICTURE, SIGNATURE, SUBREPORT, TEXT, TEXTPART |
| Fields inherited from interface com.inet.report.BorderProperties |
|---|
LINE_STYLE_DASHED, LINE_STYLE_DOTTED, LINE_STYLE_DOUBLE, LINE_STYLE_SINGLE, NO_LINE |
| Fields inherited from interface com.inet.report.GeneralProperties |
|---|
ALIGN_HORIZONTAL_CENTER, ALIGN_HORIZONTAL_DEFAULT, ALIGN_HORIZONTAL_JUSTIFIED, ALIGN_HORIZONTAL_LEFT, ALIGN_HORIZONTAL_RIGHT |
| Method Summary | |
|---|---|
java.util.List |
getCells()
Returns the cells of this row. |
FieldElement |
getFieldElement()
Returns the field element of this row. |
Group |
getGroup()
Returns the group object of this row. |
java.util.List |
getPropertyFormulas()
Returns a list with all property formulas that are set for this report element. |
boolean |
getSuppressGroupLabel()
Returns whether group labels should be suppressed ( true) or not (false). |
FormulaField |
getSuppressGroupLabelFormula()
Returns the formula for the property 'suppress group labels'. |
boolean |
getSuppressSubTotal()
Returns whether sub total should be suppressed true or not (false). |
FormulaField |
getSuppressSubTotalFormula()
Returns the formula for the property 'suppress sub total'. |
Text |
getTextElement()
Returns the text element of this row. |
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 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 |
parseEndElement(com.inet.report.parser.XMLTag group,
java.lang.String tag,
java.util.Map parserMap)
FOR INTERNAL USE ONLY Internal method for reading report XML Receive notification of the end of an XML tag. |
void |
setField(Field newField)
Sets the field definition element (for example, DatabaseField element, prompt field element). |
void |
setSuppressGroupLabel(boolean suppressGroupLabel)
Sets whether group labels should be suppressed ( true) or not (false). |
void |
setSuppressGroupLabelFormula(FormulaField newFormula)
Sets the formula for the property 'suppress group labels'. |
void |
setSuppressSubTotal(boolean suppressSubTotal)
Sets whether sub total should be suppressed ( true) or not (false). |
void |
setSuppressSubTotalFormula(FormulaField newFormula)
Sets the formula for the property 'suppress sub totals'. |
void |
setX(int x)
This element can not be moved. |
void |
setY(int y)
This element can not be moved. |
| Methods inherited from class com.inet.report.ReportComponent |
|---|
getBackColor, getBackColorFormula, getHeight, getKeepTogetherFormula, getSuppressFormula, getType, getWidth, getX, getY, isKeepTogether, isSuppress, setBackColor, setBackColorFormula, setHeight, setKeepTogether, setKeepTogetherFormula, setSuppress, setSuppressFormula, setWidth |
| Methods inherited from interface com.inet.report.BorderProperties |
|---|
getBackColor, getBackColorFormula, setBackColor, setBackColorFormula |
| Methods inherited from interface com.inet.report.GeneralProperties |
|---|
getKeepTogetherFormula, getSuppressFormula, isKeepTogether, isSuppress, setKeepTogether, setKeepTogetherFormula, setSuppress, setSuppressFormula |
| Methods inherited from interface com.inet.report.parser.NodeParser |
|---|
isDOMParser, parseDOM, parseText |
| Method Detail |
|---|
public boolean getSuppressSubTotal()
true or not (false).
setSuppressSubTotal(boolean)public FormulaField getSuppressSubTotalFormula()
public void setSuppressSubTotal(boolean suppressSubTotal)
true) or not (false).
suppressSubTotal - True if sub total should be suppressed else false.getSuppressSubTotal()public void setSuppressSubTotalFormula(FormulaField newFormula)
newFormula - The new formula for the property 'suppress sub totals'.public void setSuppressGroupLabel(boolean suppressGroupLabel)
true) or not (false).
suppressGroupLabel - True if group label should be suppressed else false.getSuppressGroupLabel()public void setSuppressGroupLabelFormula(FormulaField newFormula)
newFormula - The new formula for the property 'suppress group labels'.public boolean getSuppressGroupLabel()
true) or not (false).
setSuppressGroupLabel(boolean)public FormulaField getSuppressGroupLabelFormula()
public Group getGroup()
null if this row is a total row. Set the group options of this row with the returned group object, i.e. the customize
group name options and sort options.
Grouppublic Text getTextElement()
Textpublic FieldElement getFieldElement()
public void setX(int x)
setX in class ReportComponentx - This has no effect.public void setY(int y)
setY in class ReportComponenty - This has no effect.public java.util.List getPropertyFormulas()
getPropertyFormulas in class Element
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.
public void parseEndElement(com.inet.report.parser.XMLTag group,
java.lang.String tag,
java.util.Map parserMap)
throws FatalParserException
Receive notification of the end of an XML tag.
parseEndElement in interface NodeParsergroup - XMLTag of the current node to be parsed, or null if there is no such current group.tag - The XMLTag to be parsedparserMap - 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.public void setField(Field newField)
setField in class ElementnewField - The new field element of the property 'field'.public java.util.List getCells()
null)
|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||