Package ar.com.fdvs.dj.domain.builders

Class Summary
ColumnBuilder Builder created to give users a friendly way of adding columns to a report.

Usage example:
AbstractColumn columnState = ColumnBuilder.getNew()
.addColumnProperty("state", String.class.getName())
.addTitle("State").addWidth(new Integer(85))
.addStyle(detailStyle).addHeaderStyle(headerStyle).build();

Like with all DJ's builders, it's usage must end with a call to build() mehtod.
CrosstabBuilder  
CrosstabColumnBuilder  
CrosstabRowBuilder  
DataSetFactory  
DJChartBuilder  
DynamicReportBuilder Builder created to give users a friendly way of creating a DynamicReport.

Usage example:
DynamicReportBuilder drb = new DynamicReportBuilder(); Integer margin = new Integer(20); drb.addTitle("Clients List").addTitleStyle(titleStyle) .addSubtitle("Clients without debt") .addDetailHeight(new Integer(15)) .addLeftMargin(margin).addRightMargin(margin).addTopMargin(margin) .addBottomMargin(margin) .addPrintBackgroundOnOddRows(true).addOddRowBackgroundStyle(oddRowStyle) .addColumnsPerPage(new Integer(1)).addColumnSpace(new Integer(5)) .addColumn(column1).addColumn(column2).build();
Like with all DJ's builders, it's usage must end with a call to build() mehtod.
FastReportBuilder Builder created to give users a friendly way of creating a DynamicReport.

Usage example:
DynamicReportBuilder drb = new DynamicReportBuilder(); Integer margin = new Integer(20); drb.addTitle("Clients List").addTitleStyle(titleStyle) .addSubtitle("Clients without debt") .addDetailHeight(new Integer(15)) .addLeftMargin(margin).addRightMargin(margin).addTopMargin(margin) .addBottomMargin(margin) .addPrintBackgroundOnOddRows(true).addOddRowBackgroundStyle(oddRowStyle) .addColumnsPerPage(new Integer(1)).addColumnSpace(new Integer(5)) .addColumn(column1).addColumn(column2).build();
Like with all DJ's builders, it's usage must end with a call to build() mehtod.
GroupBuilder Builder created to give users a friendly way of adding groups to a report.

Usage example:
GroupBuilder gb1 = new GroupBuilder(); ColumnsGroup g1 = gb1.addCriteriaColumn((PropertyColumn) columnState)
.addFooterVariable(columnAmount,ColumnsGroupVariableOperation.SUM)
.addFooterVariable(columnaQuantity,ColumnsGroupVariableOperation.SUM)
.addGroupLayout(GroupLayout.VALUE_IN_HEADER_WITH_HEADERS)
.build();

Like with all DJ's builders, it's usage must end with a call to build() mehtod.
ReflectiveReportBuilder Builder created to give users an easy way of creating a DynamicReport based on a collection.

Usage example:
DynamicReport report = new ReflectiveReportBuilder(data, new String[]{"productLine", "item", "state", "id", "branch", "quantity", "amount"}) .addGroups(3).build();
Like with all DJ's builders, it's usage must end with a call to build() mehtod.
SafeReportBuilder  
StyleBuilder  
SubReportBuilder  
 

Exception Summary
BuilderException  
ChartBuilderException  
ColumnBuilderException  
ColumnsGroupBuilderException  
DJBuilderException This exception can be thrown by any builder used in DynamicJasper
 



Copyright © 2006-2011 FDV Solutions. All Rights Reserved.