net.sf.dynamicreports.adhoc.report
Class DefaultAdhocReportCustomizer
java.lang.Object
net.sf.dynamicreports.adhoc.report.DefaultAdhocReportCustomizer
- All Implemented Interfaces:
- AdhocReportCustomizer
public class DefaultAdhocReportCustomizer
- extends Object
- implements AdhocReportCustomizer
- Author:
- Ricardo Mariaca (r.mariaca@dynamicreports.org)
|
Method Summary |
protected void |
addComponents()
|
protected void |
addSubtotal(SubtotalBuilder<?,?> subtotal,
AdhocSubtotalPosition adhocSubtotalPosition,
String groupName)
|
protected void |
addSubtotals()
|
protected AreaChartBuilder |
areaChart(AdhocChart adhocChart)
|
protected AxisFormatBuilder |
axisFormat(AdhocAxisFormat adhocAxisFormat)
|
protected Bar3DChartBuilder |
bar3DChart(AdhocChart adhocChart)
|
protected BarChartBuilder |
barChart(AdhocChart adhocChart)
|
protected void |
baseChart(AdhocChart adhocChart,
AbstractBaseChartBuilder<?,?,?> baseChart)
|
protected BaseStyleBuilder<?,?> |
baseStyle(AdhocStyle adhocStyle,
BaseStyleBuilder<?,?> baseStyle)
|
protected BubbleChartBuilder |
bubbleChart(AdhocChart adhocChart)
|
protected void |
bubbleChart(AdhocChart adhocChart,
BubbleChartBuilder bubbleChart)
|
protected Calculation |
calculation(AdhocCalculation adhocCalculation)
|
protected void |
categoryChart(AdhocChart adhocChart,
AbstractCategoryChartBuilder<?,?> categoryChart)
|
protected CategoryChartSerieBuilder |
categoryChartSerie(AdhocChartSerie adhocChartSerie)
|
protected ColumnBuilder<?,?> |
column(AdhocColumn adhocColumn)
|
protected ComponentBuilder<?,?> |
component(AdhocComponent adhocComponent)
|
protected void |
component(AdhocComponent adhocComponent,
ComponentBuilder<?,?> component)
|
void |
customize(ReportBuilder<?> report,
AdhocReport adhocReport)
|
protected DifferenceChartBuilder |
differenceChart(AdhocChart adhocChart)
|
protected FontBuilder |
font(AdhocFont adhocFont)
|
protected DRIExpression<?> |
getFieldExpression(String name)
|
protected String |
getFieldLabel(String name)
|
protected DRIDataType<?,?> |
getFieldType(String name)
|
protected GroupBuilder<?> |
group(AdhocGroup adhocGroup)
|
protected GroupedCategoryChartSerieBuilder |
groupedCategoryChartSerie(AdhocChartSerie adhocChartSerie)
|
protected GroupedStackedBarChartBuilder |
groupedStackedBarChart(AdhocChart adhocChart)
|
protected GroupHeaderLayout |
groupHeaderLayout(AdhocGroupHeaderLayout groupHeaderLayout)
|
protected HorizontalAlignment |
horizontalAlignment(AdhocHorizontalAlignment adhocHorizontalAlignment)
|
protected AbstractChartBuilder<?> |
chart(AdhocChart adhocChart)
|
protected void |
chart(AdhocChart adhocChart,
AbstractChartBuilder<?> chart)
|
protected void |
chartSerie(AdhocChartSerie adhocChartSerie,
AbstractChartSerieBuilder<?,?> chartSerie)
|
protected LayeredBarChartBuilder |
layeredBarChart(AdhocChart adhocChart)
|
protected LineChartBuilder |
lineChart(AdhocChart adhocChart)
|
protected OrderType |
orderType(AdhocOrderType adhocOrderType)
|
protected Orientation |
orientation(AdhocOrientation adhocOrientation)
|
protected void |
page(ReportBuilder<?> report,
AdhocPage adhocPage)
|
protected PageOrientation |
pageOrientation(AdhocPageOrientation adhocPageOrientation)
|
protected PenBuilder |
pen(AdhocPen adhocPen)
|
protected Pie3DChartBuilder |
pie3DChart(AdhocChart adhocChart)
|
protected PieChartBuilder |
pieChart(AdhocChart adhocChart)
|
protected void |
pieChart(AdhocChart adhocChart,
AbstractPieChartBuilder<?,?> pieChart)
|
protected ScatterChartBuilder |
scatterChart(AdhocChart adhocChart)
|
protected SimpleStyleBuilder |
simpleStyle(AdhocStyle adhocStyle)
|
protected SortBuilder |
sort(AdhocSort adhocSort)
|
protected SpiderChartBuilder |
spiderChart(AdhocChart adhocChart)
|
protected void |
spiderChart(AdhocChart adhocChart,
SpiderChartBuilder spiderChart)
|
protected StackedAreaChartBuilder |
stackedAreaChart(AdhocChart adhocChart)
|
protected StackedBar3DChartBuilder |
stackedBar3DChart(AdhocChart adhocChart)
|
protected StackedBarChartBuilder |
stackedBarChart(AdhocChart adhocChart)
|
protected StyleBuilder |
style(AdhocStyle adhocStyle)
|
protected SubtotalBuilder<?,?> |
subtotal(AdhocSubtotal adhocSubtotal)
|
protected SubtotalBuilder<?,?>[] |
subtotals()
|
protected TextFieldBuilder<?> |
textField(AdhocTextField adhocTextField)
|
protected TimePeriod |
timePeriodType(AdhocTimePeriod timePeriod)
|
protected TimeSeriesChartBuilder |
timeSeriesChart(AdhocChart adhocChart)
|
protected void |
timeSeriesChart(AdhocChart adhocChart,
AbstractTimeSeriesChartBuilder<?,?> timeSeriesChart)
|
protected VerticalAlignment |
verticalAlignment(AdhocVerticalAlignment adhocVerticalAlignment)
|
protected WaterfallBarChartBuilder |
waterfallBarChart(AdhocChart adhocChart)
|
protected XyAreaChartBuilder |
xyAreaChart(AdhocChart adhocChart)
|
protected XyBarChartBuilder |
xyBarChart(AdhocChart adhocChart)
|
protected void |
xyChart(AdhocChart adhocChart,
AbstractXyChartBuilder<?,?> xyChart)
|
protected XyChartSerieBuilder |
xyChartSerie(AdhocChartSerie adhocChartSerie)
|
protected XyLineChartBuilder |
xyLineChart(AdhocChart adhocChart)
|
protected XyStepChartBuilder |
xyStepChart(AdhocChart adhocChart)
|
protected XyzChartSerieBuilder |
xyzChartSerie(AdhocChartSerie adhocChartSerie)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
report
protected ReportBuilder<?> report
adhocReport
protected AdhocReport adhocReport
columns
protected Map<String,ColumnBuilder<?,?>> columns
groups
protected Map<String,GroupBuilder<?>> groups
components
protected Map<String,ComponentBuilder<?,?>> components
DefaultAdhocReportCustomizer
public DefaultAdhocReportCustomizer()
customize
public void customize(ReportBuilder<?> report,
AdhocReport adhocReport)
throws DRException
- Specified by:
customize in interface AdhocReportCustomizer
- Throws:
DRException
getFieldLabel
protected String getFieldLabel(String name)
getFieldType
protected DRIDataType<?,?> getFieldType(String name)
getFieldExpression
protected DRIExpression<?> getFieldExpression(String name)
column
protected ColumnBuilder<?,?> column(AdhocColumn adhocColumn)
group
protected GroupBuilder<?> group(AdhocGroup adhocGroup)
groupHeaderLayout
protected GroupHeaderLayout groupHeaderLayout(AdhocGroupHeaderLayout groupHeaderLayout)
addSubtotals
protected void addSubtotals()
subtotals
protected SubtotalBuilder<?,?>[] subtotals()
subtotal
protected SubtotalBuilder<?,?> subtotal(AdhocSubtotal adhocSubtotal)
calculation
protected Calculation calculation(AdhocCalculation adhocCalculation)
addSubtotal
protected void addSubtotal(SubtotalBuilder<?,?> subtotal,
AdhocSubtotalPosition adhocSubtotalPosition,
String groupName)
sort
protected SortBuilder sort(AdhocSort adhocSort)
orderType
protected OrderType orderType(AdhocOrderType adhocOrderType)
baseStyle
protected BaseStyleBuilder<?,?> baseStyle(AdhocStyle adhocStyle,
BaseStyleBuilder<?,?> baseStyle)
style
protected StyleBuilder style(AdhocStyle adhocStyle)
simpleStyle
protected SimpleStyleBuilder simpleStyle(AdhocStyle adhocStyle)
font
protected FontBuilder font(AdhocFont adhocFont)
pen
protected PenBuilder pen(AdhocPen adhocPen)
horizontalAlignment
protected HorizontalAlignment horizontalAlignment(AdhocHorizontalAlignment adhocHorizontalAlignment)
verticalAlignment
protected VerticalAlignment verticalAlignment(AdhocVerticalAlignment adhocVerticalAlignment)
page
protected void page(ReportBuilder<?> report,
AdhocPage adhocPage)
pageOrientation
protected PageOrientation pageOrientation(AdhocPageOrientation adhocPageOrientation)
addComponents
protected void addComponents()
component
protected ComponentBuilder<?,?> component(AdhocComponent adhocComponent)
component
protected void component(AdhocComponent adhocComponent,
ComponentBuilder<?,?> component)
textField
protected TextFieldBuilder<?> textField(AdhocTextField adhocTextField)
chart
protected AbstractChartBuilder<?> chart(AdhocChart adhocChart)
chart
protected void chart(AdhocChart adhocChart,
AbstractChartBuilder<?> chart)
baseChart
protected void baseChart(AdhocChart adhocChart,
AbstractBaseChartBuilder<?,?,?> baseChart)
categoryChart
protected void categoryChart(AdhocChart adhocChart,
AbstractCategoryChartBuilder<?,?> categoryChart)
timeSeriesChart
protected void timeSeriesChart(AdhocChart adhocChart,
AbstractTimeSeriesChartBuilder<?,?> timeSeriesChart)
timePeriodType
protected TimePeriod timePeriodType(AdhocTimePeriod timePeriod)
pieChart
protected void pieChart(AdhocChart adhocChart,
AbstractPieChartBuilder<?,?> pieChart)
xyChart
protected void xyChart(AdhocChart adhocChart,
AbstractXyChartBuilder<?,?> xyChart)
spiderChart
protected void spiderChart(AdhocChart adhocChart,
SpiderChartBuilder spiderChart)
bubbleChart
protected void bubbleChart(AdhocChart adhocChart,
BubbleChartBuilder bubbleChart)
areaChart
protected AreaChartBuilder areaChart(AdhocChart adhocChart)
stackedAreaChart
protected StackedAreaChartBuilder stackedAreaChart(AdhocChart adhocChart)
barChart
protected BarChartBuilder barChart(AdhocChart adhocChart)
stackedBarChart
protected StackedBarChartBuilder stackedBarChart(AdhocChart adhocChart)
groupedStackedBarChart
protected GroupedStackedBarChartBuilder groupedStackedBarChart(AdhocChart adhocChart)
bar3DChart
protected Bar3DChartBuilder bar3DChart(AdhocChart adhocChart)
stackedBar3DChart
protected StackedBar3DChartBuilder stackedBar3DChart(AdhocChart adhocChart)
lineChart
protected LineChartBuilder lineChart(AdhocChart adhocChart)
layeredBarChart
protected LayeredBarChartBuilder layeredBarChart(AdhocChart adhocChart)
waterfallBarChart
protected WaterfallBarChartBuilder waterfallBarChart(AdhocChart adhocChart)
differenceChart
protected DifferenceChartBuilder differenceChart(AdhocChart adhocChart)
pieChart
protected PieChartBuilder pieChart(AdhocChart adhocChart)
pie3DChart
protected Pie3DChartBuilder pie3DChart(AdhocChart adhocChart)
scatterChart
protected ScatterChartBuilder scatterChart(AdhocChart adhocChart)
spiderChart
protected SpiderChartBuilder spiderChart(AdhocChart adhocChart)
timeSeriesChart
protected TimeSeriesChartBuilder timeSeriesChart(AdhocChart adhocChart)
xyAreaChart
protected XyAreaChartBuilder xyAreaChart(AdhocChart adhocChart)
xyBarChart
protected XyBarChartBuilder xyBarChart(AdhocChart adhocChart)
xyLineChart
protected XyLineChartBuilder xyLineChart(AdhocChart adhocChart)
xyStepChart
protected XyStepChartBuilder xyStepChart(AdhocChart adhocChart)
bubbleChart
protected BubbleChartBuilder bubbleChart(AdhocChart adhocChart)
orientation
protected Orientation orientation(AdhocOrientation adhocOrientation)
axisFormat
protected AxisFormatBuilder axisFormat(AdhocAxisFormat adhocAxisFormat)
chartSerie
protected void chartSerie(AdhocChartSerie adhocChartSerie,
AbstractChartSerieBuilder<?,?> chartSerie)
categoryChartSerie
protected CategoryChartSerieBuilder categoryChartSerie(AdhocChartSerie adhocChartSerie)
groupedCategoryChartSerie
protected GroupedCategoryChartSerieBuilder groupedCategoryChartSerie(AdhocChartSerie adhocChartSerie)
xyChartSerie
protected XyChartSerieBuilder xyChartSerie(AdhocChartSerie adhocChartSerie)
xyzChartSerie
protected XyzChartSerieBuilder xyzChartSerie(AdhocChartSerie adhocChartSerie)
Copyright © 2010-2013. All Rights Reserved.