|
||||||||||
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.CrosstabCell
public class CrosstabCell
Crosstab cell produced by the crosstab bucketing engine.
Constructor Summary | |
---|---|
CrosstabCell(BucketDefinition.Bucket[] rowBucketValues,
BucketDefinition.Bucket[] columnBucketValues,
MeasureDefinition.MeasureValue[] mesureValues,
MeasureDefinition.MeasureValue[][][] totals)
Create a crosstab cell. |
Method Summary | |
---|---|
BucketDefinition.Bucket[] |
getColumnBucketValues()
Returns the column bucket values corresponding to this cell. |
int |
getColumnTotalGroupIndex()
Returns the index of the column total bucket this cell corresponds to. |
MeasureDefinition.MeasureValue[] |
getMesureValues()
Returns the measure values for this cell. |
BucketDefinition.Bucket[] |
getRowBucketValues()
Returns the row bucket values corresponding to this cell. |
int |
getRowTotalGroupIndex()
Returns the index of the row total bucket this cell corresponds to. |
MeasureDefinition.MeasureValue[][][] |
getTotals()
Returns measure totals corresponding to the cell. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CrosstabCell(BucketDefinition.Bucket[] rowBucketValues, BucketDefinition.Bucket[] columnBucketValues, MeasureDefinition.MeasureValue[] mesureValues, MeasureDefinition.MeasureValue[][][] totals)
rowBucketValues
- the row bucket values corresponding to the cellcolumnBucketValues
- the column bucket values corresponding to the cellmesureValues
- the measure valuestotals
- totals corresponding to the cellMethod Detail |
---|
public MeasureDefinition.MeasureValue[] getMesureValues()
public BucketDefinition.Bucket[] getColumnBucketValues()
public BucketDefinition.Bucket[] getRowBucketValues()
public int getColumnTotalGroupIndex()
If this cell corresponds to a column total bucket, this method returns the index of the bucket. Otherwise it returns the number of column buckets.
public int getRowTotalGroupIndex()
If this cell corresponds to a row total bucket, this method returns the index of the bucket. Otherwise it returns the number of row buckets.
public MeasureDefinition.MeasureValue[][][] getTotals()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |