Package ar.com.fdvs.dj.domain.entities

Examples of ar.com.fdvs.dj.domain.entities.DJGroupVariable


    group.addFooterVariable(new DJGroupVariable(column3,operation,style,valueFormatter));
    return this;
  }

  public GroupBuilder addFooterVariable(AbstractColumn column3, DJCalculation operation, Style style, DJValueFormatter valueFormatter, DJGroupLabel label) {
    group.addFooterVariable(new DJGroupVariable(column3,operation,style,valueFormatter,label));
    return this;
  }
View Full Code Here


    group.addFooterVariable(new DJGroupVariable(column3,operation,style,valueFormatter,label));
    return this;
  }

  public GroupBuilder addFooterVariable(AbstractColumn column, CustomExpression valueExpression) {
    group.addFooterVariable(new DJGroupVariable(column, valueExpression));
    return this;
  }
View Full Code Here

    group.addFooterVariable(new DJGroupVariable(column, valueExpression));
    return this;
  }
 
  public GroupBuilder addFooterVariable(AbstractColumn column, CustomExpression valueExpression, Style style) {
    group.addFooterVariable(new DJGroupVariable(column, valueExpression, style));
    return this;
  }
View Full Code Here

//      this.globalHeaderVariables = new ArrayList();
    if (style == null)
      style = numberStyle; //XXX Carefree style assignment
//    this.globalHeaderVariables.add(new DJGroupVariable(column, op, style));
   
    this.globalVariablesGroup.addHeaderVariable(new DJGroupVariable(column, op, style));
    return this;
  }
View Full Code Here

    DJGroup group = getGroupByNumber(groupNum);
    PropertyColumn column = (PropertyColumn) report.getColumns().get(colNumber -1);
    if (style == null)
      style = numberStyle;

    DJGroupVariable columnsGroupVariable = new DJGroupVariable(column, op, style);
    group.addHeaderVariable(columnsGroupVariable);
    return this;
  }
View Full Code Here

    PropertyColumn column = (PropertyColumn) report.getColumns().get(colNumber -1);

    if (style == null)
      style = numberStyle;

    this.globalVariablesGroup.addFooterVariable(new DJGroupVariable(column, op, style));
    return this;
  }
View Full Code Here

    DJGroup group = getGroupByNumber(groupNum);
    PropertyColumn column = (PropertyColumn) report.getColumns().get(colNumber -1);
    if (style == null)
      style = numberStyle;

    DJGroupVariable columnsGroupVariable = new DJGroupVariable(column, op, style);
    group.addFooterVariable(columnsGroupVariable);
    return this;
  }
View Full Code Here

    DJGroup group = getGroupByNumber(groupNum);
    PropertyColumn column = (PropertyColumn) report.getColumns().get(colNumber -1);
    if (style == null)
      style = numberStyle;
   
    DJGroupVariable columnsGroupVariable = new DJGroupVariable(column, op, style, valueFormatter);
    group.addFooterVariable(columnsGroupVariable);
    return this;
  }
View Full Code Here

    PropertyColumn col = djgroup.getColumnToGroupBy();
    JRDesignBand band = (JRDesignBand)jgroup.getGroupFooter();

//    log.debug("Adding footer group label for group " + djgroup);
   
    DJGroupVariable lmvar = findLeftMostColumn(footerVariables);
    AbstractColumn lmColumn = lmvar.getColumnToApplyOperation();
    int width = lmColumn.getPosX().intValue()  - col.getPosX().intValue();
   
    int yOffset = findYOffsetForGroupLabel(band);
   
    JRDesignExpression labelExp = ExpressionUtils.createStringExpression("\""+ label.getText() + "\"");
View Full Code Here

     
      //The width will be all the page, except for the width of the header variables
            int headerVariablesWidth = getReport().getOptions().getPrintableWidth();
           
            if (!group.getHeaderVariables().isEmpty()){
              DJGroupVariable leftmostcol = findLeftMostColumn(group.getHeaderVariables());
              headerVariablesWidth = leftmostcol.getColumnToApplyOperation().getPosX().intValue();
              if (groupLabelsPresent(group.getHeaderVariables())){
                currentValue.setY(height.intValue());
                currentValue.setHeight(getHeaderVariablesHeight(group));
              }
            }
View Full Code Here

TOP

Related Classes of ar.com.fdvs.dj.domain.entities.DJGroupVariable

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.