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

Examples of ar.com.fdvs.dj.domain.entities.columns.AbstractColumn


    /**
     * Columns Definitions. A new ColumnBuilder instance for each column.
     */
    // Right name
    AbstractColumn colRightName = ColumnBuilder.getNew().setColumnProperty("rigName", String.class.getName()).build();
    colRightName.setTitle(rigName);
    colRightName.setWidth(60);
    colRightName.setHeaderStyle(djrst.getHeaderStyleText());
    colRightName.setStyle(djrst.getColumnStyleText());
    // Right type
    AbstractColumn colRightType = ColumnBuilder.getNew().setCustomExpression(getMyRightTypExpression()).build();
    colRightType.setTitle(rigType);
    colRightType.setWidth(40);
    colRightType.setHeaderStyle(djrst.getHeaderStyleText());
    colRightType.setStyle(djrst.getColumnStyleText());

    // Add the columns to the report in the whished order
    drbContent.addColumn(colRightName);
    drbContent.addColumn(colRightType);

View Full Code Here


    /**
     * Columns Definitions. A new ColumnBuilder instance for each column.
     */
    // Right name
    AbstractColumn colRightName = ColumnBuilder.getNew().setColumnProperty("rigName", String.class.getName()).build();
    colRightName.setTitle(rigName);
    colRightName.setWidth(60);
    colRightName.setHeaderStyle(columnHeaderStyleText);
    colRightName.setStyle(columnDetailStyleText);
    // Right type
    AbstractColumn colRightType = ColumnBuilder.getNew().setCustomExpression(getMyRightTypExpression()).build();
    colRightType.setTitle(rigType);
    colRightType.setWidth(40);
    colRightType.setHeaderStyle(columnHeaderStyleText);
    colRightType.setStyle(columnDetailStyleText);

    // Add the columns to the report in the whished order
    drb.addColumn(colRightName);
    drb.addColumn(colRightType);

View Full Code Here

    /**
     * Columns Definitions. A new ColumnBuilder instance for each column.
     */
    // Login name
    AbstractColumn colLoginName = ColumnBuilder.getNew().setColumnProperty("usrLoginname", String.class.getName()).build();
    colLoginName.setTitle(usrLoginname);
    colLoginName.setWidth(30);
    colLoginName.setHeaderStyle(columnHeaderStyleText);
    colLoginName.setStyle(columnDetailStyleText);
    // Last name
    AbstractColumn colLastName = ColumnBuilder.getNew().setColumnProperty("usrLastname", String.class.getName()).build();
    colLastName.setTitle(usrLastname);
    colLastName.setWidth(50);
    colLastName.setHeaderStyle(columnHeaderStyleText);
    colLastName.setStyle(columnDetailStyleText);
    // First name
    AbstractColumn colFirstName = ColumnBuilder.getNew().setColumnProperty("usrFirstname", String.class.getName()).build();
    colFirstName.setTitle(usrFirstname);
    colFirstName.setWidth(50);
    colFirstName.setHeaderStyle(columnHeaderStyleText);
    colFirstName.setStyle(columnDetailStyleText);
    // Email address
    AbstractColumn colEmail = ColumnBuilder.getNew().setColumnProperty("usrEmail", String.class.getName()).build();
    colEmail.setTitle(usrEmail);
    colEmail.setWidth(50);
    colEmail.setHeaderStyle(columnHeaderStyleText);
    colEmail.setStyle(columnDetailStyleText);
    // Account enabled
    AbstractColumn colEnabled = ColumnBuilder.getNew().setCustomExpression(getMyBooleanExpression()).build();
    colEnabled.setTitle(usrEnabled);
    colEnabled.setWidth(10);
    colEnabled.setHeaderStyle(columnHeaderStyleText);
    colEnabled.setStyle(columnDetailStyleText);

    // Add the columns to the report in the whished order
    drb.addColumn(colLoginName);
    drb.addColumn(colLastName);
    drb.addColumn(colFirstName);
View Full Code Here

    /**
     * Columns Definitions. A new ColumnBuilder instance for each column.
     */
    // Quantity
    AbstractColumn colQuantity = ColumnBuilder.getNew().setColumnProperty("aupMenge", BigDecimal.class.getName()).build();
    colQuantity.setTitle(quantity);
    colQuantity.setWidth(40);
    colQuantity.setPattern("#,##0.00");
    colQuantity.setHeaderStyle(columnHeaderStyleNumber);
    colQuantity.setStyle(columnDetailStyleNumbers);

    // Article Text
    AbstractColumn colArticleText = ColumnBuilder.getNew().setColumnProperty("article.artKurzbezeichnung", String.class.getName()).build();
    colArticleText.setTitle(articleText);
    colArticleText.setWidth(100);
    colArticleText.setHeaderStyle(columnHeaderStyleText);
    colArticleText.setStyle(columnDetailStyleText);

    // Single Price
    AbstractColumn colSinglePrice = ColumnBuilder.getNew().setColumnProperty("aupEinzelwert", BigDecimal.class.getName()).build();
    colSinglePrice.setTitle(singlePrice);
    colSinglePrice.setWidth(40);
    colSinglePrice.setPattern("#,##0.00");
    colSinglePrice.setHeaderStyle(columnHeaderStyleNumber);
    colSinglePrice.setStyle(columnDetailStyleNumbers);

    // Line Sum
    AbstractColumn colLineSum = ColumnBuilder.getNew().setColumnProperty("aupGesamtwert", BigDecimal.class.getName()).build();
    colLineSum.setTitle(lineSum);
    colLineSum.setWidth(40);
    // #,##0. €00
    colLineSum.setPattern("#,##0.00");
    colLineSum.setHeaderStyle(columnHeaderStyleNumber);
    colLineSum.setStyle(columnDetailStyleNumbers);

    // Add the columns to the report in the whished order
    drb.addColumn(colQuantity);
    drb.addColumn(colArticleText);
    drb.addColumn(colSinglePrice);
View Full Code Here

   * @throws ColumnBuilderException
   * @throws ClassNotFoundException
   */
  public FastReportBuilder addImageColumn(String title, String property, int width, boolean fixedWidth,ImageScaleMode imageScaleMode, Style style) throws ColumnBuilderException, ClassNotFoundException {
    String className = InputStream.class.getName();
    AbstractColumn column = ColumnBuilder.getInstance()
    .setColumnProperty(property, className)
    .setWidth(new Integer(width))
    .setTitle(title)
    .setFixedWidth(Boolean.valueOf(fixedWidth))
    .setColumnType(ColumnBuilder.COLUMN_TYPE_IMAGE)
View Full Code Here

   * @return
   * @throws ColumnBuilderException
   * @throws ClassNotFoundException
   */
  public FastReportBuilder addImageColumn(String title, String property, String className, int width, boolean fixedWidth,ImageScaleMode imageScaleMode, Style style) throws ColumnBuilderException, ClassNotFoundException {
    AbstractColumn column = ColumnBuilder.getInstance()
    .setColumnProperty(property, className)
    .setWidth(new Integer(width))
    .setTitle(title)
    .setFixedWidth(Boolean.valueOf(fixedWidth))
    .setColumnType(ColumnBuilder.COLUMN_TYPE_IMAGE)
View Full Code Here

    return this;
  }

  public FastReportBuilder addBarcodeColumn(String title, String property, String className, int barcodeType, boolean showText, int width, boolean fixedWidth, ImageScaleMode imageScaleMode) throws ColumnBuilderException, ClassNotFoundException {
    AbstractColumn column = ColumnBuilder.getInstance()
    .setColumnProperty(property, className)
    .setWidth(new Integer(width))
    .setTitle(title)
    .setFixedWidth(Boolean.valueOf(fixedWidth))
    .setColumnType(ColumnBuilder.COLUMN_TYPE_BARCODE)
View Full Code Here

   * @return
   * @throws ColumnBuilderException
   * @throws ClassNotFoundException
   */
  public FastReportBuilder addBarcodeColumn(String title, String property,String className, int  barcodeType,boolean showText, int width, boolean fixedWidth,ImageScaleMode imageScaleMode, Style style) throws ColumnBuilderException, ClassNotFoundException {
    AbstractColumn column = ColumnBuilder.getInstance()
    .setColumnProperty(property, className)
    .setWidth(new Integer(width))
    .setTitle(title)
    .setFixedWidth(Boolean.valueOf(fixedWidth))
    .setColumnType(ColumnBuilder.COLUMN_TYPE_BARCODE)
View Full Code Here

* @return
* @throws ColumnBuilderException
* @throws ClassNotFoundException
*/
  public FastReportBuilder addBarcodeColumn(String title, String property, String className, int barcodeType, boolean showText, boolean checkSum, String applicationIdentifier, int width, boolean fixedWidth, ImageScaleMode imageScaleMode, Style style) throws ColumnBuilderException, ClassNotFoundException {
    AbstractColumn column = ColumnBuilder.getInstance()
    .setColumnProperty(property, className)
    .setWidth(new Integer(width))
    .setTitle(title)
    .setFixedWidth(Boolean.valueOf(fixedWidth))
    .setColumnType(ColumnBuilder.COLUMN_TYPE_BARCODE)
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.getInstance()
    .setColumnProperty(new ColumnProperty(property, className))
    .setWidth(new Integer(width))
    .setTitle(title)
    .setFixedWidth(Boolean.valueOf(fixedWidth))
    .setPattern(pattern)
View Full Code Here

TOP

Related Classes of ar.com.fdvs.dj.domain.entities.columns.AbstractColumn

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.