java.lang.Object
net.sf.jasperreports.crosstabs.fill.calculation.CrosstabCell

public class CrosstabCell extends Object
Crosstab cell produced by the crosstab bucketing engine.
Author:
Lucian Chirita (lucianc@users.sourceforge.net)
  • Constructor Details

  • Method Details

    • getMesureValues

      public MeasureDefinition.MeasureValue[] getMesureValues()
      Returns the measure values for this cell.
      Returns:
      the measure values for this cell
    • getColumnBucketValues

      public BucketDefinition.Bucket[] getColumnBucketValues()
      Returns the column bucket values corresponding to this cell.
      Returns:
      the column bucket values corresponding to this cell
    • getRowBucketValues

      public BucketDefinition.Bucket[] getRowBucketValues()
      Returns the row bucket values corresponding to this cell.
      Returns:
      the row bucket values corresponding to this cell
    • getColumnTotalGroupIndex

      public int getColumnTotalGroupIndex()
      Returns the index of the column total bucket this cell corresponds to.

      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.

      Returns:
      the index of the column total bucket this cell corresponds to
    • getRowTotalGroupIndex

      public int getRowTotalGroupIndex()
      Returns the index of the row total bucket this cell corresponds to.

      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.

      Returns:
      the index of the row total bucket this cell corresponds to
    • getTotals

      public MeasureDefinition.MeasureValue[][][] getTotals()
      Returns measure totals corresponding to the cell.
      Returns:
      measure totals corresponding to the cell