Package ar.com.fdvs.dj.domain

Examples of ar.com.fdvs.dj.domain.DJCrosstabRow


   */
  private int getRowHeaderMaxHeight(DJCrosstabRow crosstabRow) {
    int auxHeight = crosstabRow.getHeight();
    boolean found = false;
    for (Iterator iterator = djcross.getRows().iterator(); iterator.hasNext();) {
      DJCrosstabRow row = (DJCrosstabRow) iterator.next();
      if (!row.equals(crosstabRow) && found == false){
        continue;
      } else {
        found = true;
      }

      if (row.equals(crosstabRow))
        continue;

      if (row.isShowTotals())
        auxHeight += row.getHeight();
    }
    return auxHeight;
  }
View Full Code Here


    //The width can be the sum of the with of all the rows starting from the current one, up to the inner most one.
    int auxWidth = 0;
    boolean found = false;
    for (Iterator iterator = djcross.getRows().iterator(); iterator.hasNext();) {
      DJCrosstabRow row = (DJCrosstabRow) iterator.next();
      if (!row.equals(crosstabRow) && found == false){
        continue;
      } else {
        found = true;
      }

      auxWidth += row.getHeaderWidth();
    }
    element.setWidth(auxWidth);

    applyCellBorder(totalHeaderContent);
View Full Code Here

TOP

Related Classes of ar.com.fdvs.dj.domain.DJCrosstabRow

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.