|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectar.com.fdvs.dj.domain.builders.SubReportBuilder
public class SubReportBuilder
| Constructor Summary | |
|---|---|
SubReportBuilder()
|
|
| Method Summary | |
|---|---|
SubReportBuilder |
addParameter(SubreportParameter sp)
|
SubReportBuilder |
addParameterFieldType(java.lang.String propertyName,
java.lang.String paramName)
|
Subreport |
build()
|
SubReportBuilder |
setDataSource(int origin,
int type,
java.lang.String expression)
Indicates from where to get the data source. |
SubReportBuilder |
setDataSource(int origin,
java.lang.String expression)
like addDataSource(int origin, int type, String expression) but the type will be of the JRDataSource |
SubReportBuilder |
setDataSource(java.lang.String expression)
like addDataSource(int origin, String expression) but the origin will be from a Parameter |
SubReportBuilder |
setDynamicReport(DynamicReport dynamicReport,
LayoutManager layoutManager)
|
SubReportBuilder |
setFitToParentPrintableArea(boolean fitparent)
When true, and id the subreport is dynamic, it's page size and margins will match with the parent report |
SubReportBuilder |
setPathToReport(java.lang.String path)
|
SubReportBuilder |
setReport(net.sf.jasperreports.engine.JasperReport jasperReport)
|
SubReportBuilder |
setStartInNewPage(boolean startInNewPage)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SubReportBuilder()
| Method Detail |
|---|
public Subreport build()
throws DJBuilderException
DJBuilderException
public SubReportBuilder setDataSource(int origin,
int type,
java.lang.String expression)
origin - Must be one of these constans located in DJConstants intefacetype - tell if the datasource is a Collection, an Array, a ResultSet or whatever.DJConstants of the like DATA_SOURCE_TYPE_...expression - is -depending on the origin- te path to the datasourceJRDataSource or any of the following
public SubReportBuilder setDataSource(int origin,
java.lang.String expression)
JRDataSource
origin - expression -
public SubReportBuilder setDataSource(java.lang.String expression)
origin - expression -
public SubReportBuilder setReport(net.sf.jasperreports.engine.JasperReport jasperReport)
public SubReportBuilder setDynamicReport(DynamicReport dynamicReport,
LayoutManager layoutManager)
public SubReportBuilder setPathToReport(java.lang.String path)
public SubReportBuilder setStartInNewPage(boolean startInNewPage)
public SubReportBuilder addParameter(SubreportParameter sp)
public SubReportBuilder addParameterFieldType(java.lang.String propertyName,
java.lang.String paramName)
public SubReportBuilder setFitToParentPrintableArea(boolean fitparent)
fitparent -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||