Package ar.com.fdvs.dj.domain

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


    int auxWidth = 0;
    boolean firstTime = true;
    List auxList = new ArrayList(djcross.getColumns());
    Collections.reverse(auxList);
    for (Iterator iterator = auxList.iterator(); iterator.hasNext();) {
      DJCrosstabColumn col = (DJCrosstabColumn) iterator.next();

      if (col.equals(crosstabColumn)){
        if (auxWidth == 0)
          auxWidth = col.getWidth();
        break;
      }

      if (firstTime){
        auxWidth += col.getWidth();
        firstTime = false;
      }
      if (col.isShowTotals()) {
        auxWidth += col.getWidth();
      }
    }
    return auxWidth;
  }
View Full Code Here


    //The height can be the sum of the heights of all the columns starting from the current one, up to the inner most one.
    int auxWidth = 0;
    boolean found = false;
    for (Iterator iterator = djcross.getColumns().iterator(); iterator.hasNext();) {
      DJCrosstabColumn col = (DJCrosstabColumn) iterator.next();
      if (!col.equals(crosstabColumn) && found == false){
        continue;
      } else {
        found = true;
      }

      auxWidth += col.getHeaderHeight();
    }
    element.setHeight(auxWidth);

    applyCellBorder(totalHeaderContent);
View Full Code Here

TOP

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

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.