ar.com.fdvs.dj.domain.chart.builder
Class DJPie3DChartBuilder

java.lang.Object
  extended by ar.com.fdvs.dj.domain.chart.builder.AbstractChartBuilder
      extended by ar.com.fdvs.dj.domain.chart.builder.DJPie3DChartBuilder

public class DJPie3DChartBuilder
extends AbstractChartBuilder


Field Summary
 
Fields inherited from class ar.com.fdvs.dj.domain.chart.builder.AbstractChartBuilder
chart
 
Constructor Summary
DJPie3DChartBuilder()
           
 
Method Summary
 DJPie3DChartBuilder addSerie(AbstractColumn column)
          Adds the specified serie column to the dataset.
 DJPie3DChartBuilder addSeriesColor(Color color)
          Adds the specified series color to the plot.
protected  byte getChartType()
           
 DJPie3DChartBuilder setBackColor(Color backColor)
          Sets the background color.
 DJPie3DChartBuilder setCentered(boolean centered)
          Sets the centered.
 DJPie3DChartBuilder setCircular(boolean circular)
          Sets the circular.
 DJPie3DChartBuilder setCustomizerClass(String customizerClass)
          Sets a user specified chart customizer class name.
 DJPie3DChartBuilder setDepthFactor(double depthFactor)
          Sets the depth factor.
 DJPie3DChartBuilder setHeight(int height)
          Sets the chart height.
 DJPie3DChartBuilder setKey(PropertyColumn key)
          Sets the key column.
 DJPie3DChartBuilder setLabelFormat(String labelFormat)
          Sets the label format.
 DJPie3DChartBuilder setLegendBackgroundColor(Color legendBackgroundColor)
          Sets the legend background color.
 DJPie3DChartBuilder setLegendColor(Color legendColor)
          Sets the legend color.
 DJPie3DChartBuilder setLegendFont(Font legendFont)
          Sets the legend font.
 DJPie3DChartBuilder setLegendLabelFormat(String legendLabelFormat)
          Sets the legend label format.
 DJPie3DChartBuilder setLegendPosition(byte legendPosition)
          Sets the legend position (DJChartOptions.EDGE_TOP, DJChartOptions.EDGE_BOTTOM, DJChartOptions.EDGE_LEFT, DJChartOptions.EDGE_RIGHT).
 DJPie3DChartBuilder setLineColor(Color lineColor)
          Sets the line color.
 DJPie3DChartBuilder setLineStyle(byte lineStyle)
          Sets the line style (DJChartOptions.LINE_STYLE_SOLID, DJChartOptions.LINE_STYLE_DASHED, DJChartOptions.LINE_STYLE_DOTTED, DJChartOptions.LINE_STYLE_DOUBLE).
 DJPie3DChartBuilder setLineWidth(float lineWidth)
          Sets the line width.
 DJPie3DChartBuilder setLink(DJHyperLink link)
          Sets the hyperlink.
 DJPie3DChartBuilder setOperation(byte operation)
          Sets the chart data operation (DJChart.CALCULATION_COUNT or DJChart.CALCULATION_SUM).
 DJPie3DChartBuilder setPadding(int padding)
          Sets the padding.
 DJPie3DChartBuilder setPosition(byte position)
          Sets the position (DJChartOptions.POSITION_FOOTER or DJChartOptions.POSITION_HEADER).
 DJPie3DChartBuilder setSeriesColors(List seriesColors)
          Set the specified series colors to the plot.
 DJPie3DChartBuilder setShowLegend(boolean showLegend)
          Sets the legend visibility.
 DJPie3DChartBuilder setSubtitle(String subtitle)
          Sets the subtitle.
 DJPie3DChartBuilder setSubtitle(StringExpression subtitleExpression)
          Sets the subtitle expression.
 DJPie3DChartBuilder setSubtitleColor(Color subtitleColor)
          Sets the subtitle color.
 DJPie3DChartBuilder setSubtitleFont(Font subtitleFont)
          Sets the subtitle font.
 DJPie3DChartBuilder setTheme(String theme)
          Sets the theme.
 DJPie3DChartBuilder setTitle(String title)
          Sets the title.
 DJPie3DChartBuilder setTitle(StringExpression titleExpression)
          Sets the title expression.
 DJPie3DChartBuilder setTitleColor(Color titleColor)
          Sets the title color.
 DJPie3DChartBuilder setTitleFont(Font titleFont)
          Sets the title font.
 DJPie3DChartBuilder setTitlePosition(byte titlePosition)
          Sets the title position (DJChartOptions.EDGE_TOP, DJChartOptions.EDGE_BOTTOM, DJChartOptions.EDGE_LEFT, DJChartOptions.EDGE_RIGHT).
 DJPie3DChartBuilder setWidth(int width)
          Sets the chart width.
 DJPie3DChartBuilder setX(int x)
          Sets the x position.
 DJPie3DChartBuilder setY(int y)
          Sets the y position.
 
Methods inherited from class ar.com.fdvs.dj.domain.chart.builder.AbstractChartBuilder
build
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DJPie3DChartBuilder

public DJPie3DChartBuilder()
Method Detail

setOperation

public DJPie3DChartBuilder setOperation(byte operation)
Sets the chart data operation (DJChart.CALCULATION_COUNT or DJChart.CALCULATION_SUM).

Parameters:
operation - the chart data operation

setLink

public DJPie3DChartBuilder setLink(DJHyperLink link)
Sets the hyperlink.

Parameters:
link - the hyperlink

setBackColor

public DJPie3DChartBuilder setBackColor(Color backColor)
Sets the background color.

Parameters:
backColor - the background color

setHeight

public DJPie3DChartBuilder setHeight(int height)
Sets the chart height.

Parameters:
height - the chart height

setWidth

public DJPie3DChartBuilder setWidth(int width)
Sets the chart width.

Parameters:
width - the chart width

setCentered

public DJPie3DChartBuilder setCentered(boolean centered)
Sets the centered.

Parameters:
centered - the centered

setPosition

public DJPie3DChartBuilder setPosition(byte position)
Sets the position (DJChartOptions.POSITION_FOOTER or DJChartOptions.POSITION_HEADER).

Parameters:
position - the position

setY

public DJPie3DChartBuilder setY(int y)
Sets the y position.

Parameters:
y - the y position

setX

public DJPie3DChartBuilder setX(int x)
Sets the x position.

Parameters:
y - the x position

setShowLegend

public DJPie3DChartBuilder setShowLegend(boolean showLegend)
Sets the legend visibility.

Parameters:
showLegend - the legend visibility

setTitleColor

public DJPie3DChartBuilder setTitleColor(Color titleColor)
Sets the title color.

Parameters:
titleColor - the title color

setSubtitleColor

public DJPie3DChartBuilder setSubtitleColor(Color subtitleColor)
Sets the subtitle color.

Parameters:
subtitleColor - the subtitle color

setLegendColor

public DJPie3DChartBuilder setLegendColor(Color legendColor)
Sets the legend color.

Parameters:
legendColor - the legend color

setLegendBackgroundColor

public DJPie3DChartBuilder setLegendBackgroundColor(Color legendBackgroundColor)
Sets the legend background color.

Parameters:
legendBackgroundColor - the legend background color

setTheme

public DJPie3DChartBuilder setTheme(String theme)
Sets the theme. Chart themes support to allow changing the overall appearance of charts generated with the build-in chart element

Parameters:
theme - the theme

setTitleFont

public DJPie3DChartBuilder setTitleFont(Font titleFont)
Sets the title font.

Parameters:
titleFont - the title font

setSubtitleFont

public DJPie3DChartBuilder setSubtitleFont(Font subtitleFont)
Sets the subtitle font.

Parameters:
subtitleFont - the subtitle font

setLegendFont

public DJPie3DChartBuilder setLegendFont(Font legendFont)
Sets the legend font.

Parameters:
legendFont - the legend font

setLegendPosition

public DJPie3DChartBuilder setLegendPosition(byte legendPosition)
Sets the legend position (DJChartOptions.EDGE_TOP, DJChartOptions.EDGE_BOTTOM, DJChartOptions.EDGE_LEFT, DJChartOptions.EDGE_RIGHT).

Parameters:
legendPosition - the legend position

setTitlePosition

public DJPie3DChartBuilder setTitlePosition(byte titlePosition)
Sets the title position (DJChartOptions.EDGE_TOP, DJChartOptions.EDGE_BOTTOM, DJChartOptions.EDGE_LEFT, DJChartOptions.EDGE_RIGHT).

Parameters:
titlePosition - the title position

setTitle

public DJPie3DChartBuilder setTitle(String title)
Sets the title.

Parameters:
title - the title

setTitle

public DJPie3DChartBuilder setTitle(StringExpression titleExpression)
Sets the title expression.

Parameters:
titleExpression - the title expression

setSubtitle

public DJPie3DChartBuilder setSubtitle(String subtitle)
Sets the subtitle.

Parameters:
subtitle - the subtitle

setSubtitle

public DJPie3DChartBuilder setSubtitle(StringExpression subtitleExpression)
Sets the subtitle expression.

Parameters:
subtitleExpression - the subtitle expression

setLineStyle

public DJPie3DChartBuilder setLineStyle(byte lineStyle)
Sets the line style (DJChartOptions.LINE_STYLE_SOLID, DJChartOptions.LINE_STYLE_DASHED, DJChartOptions.LINE_STYLE_DOTTED, DJChartOptions.LINE_STYLE_DOUBLE).

Parameters:
lineStyle - one of the line style constants in DJChartOptions class

setLineWidth

public DJPie3DChartBuilder setLineWidth(float lineWidth)
Sets the line width.

Parameters:
lineWidth - the line width

setLineColor

public DJPie3DChartBuilder setLineColor(Color lineColor)
Sets the line color.

Parameters:
lineColor - the line color

setPadding

public DJPie3DChartBuilder setPadding(int padding)
Sets the padding.

Parameters:
padding - the padding

setCustomizerClass

public DJPie3DChartBuilder setCustomizerClass(String customizerClass)
Sets a user specified chart customizer class name.

See Also:
JRChartCustomizer

setKey

public DJPie3DChartBuilder setKey(PropertyColumn key)
Sets the key column.

Parameters:
key - the key column

addSerie

public DJPie3DChartBuilder addSerie(AbstractColumn column)
Adds the specified serie column to the dataset.

Parameters:
column - the serie column

addSeriesColor

public DJPie3DChartBuilder addSeriesColor(Color color)
Adds the specified series color to the plot.

Parameters:
color - the series color

setSeriesColors

public DJPie3DChartBuilder setSeriesColors(List seriesColors)
Set the specified series colors to the plot.

Parameters:
seriesColors - the series colors

setCircular

public DJPie3DChartBuilder setCircular(boolean circular)
Sets the circular.

Parameters:
circular - the circular

setLabelFormat

public DJPie3DChartBuilder setLabelFormat(String labelFormat)
Sets the label format.

Parameters:
labelFormat - the label format

setLegendLabelFormat

public DJPie3DChartBuilder setLegendLabelFormat(String legendLabelFormat)
Sets the legend label format.

Parameters:
legendLabelFormat - the legend label format

setDepthFactor

public DJPie3DChartBuilder setDepthFactor(double depthFactor)
Sets the depth factor.

Parameters:
depthFactor - the depth factor

getChartType

protected byte getChartType()
Specified by:
getChartType in class AbstractChartBuilder


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