public class CrossTabHeader extends java.lang.Object implements NodeParser, java.io.Serializable
Modifier and Type | Method and Description |
---|---|
int |
getBackColor()
Returns the background color of the header as ABGR, i.e. 0x000000FF for red.
|
FormulaField |
getBackColorFormula()
Returns the formula of the background color of the header as ABGR, i.e. 0x000000FF for red.
|
Field |
getField()
The field of the grouping.
|
FieldElement |
getFieldElement()
Returns the field element of this row.
|
Group |
getGroup()
Returns the group object of this row.
|
int |
getHeight()
Position of this header, is used from designer.
|
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 |
getSuppressTotal()
Returns whether total of this header should be suppressed
true or not (false ). |
FormulaField |
getSuppressTotalFormula()
Returns the formula for the property 'suppress total'.
|
Text |
getText()
Returns the text element of this row.
|
int |
getWidth()
Position of this header, is used from designer.
|
int |
getX()
Position of this header, is used from designer.
|
int |
getY()
Position of this header, is used from designer.
|
boolean |
isRow()
If this header is currently a row header or a column header.
|
void |
setBackColor(int backColor)
Sets the background color of the header.
|
void |
setBackColorFormula(FormulaField backColorFormula)
Sets the formula of the background color of the header.
|
void |
setField(Field field)
Set the field of grouping.
|
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 |
setSuppressTotal(boolean suppressTotal)
Sets whether sub total should be suppressed (
true ) or not (false ). |
void |
setSuppressTotalFormula(FormulaField newFormula)
Sets the formula for the property 'suppress sub totals'.
|
isDOMParser, parseDOM, parseElement, parseEndElement, parseText
public boolean isRow()
public int getX()
public int getY()
public int getWidth()
public int getHeight()
public boolean getSuppressTotal()
true
or not (false
).setSuppressTotal(boolean)
@Nullable public FormulaField getSuppressTotalFormula()
public void setSuppressTotal(boolean suppressTotal)
true
) or not (false
).suppressTotal
- True if sub total should be suppressed else false.public void setSuppressTotalFormula(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.public void setSuppressGroupLabelFormula(FormulaField newFormula)
newFormula
- The new formula for the property 'suppress group labels'.public boolean getSuppressGroupLabel()
true
) or not (false
).CrossTabRow.setSuppressGroupLabel(boolean)
@Nullable public FormulaField getSuppressGroupLabelFormula()
@Nullable 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.Group
@Nullable public Field getField()
public void setField(Field field)
field
- the new field, can not be nullpublic Text getText()
Text
@Nullable public FieldElement getFieldElement()
public void setBackColor(int backColor)
backColor
- the new ABGR value of the grand total background color.ColorUtils.toCcColor(Color)
,
ColorUtils.toJavaColor(int)
public int getBackColor()
setBackColor(int)
,
ColorUtils.toCcColor(Color)
,
ColorUtils.toJavaColor(int)
public void setBackColorFormula(FormulaField backColorFormula)
backColorFormula
- the new ABGR value of the grand total background color.ColorUtils.toCcColor(Color)
,
ColorUtils.toJavaColor(int)
@Nullable public FormulaField getBackColorFormula()
ColorUtils.toCcColor(Color)
,
ColorUtils.toJavaColor(int)
Copyright © 1999-2020 by i-net software GmbH