public class HeaderCell extends Object
Constructor and Description |
---|
HeaderCell(BucketDefinition.Bucket[] bucketValues,
int levelSpan,
int depthSpan,
MeasureDefinition.MeasureValue[][] totals)
Creates a crosstab header cell.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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)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)
Copyright © 2021 TIBCO Software Inc.. All rights reserved.