|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jasperreports.crosstabs.fill.calculation.HeaderCell
public class HeaderCell
Crosstab header cell produced by the crosstab bucketing engine.
Constructor Summary | |
---|---|
HeaderCell(BucketDefinition.Bucket[] bucketValues,
int levelSpan,
int depthSpan,
MeasureDefinition.MeasureValue[][] totals)
Creates a crosstab header cell. |
Method Summary | |
---|---|
static HeaderCell |
createLevelSpanCopy(HeaderCell cell,
int newLevelSpan)
|
BucketDefinition.Bucket[] |
getBucketValues()
Returns the bucket values for this cell. |
int |
getDepthSpan()
Returns the span across cells on subsequent levels (buckets). |
int |
getLevelSpan()
Returns the span across cells on the same level (bucket). |
MeasureDefinition.MeasureValue[][] |
getTotals()
|
boolean |
isTotal()
Returns whether this header is a total header. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HeaderCell(BucketDefinition.Bucket[] bucketValues, int levelSpan, int depthSpan, MeasureDefinition.MeasureValue[][] totals)
bucketValues
- the bucket values for the celllevelSpan
- the span across cells on the same level (bucket)depthSpan
- the span across cells on subsequent levels (buckets)Method Detail |
---|
public BucketDefinition.Bucket[] getBucketValues()
public int getLevelSpan()
This is used for headers of buckets having sub-buckets.
public int getDepthSpan()
This is used for total headers.
public boolean isTotal()
public MeasureDefinition.MeasureValue[][] getTotals()
public static HeaderCell createLevelSpanCopy(HeaderCell cell, int newLevelSpan)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |