Package ar.com.fdvs.dj.domain

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


public class GlobalGroupColumn extends PropertyColumn {

  private static final long serialVersionUID = Entity.SERIAL_VERSION_UID;
 
  public GlobalGroupColumn() {
    ColumnProperty columnProperty = new ColumnProperty("global", String.class.getName());
    setTitle("global");
    setColumnProperty(columnProperty);
  }
View Full Code Here


    setTitle("global");
    setColumnProperty(columnProperty);
  }

  public GlobalGroupColumn(String name) {
    ColumnProperty columnProperty = new ColumnProperty(name, String.class.getName());
    setTitle("global");
    setColumnProperty(columnProperty);
  }
View Full Code Here

   * @param col
   * @param op
   * @return
   */
  public GroupBuilder addVariable(String name, String property, String className, DJCalculation operation) {   
    group.getVariables().add(new DJGroupVariableDef(name, new ColumnProperty(property,className), operation));
    return this;
  }
View Full Code Here

    return super.build();
  }

    public FastReportBuilder addColumn(String title, String property, String className, int width, Style style) throws ColumnBuilderException, ClassNotFoundException {
    AbstractColumn column = ColumnBuilder.getNew()
      .setColumnProperty(new ColumnProperty(property, className))
      .setWidth(new Integer(width))
      .setTitle(title)
      .build();

    column.setStyle(style);
View Full Code Here

      return this;
    }
   
    public FastReportBuilder addColumn(String title, String property, String className, int width, Style style, Style headerStyle) throws ColumnBuilderException, ClassNotFoundException {
      AbstractColumn column = ColumnBuilder.getNew()
      .setColumnProperty(new ColumnProperty(property, className))
      .setWidth(new Integer(width))
      .setTitle(title)
      .build();
     
      if (style != null)
View Full Code Here

      return addColumn(title, property, clazz.getName(), width, style, headerStyle);
    }

    public FastReportBuilder addColumn(String title, String property, String className, int width) throws ColumnBuilderException, ClassNotFoundException {
    AbstractColumn column = ColumnBuilder.getNew()
      .setColumnProperty(new ColumnProperty(property, className))
      .setWidth(new Integer(width))
      .setTitle(title)
      .build();

    guessStyle(className, column);
View Full Code Here

    return this;
  }

  public FastReportBuilder addColumn(String title, String property, String className, int width, boolean fixedWidth, String pattern) throws ColumnBuilderException, ClassNotFoundException {
    AbstractColumn column = ColumnBuilder.getNew()
    .setColumnProperty(new ColumnProperty(property, className))
    .setWidth(new Integer(width))
    .setTitle(title)
    .setFixedWidth(Boolean.valueOf(fixedWidth))
    .setPattern(pattern)
    .build();
View Full Code Here

    return addColumn(title, property, clazz.getName(), width, fixedWidth, pattern);
  }

  public FastReportBuilder addColumn(String title, String property, String className, int width, boolean fixedWidth, String pattern, Style style) throws ColumnBuilderException, ClassNotFoundException {
    AbstractColumn column = ColumnBuilder.getNew()
    .setColumnProperty(new ColumnProperty(property, className))
    .setWidth(new Integer(width))
    .setTitle(title)
    .setFixedWidth(Boolean.valueOf(fixedWidth))
    .setPattern(pattern)
    .setStyle(style)
View Full Code Here

    return addColumn(title, property, clazz.getName(), width, fixedWidth, pattern, style);
  }
 
  public FastReportBuilder addColumn(String title, String property, String className, int width, boolean fixedWidth, String pattern, Style style, String fieldDescription) throws ColumnBuilderException, ClassNotFoundException {
    AbstractColumn column = ColumnBuilder.getNew()
    .setColumnProperty(new ColumnProperty(property, className))
    .setWidth(new Integer(width))
    .setTitle(title)
    .setFixedWidth(Boolean.valueOf(fixedWidth))
    .setPattern(pattern)
    .setStyle(style)
View Full Code Here

   */
  protected AbstractColumn buildExpressionColumn() {
    ExpressionColumn column = new ExpressionColumn();
    populateCommonAttributes(column);
    long random_ = Math.abs(random.nextLong());
    column.setColumnProperty(new ColumnProperty("expressionColumn_" + random_,CustomExpression.class.getName()));
    column.setExpression(customExpression);
    column.setExpressionToGroupBy(customExpressionToGroupBy);
    column.setExpressionForCalculation(customExpressionForCalculation);
//    column.getFieldProperties().putAll(fieldProperties);
    return column;
View Full Code Here

TOP

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

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.