|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectar.com.fdvs.dj.domain.chart.builder.AbstractChartBuilder
ar.com.fdvs.dj.domain.chart.builder.DJPieChartBuilder
public class DJPieChartBuilder
Field Summary |
---|
Fields inherited from class ar.com.fdvs.dj.domain.chart.builder.AbstractChartBuilder |
---|
chart |
Constructor Summary | |
---|---|
DJPieChartBuilder()
|
Method Summary | |
---|---|
DJPieChartBuilder |
addSerie(AbstractColumn column)
Adds the specified serie column to the dataset. |
DJPieChartBuilder |
addSeriesColor(java.awt.Color color)
Adds the specified series color to the plot. |
protected byte |
getChartType()
|
protected PieDataset |
getDataset()
|
protected PiePlot |
getPlot()
|
DJPieChartBuilder |
setBackColor(java.awt.Color backColor)
Sets the background color. |
protected DJPieChartBuilder |
setCategory(PropertyColumn key)
Allows AbstractChartBuilder to set the key column |
DJPieChartBuilder |
setCentered(boolean centered)
Sets the centered. |
DJPieChartBuilder |
setCircular(boolean circular)
Sets the circular. |
DJPieChartBuilder |
setCustomizerClass(java.lang.String customizerClass)
Sets a user specified chart customizer class name. |
DJPieChartBuilder |
setHeight(int height)
Sets the chart height. |
DJPieChartBuilder |
setKey(PropertyColumn key)
Sets the key column. |
DJPieChartBuilder |
setLabelFormat(java.lang.String labelFormat)
Sets the label format. |
DJPieChartBuilder |
setLegendBackgroundColor(java.awt.Color legendBackgroundColor)
Sets the legend background color. |
DJPieChartBuilder |
setLegendColor(java.awt.Color legendColor)
Sets the legend color. |
DJPieChartBuilder |
setLegendFont(Font legendFont)
Sets the legend font. |
DJPieChartBuilder |
setLegendLabelFormat(java.lang.String legendLabelFormat)
Sets the legend label format. |
DJPieChartBuilder |
setLegendPosition(byte legendPosition)
Sets the legend position (DJChartOptions.EDGE_TOP, DJChartOptions.EDGE_BOTTOM, DJChartOptions.EDGE_LEFT, DJChartOptions.EDGE_RIGHT). |
DJPieChartBuilder |
setLineColor(java.awt.Color lineColor)
Sets the line color. |
DJPieChartBuilder |
setLineStyle(byte lineStyle)
Sets the line style (DJChartOptions.LINE_STYLE_SOLID, DJChartOptions.LINE_STYLE_DASHED, DJChartOptions.LINE_STYLE_DOTTED, DJChartOptions.LINE_STYLE_DOUBLE). |
DJPieChartBuilder |
setLineWidth(float lineWidth)
Sets the line width. |
DJPieChartBuilder |
setLink(DJHyperLink link)
Sets the hyperlink. |
DJPieChartBuilder |
setOperation(byte operation)
Sets the chart data operation (DJChart.CALCULATION_COUNT or DJChart.CALCULATION_SUM). |
DJPieChartBuilder |
setPadding(int padding)
Sets the padding. |
DJPieChartBuilder |
setPosition(byte position)
Sets the position (DJChartOptions.POSITION_FOOTER or DJChartOptions.POSITION_HEADER). |
DJPieChartBuilder |
setSeriesColors(java.util.List seriesColors)
Set the specified series colors to the plot. |
DJPieChartBuilder |
setShowLegend(boolean showLegend)
Sets the legend visibility. |
DJPieChartBuilder |
setSubtitle(java.lang.String subtitle)
Sets the subtitle. |
DJPieChartBuilder |
setSubtitle(StringExpression subtitleExpression)
Sets the subtitle expression. |
DJPieChartBuilder |
setSubtitleColor(java.awt.Color subtitleColor)
Sets the subtitle color. |
DJPieChartBuilder |
setSubtitleFont(Font subtitleFont)
Sets the subtitle font. |
DJPieChartBuilder |
setTheme(java.lang.String theme)
Sets the theme. |
DJPieChartBuilder |
setTitle(java.lang.String title)
Sets the title. |
DJPieChartBuilder |
setTitle(StringExpression titleExpression)
Sets the title expression. |
DJPieChartBuilder |
setTitleColor(java.awt.Color titleColor)
Sets the title color. |
DJPieChartBuilder |
setTitleFont(Font titleFont)
Sets the title font. |
DJPieChartBuilder |
setTitlePosition(byte titlePosition)
Sets the title position (DJChartOptions.EDGE_TOP, DJChartOptions.EDGE_BOTTOM, DJChartOptions.EDGE_LEFT, DJChartOptions.EDGE_RIGHT). |
DJPieChartBuilder |
setWidth(int width)
Sets the chart width. |
DJPieChartBuilder |
setX(int x)
Sets the x position. |
DJPieChartBuilder |
setY(int y)
Sets the y position. |
Methods inherited from class ar.com.fdvs.dj.domain.chart.builder.AbstractChartBuilder |
---|
build, setChartOptions, setColumnGroup |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DJPieChartBuilder()
Method Detail |
---|
public DJPieChartBuilder setOperation(byte operation)
setOperation
in class AbstractChartBuilder
operation
- the chart data operationpublic DJPieChartBuilder setLink(DJHyperLink link)
setLink
in class AbstractChartBuilder
link
- the hyperlinkpublic DJPieChartBuilder setBackColor(java.awt.Color backColor)
setBackColor
in class AbstractChartBuilder
backColor
- the background colorpublic DJPieChartBuilder setHeight(int height)
setHeight
in class AbstractChartBuilder
height
- the chart heightpublic DJPieChartBuilder setWidth(int width)
setWidth
in class AbstractChartBuilder
width
- the chart widthpublic DJPieChartBuilder setCentered(boolean centered)
setCentered
in class AbstractChartBuilder
centered
- the centeredpublic DJPieChartBuilder setPosition(byte position)
setPosition
in class AbstractChartBuilder
position
- the positionpublic DJPieChartBuilder setY(int y)
setY
in class AbstractChartBuilder
y
- the y positionpublic DJPieChartBuilder setX(int x)
setX
in class AbstractChartBuilder
y
- the x positionpublic DJPieChartBuilder setShowLegend(boolean showLegend)
setShowLegend
in class AbstractChartBuilder
showLegend
- the legend visibilitypublic DJPieChartBuilder setTitleColor(java.awt.Color titleColor)
setTitleColor
in class AbstractChartBuilder
titleColor
- the title colorpublic DJPieChartBuilder setSubtitleColor(java.awt.Color subtitleColor)
setSubtitleColor
in class AbstractChartBuilder
subtitleColor
- the subtitle colorpublic DJPieChartBuilder setLegendColor(java.awt.Color legendColor)
setLegendColor
in class AbstractChartBuilder
legendColor
- the legend colorpublic DJPieChartBuilder setLegendBackgroundColor(java.awt.Color legendBackgroundColor)
setLegendBackgroundColor
in class AbstractChartBuilder
legendBackgroundColor
- the legend background colorpublic DJPieChartBuilder setTheme(java.lang.String theme)
setTheme
in class AbstractChartBuilder
theme
- the themepublic DJPieChartBuilder setTitleFont(Font titleFont)
setTitleFont
in class AbstractChartBuilder
titleFont
- the title fontpublic DJPieChartBuilder setSubtitleFont(Font subtitleFont)
setSubtitleFont
in class AbstractChartBuilder
subtitleFont
- the subtitle fontpublic DJPieChartBuilder setLegendFont(Font legendFont)
setLegendFont
in class AbstractChartBuilder
legendFont
- the legend fontpublic DJPieChartBuilder setLegendPosition(byte legendPosition)
setLegendPosition
in class AbstractChartBuilder
legendPosition
- the legend positionpublic DJPieChartBuilder setTitlePosition(byte titlePosition)
setTitlePosition
in class AbstractChartBuilder
titlePosition
- the title positionpublic DJPieChartBuilder setTitle(java.lang.String title)
setTitle
in class AbstractChartBuilder
title
- the titlepublic DJPieChartBuilder setTitle(StringExpression titleExpression)
setTitle
in class AbstractChartBuilder
titleExpression
- the title expressionpublic DJPieChartBuilder setSubtitle(java.lang.String subtitle)
setSubtitle
in class AbstractChartBuilder
subtitle
- the subtitlepublic DJPieChartBuilder setSubtitle(StringExpression subtitleExpression)
setSubtitle
in class AbstractChartBuilder
subtitleExpression
- the subtitle expressionpublic DJPieChartBuilder setLineStyle(byte lineStyle)
setLineStyle
in class AbstractChartBuilder
lineStyle
- one of the line style constants in DJChartOptions classpublic DJPieChartBuilder setLineWidth(float lineWidth)
setLineWidth
in class AbstractChartBuilder
lineWidth
- the line widthpublic DJPieChartBuilder setLineColor(java.awt.Color lineColor)
setLineColor
in class AbstractChartBuilder
lineColor
- the line colorpublic DJPieChartBuilder setPadding(int padding)
setPadding
in class AbstractChartBuilder
padding
- the paddingpublic DJPieChartBuilder setCustomizerClass(java.lang.String customizerClass)
setCustomizerClass
in class AbstractChartBuilder
JRChartCustomizer
protected DJPieChartBuilder setCategory(PropertyColumn key)
setCategory
in class AbstractChartBuilder
public DJPieChartBuilder setKey(PropertyColumn key)
key
- the key columnpublic DJPieChartBuilder addSerie(AbstractColumn column)
addSerie
in class AbstractChartBuilder
column
- the serie columnpublic DJPieChartBuilder addSeriesColor(java.awt.Color color)
addSeriesColor
in class AbstractChartBuilder
color
- the series colorpublic DJPieChartBuilder setSeriesColors(java.util.List seriesColors)
setSeriesColors
in class AbstractChartBuilder
seriesColors
- the series colorspublic DJPieChartBuilder setCircular(boolean circular)
circular
- the circularpublic DJPieChartBuilder setLabelFormat(java.lang.String labelFormat)
labelFormat
- the label formatpublic DJPieChartBuilder setLegendLabelFormat(java.lang.String legendLabelFormat)
legendLabelFormat
- the legend label formatprotected PieDataset getDataset()
getDataset
in class AbstractChartBuilder
protected PiePlot getPlot()
getPlot
in class AbstractChartBuilder
protected byte getChartType()
getChartType
in class AbstractChartBuilder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |