Package org.pentaho.reporting.engine.classic.core

Examples of org.pentaho.reporting.engine.classic.core.CrosstabCell


    return cell;
  }

  protected CrosstabCell createDetailsCell()
  {
    final CrosstabCell cell = new CrosstabCell();
    cell.getStyle().setStyleProperty(ElementStyleKeys.MIN_HEIGHT, -100f);
    cell.getStyle().setStyleProperty(BandStyleKeys.LAYOUT, BandStyleKeys.LAYOUT_ROW);
    for (int i = 0; i < details.size(); i += 1)
    {
      final CrosstabDetail crosstabDetail = details.get(i);
      cell.addElement(createDetailCellContent(crosstabDetail));
    }
    return cell;
  }
View Full Code Here


  }

  private boolean configureCrosstabAggregation(final ReportElement element, final AggregationFunction o)
      throws ReportProcessingException
  {
    final CrosstabCell crosstabCell = findCrosstabCell(element);
    if (crosstabCell == null)
    {
      return false;
    }

    final String columnField = crosstabCell.getColumnField();
    final String rowField = crosstabCell.getRowField();

    if (columnField == null && rowField == null)
    {
      // special case handling for detail cells.
      // detail cells have no filter, and reset on the innermost column group.
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.CrosstabCell

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.