|
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.CrossTabColumn
public class CrossTabColumn
A CrossTabColumn holds a field which values are used for the columns of the cross table, i.e. a dayplan would use a CrossTabColumn with a time-field. Each value of the
field creates a new column in the cross table. To add a new CrossTabColumn use methods CrossTab.appendColumn(Field) in class CrossTab.
This class is part of the RDC.
CrossTab,
CrossTab.appendColumn(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 column. |
FieldElement |
getFieldElement()
Returns the FieldElement whose field values are used for the columns of the cross table. |
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 column containing the total text. |
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 the property 'suppress sub total' for this column. |
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 Text getTextElement()
public FieldElement getFieldElement()
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 option.
Grouppublic void setX(int x)
setX in class ReportComponentx - This Methode does nothing.public void setY(int y)
setY in class ReportComponenty - This Methode does nothing.public boolean getSuppressSubTotal()
true or not (false).
public FormulaField getSuppressSubTotalFormula()
public void setSuppressSubTotal(boolean suppressSubTotal)
suppressSubTotal - Sets whether sub total should be suppressed true or not (false).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 - The suppressGroupLabel to setpublic void setSuppressGroupLabelFormula(FormulaField newFormula)
newFormula - The new formula for the property 'suppress group labels'.public boolean getSuppressGroupLabel()
true) or not (false).
public FormulaField getSuppressGroupLabelFormula()
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 | |||||||