i-net Clear Reports

com.inet.report
Class CrossTabColumn

java.lang.Object
  extended by com.inet.report.ReportComponent
      extended by com.inet.report.Element
          extended by com.inet.report.CrossTabColumn
All Implemented Interfaces:
GeneralProperties, NodeParser, com.inet.report.ReferenceHolder, java.io.Serializable, java.lang.Cloneable

Deprecated. As of i-net Clear Reports 12, use CrossTabHeaderList and CrossTabHeader

@Deprecated
public class CrossTabColumn
extends Element

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.

See Also:
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, FORMFIELD, INTERACTIVE_SORTING, JAVABEAN, LINE, PARAGRAPH, PICTURE, SIGNATURE, SUBREPORT, TEXT, TEXTPART
 
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
 int getBackColor()
          Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.getBackColor()
 FormulaField getBackColorFormula()
          Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.getBackColorFormula()
 java.util.List getCells()
          Deprecated. As of i-net Clear Reports 12, use CrossTabBody.getCell(int)
 Field getField()
          Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.getField()
 FieldElement getFieldElement()
          Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.getFieldElement()
 Group getGroup()
          Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.getGroup()
 int getHeight()
          Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.getHeight()
 java.util.List getPropertyFormulas()
          Deprecated. Returns a list with all property formulas that are set for this report element.
 boolean getSuppressGroupLabel()
          Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.getSuppressGroupLabel()
 FormulaField getSuppressGroupLabelFormula()
          Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.getSuppressGroupLabelFormula()
 boolean getSuppressSubTotal()
          Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.getSuppressTotal()
 FormulaField getSuppressSubTotalFormula()
          Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.getSuppressTotalFormula()
 Text getTextElement()
          Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.getText()
 int getWidth()
          Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.getWidth()
 int getX()
          Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.getX()
 int getY()
          Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.getY()
 void setBackColor(int backColor)
          Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.setBackColor(int)
 void setBackColorFormula(FormulaField backColorFormula)
          Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.setBackColorFormula(FormulaField)
 void setField(Field field)
          Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.setField(Field)
 void setSuppressGroupLabel(boolean suppressGroupLabel)
          Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.setSuppressGroupLabel(boolean)
 void setSuppressGroupLabelFormula(FormulaField newFormula)
          Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.setSuppressGroupLabelFormula(FormulaField)
 void setSuppressSubTotal(boolean suppressSubTotal)
          Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.setSuppressTotal(boolean)
 void setSuppressSubTotalFormula(FormulaField newFormula)
          Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.setSuppressTotalFormula(FormulaField)
 void setX(int x)
          Deprecated. This element can not be moved.
 void setY(int y)
          Deprecated. This element can not be moved.
 
Methods inherited from class com.inet.report.Element
addListener, copy, getBottomLineStyle, getBottomLineStyleFormula, getCanGrowCount, getCanGrowFormula, getCloseBorderOnPageBreakFormula, getDropShadowFormula, getEngine, getForeColor, getForeColorFormula, getHorAlign, getHorAlignFormula, getHyperlinkUrl, getHyperlinkUrlFormula, getLeftLineStyle, getLeftLineStyleFormula, getParent, getRightLineStyle, getRightLineStyleFormula, getSuppressIfDuplicatedFormula, getTightHorizontalFormula, getToolTipsText, getToolTipsTextFormula, getTopLineStyle, getTopLineStyleFormula, indexOf, isCanGrow, isCloseBorderOnPageBreak, isDropShadow, isSuppressIfDuplicated, isTightHorizontal, paramString, removeListener, setBottomLineStyle, setBottomLineStyleFormula, setCanGrow, setCanGrowCount, setCanGrowFormula, setCloseBorderOnPageBreak, setCloseBorderOnPageBreakFormula, setDropShadow, setDropShadowFormula, setForeColor, setForeColorFormula, setHorAlign, setHorAlignFormula, setHyperlinkUrl, setHyperlinkUrlFormula, setIndex, setLeftLineStyle, setLeftLineStyleFormula, setRightLineStyle, setRightLineStyleFormula, setSuppressIfDuplicated, setSuppressIfDuplicatedFormula, setTightHorizontal, setTightHorizontalFormula, setToolTipsText, setToolTipsTextFormula, setTopLineStyle, setTopLineStyleFormula
 
Methods inherited from class com.inet.report.ReportComponent
getKeepTogetherFormula, getSuppressFormula, getType, isKeepTogether, isSuppress, setHeight, setKeepTogether, setKeepTogetherFormula, setSuppress, setSuppressFormula, setWidth
 
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, parseElement, parseEndElement, parseText
 

Method Detail

getSuppressSubTotal

@Deprecated
public boolean getSuppressSubTotal()
Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.getSuppressTotal()

Returns whether sub total should be suppressed true or not (false).

Returns:
True if the sub total is suppressed or not.
See Also:
setSuppressSubTotal(boolean)

getSuppressSubTotalFormula

@Deprecated
public FormulaField getSuppressSubTotalFormula()
Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.getSuppressTotalFormula()

Returns the formula for the property 'suppress sub total'. If this property is enabled sub total of the row will not be printed.

Returns:
The FormulaField of suppress subtotal formula.

setSuppressSubTotal

@Deprecated
public void setSuppressSubTotal(boolean suppressSubTotal)
Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.setSuppressTotal(boolean)

Sets whether sub total should be suppressed (true) or not (false).

Parameters:
suppressSubTotal - True if sub total should be suppressed else false.
See Also:
getSuppressSubTotal()

setSuppressSubTotalFormula

@Deprecated
public void setSuppressSubTotalFormula(FormulaField newFormula)
Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.setSuppressTotalFormula(FormulaField)

Sets the formula for the property 'suppress sub totals'. If this property is enabled group label of the column will not be printed.

Parameters:
newFormula - The new formula for the property 'suppress sub totals'.

setSuppressGroupLabel

@Deprecated
public void setSuppressGroupLabel(boolean suppressGroupLabel)
Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.setSuppressGroupLabel(boolean)

Sets whether group labels should be suppressed (true) or not (false).

Parameters:
suppressGroupLabel - True if group label should be suppressed else false.
See Also:
getSuppressGroupLabel()

setSuppressGroupLabelFormula

@Deprecated
public void setSuppressGroupLabelFormula(FormulaField newFormula)
Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.setSuppressGroupLabelFormula(FormulaField)

Sets the formula for the property 'suppress group labels'. If this property is enabled group label of the column will not be printed.

Parameters:
newFormula - The new formula for the property 'suppress group labels'.

getSuppressGroupLabel

@Deprecated
public boolean getSuppressGroupLabel()
Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.getSuppressGroupLabel()

Returns whether group labels should be suppressed (true) or not (false).

Returns:
boolean True if the group labels is suppressed or not.
See Also:
setSuppressGroupLabel(boolean)

getSuppressGroupLabelFormula

@Deprecated
public FormulaField getSuppressGroupLabelFormula()
Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.getSuppressGroupLabelFormula()

Returns the formula for the property 'suppress group labels'. If this property is enabled group label of the column will not be printed.

Returns:
The formulaField of Suppress Group Label Formula.

getGroup

@Deprecated
public Group getGroup()
Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.getGroup()

Returns the group object of this column. The group will be null if this column is a total column. Set the group options of this column with the returned group object, i.e. the customize group name options and sort options.

Returns:
Group The group object of this column
See Also:
Group

getTextElement

@Deprecated
public Text getTextElement()
Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.getText()

Returns the text element of this column. This text will displayed als total text of this column. You can use this method to set your own total text.

Returns:
Total text of this column.
See Also:
Text

getFieldElement

@Deprecated
public FieldElement getFieldElement()
Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.getFieldElement()

Returns the field element of this column. You can use this method to format the fieldelement of this column.

Returns:
FieldElement of this column.

setX

public void setX(int x)
Deprecated. 
This element can not be moved. Invoking this methode will have no effect. The position of this element defined by the width and height of other crosstab subelements.

Overrides:
setX in class ReportComponent
Parameters:
x - This has no effect.

setY

public void setY(int y)
Deprecated. 
This element can not be moved. Invoking this methode will have no effect. The position of this element defined by the width and height of other crosstab subelements.

Overrides:
setY in class ReportComponent
Parameters:
y - This has no effect.

setBackColor

@Deprecated
public void setBackColor(int backColor)
Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.setBackColor(int)

Sets the background color of this report element. You can use the ABGR value (i.e. 0x000000FF for red) or one of the color constants in class CoderXML. More information about the usage of colors in RDC can be found in the RDC documentation.

Overrides:
setBackColor in class ReportComponent
Parameters:
backColor - The new ABGR value of the background color.
See Also:
ColorUtils.toCcColor(Color), ColorUtils.toJavaColor(int)

getBackColor

@Deprecated
public int getBackColor()
Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.getBackColor()

Returns the background color of this report element as ABGR, i.e. 0x000000FF for red. More information about the usage of colors in RDC can be found in the RDC documentation.

Overrides:
getBackColor in class ReportComponent
Returns:
The background color as ABGR
See Also:
ColorUtils.toCcColor(Color), ColorUtils.toJavaColor(int)

setBackColorFormula

@Deprecated
public void setBackColorFormula(FormulaField backColorFormula)
Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.setBackColorFormula(FormulaField)

Sets the background color of this report element. Set the value as ABGR, i.e. 0x000000FF for red or use the color constants in class CoderXML. More information about the usage of colors in RDC can be found in the RDC documentation.

Overrides:
setBackColorFormula in class ReportComponent
Parameters:
backColorFormula - Sets the new formula for 'back color'.

getBackColorFormula

@Deprecated
public FormulaField getBackColorFormula()
Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.getBackColorFormula()

Returns the background color formula of this report element. Set the value as ABGR, i.e. 0x000000FF for red or use the color constants in class CoderXML. More information about the usage of colors in RDC can be found in the RDC documentation.

Overrides:
getBackColorFormula in class ReportComponent
Returns:
FormulaField The formula of the property 'back color'.
See Also:
ColorUtils.toCcColor(Color), ColorUtils.toJavaColor(int)

getX

@Deprecated
public int getX()
Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.getX()

Returns the x position of the left upper corner of the element in the report. Use the 'object x position' property the adjust the element position from the left side margin. The unit is in twips.

Overrides:
getX in class ReportComponent
Returns:
The x position in twips.

getY

@Deprecated
public int getY()
Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.getY()

Returns the y position of the left upper corner of the element in the report. Use the 'object y position' property the adjust the element position from the top margin. The unit is in twips.

Overrides:
getY in class ReportComponent
Returns:
The y position in twips.

getWidth

@Deprecated
public int getWidth()
Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.getWidth()

Returns the width of this report element. Use the 'element width' property to change the width of the element. The unit is in twips.

Overrides:
getWidth in class ReportComponent
Returns:
The width in twips.

getHeight

@Deprecated
public int getHeight()
Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.getHeight()

Returns the height of this report element. Use the 'element height' property to change the height of the element. The unit is in twips.

Overrides:
getHeight in class ReportComponent
Returns:
The height in twips.

getField

@Deprecated
public Field getField()
Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.getField()

Returns the field definition element (for example, database field element, prompt field element).

Overrides:
getField in class Element
Returns:
Field The current value of the 'field' property.

setField

@Deprecated
public void setField(Field field)
Deprecated. As of i-net Clear Reports 12, use CrossTabHeader.setField(Field)

Sets the field definition element (for example, DatabaseField element, prompt field element).

Overrides:
setField in class Element
Parameters:
field - The new field element of the property 'field'.

getCells

@Deprecated
public java.util.List getCells()
Deprecated. As of i-net Clear Reports 12, use CrossTabBody.getCell(int)

Returns the cells of this column.

Returns:
the list of cells (not null)
Since:
11.2

getPropertyFormulas

public java.util.List getPropertyFormulas()
Deprecated. 
Returns a list with all property formulas that are set for this report element.

Overrides:
getPropertyFormulas in class Element
Returns:
List of property formulas

i-net Clear Reports

Copyright © 1999-2015 by i-net software GmbH