|
||||||||||
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<DJAreaChartBuilder>
ar.com.fdvs.dj.domain.chart.builder.DJAreaChartBuilder
public class DJAreaChartBuilder
Field Summary |
---|
Fields inherited from class ar.com.fdvs.dj.domain.chart.builder.AbstractChartBuilder |
---|
chart |
Constructor Summary | |
---|---|
DJAreaChartBuilder()
|
Method Summary | |
---|---|
DJAreaChartBuilder |
addSerie(AbstractColumn column)
Adds the specified serie column to the dataset. |
DJAreaChartBuilder |
addSerie(AbstractColumn column,
java.lang.String label)
Adds the specified serie column to the dataset with custom label. |
DJAreaChartBuilder |
addSerie(AbstractColumn column,
StringExpression labelExpression)
Adds the specified serie column to the dataset with custom label. |
DJAreaChartBuilder |
addSeriesColor(java.awt.Color color)
Adds the specified series color to the plot. |
protected byte |
getChartType()
|
protected CategoryDataset |
getDataset()
|
protected AreaPlot |
getPlot()
|
DJAreaChartBuilder |
setBackColor(java.awt.Color backColor)
Sets the background color. |
DJAreaChartBuilder |
setCategory(PropertyColumn category)
Sets the category column. |
DJAreaChartBuilder |
setCategoryAxisFormat(DJAxisFormat categoryAxisFormat)
Sets the category axis format. |
DJAreaChartBuilder |
setCentered(boolean centered)
Sets the centered. |
DJAreaChartBuilder |
setCustomizerClass(java.lang.String customizerClass)
Sets a user specified chart customizer class name. |
DJAreaChartBuilder |
setHeight(int height)
Sets the chart height. |
DJAreaChartBuilder |
setLabelRotation(double labelRotation)
Sets the angle in degrees to rotate the data axis labels. |
DJAreaChartBuilder |
setLegendBackgroundColor(java.awt.Color legendBackgroundColor)
Sets the legend background color. |
DJAreaChartBuilder |
setLegendColor(java.awt.Color legendColor)
Sets the legend color. |
DJAreaChartBuilder |
setLegendFont(Font legendFont)
Sets the legend font. |
DJAreaChartBuilder |
setLegendPosition(byte legendPosition)
Sets the legend position (DJChartOptions.EDGE_TOP, DJChartOptions.EDGE_BOTTOM, DJChartOptions.EDGE_LEFT, DJChartOptions.EDGE_RIGHT). |
DJAreaChartBuilder |
setLineColor(java.awt.Color lineColor)
Sets the line color. |
DJAreaChartBuilder |
setLineStyle(byte lineStyle)
Sets the line style (DJChartOptions.LINE_STYLE_SOLID, DJChartOptions.LINE_STYLE_DASHED, DJChartOptions.LINE_STYLE_DOTTED, DJChartOptions.LINE_STYLE_DOUBLE). |
DJAreaChartBuilder |
setLineWidth(float lineWidth)
Sets the line width. |
DJAreaChartBuilder |
setLink(DJHyperLink link)
Sets the hyperlink. |
DJAreaChartBuilder |
setOperation(byte operation)
Sets the chart data operation (DJChart.CALCULATION_COUNT or DJChart.CALCULATION_SUM). |
DJAreaChartBuilder |
setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
Sets the plot orientation (PlotOrientation.HORIZONTAL or PlotOrientation.VERTICAL). |
DJAreaChartBuilder |
setPadding(int padding)
Sets the padding. |
DJAreaChartBuilder |
setPosition(byte position)
Sets the position (DJChartOptions.POSITION_FOOTER or DJChartOptions.POSITION_HEADER). |
DJAreaChartBuilder |
setSeriesColors(java.util.List seriesColors)
Set the specified series colors to the plot. |
DJAreaChartBuilder |
setShowLegend(boolean showLegend)
Sets the legend visibility. |
DJAreaChartBuilder |
setSubtitle(java.lang.String subtitle)
Sets the subtitle. |
DJAreaChartBuilder |
setSubtitle(StringExpression subtitleExpression)
Sets the subtitle expression. |
DJAreaChartBuilder |
setSubtitleColor(java.awt.Color subtitleColor)
Sets the subtitle color. |
DJAreaChartBuilder |
setSubtitleFont(Font subtitleFont)
Sets the subtitle font. |
DJAreaChartBuilder |
setTheme(java.lang.String theme)
Sets the theme. |
DJAreaChartBuilder |
setTitle(java.lang.String title)
Sets the title. |
DJAreaChartBuilder |
setTitle(StringExpression titleExpression)
Sets the title expression. |
DJAreaChartBuilder |
setTitleColor(java.awt.Color titleColor)
Sets the title color. |
DJAreaChartBuilder |
setTitleFont(Font titleFont)
Sets the title font. |
DJAreaChartBuilder |
setTitlePosition(byte titlePosition)
Sets the title position (DJChartOptions.EDGE_TOP, DJChartOptions.EDGE_BOTTOM, DJChartOptions.EDGE_LEFT, DJChartOptions.EDGE_RIGHT). |
DJAreaChartBuilder |
setUseSeriesAsCategory(boolean useSeriesAsCategory)
|
DJAreaChartBuilder |
setValueAxisFormat(DJAxisFormat valueAxisFormat)
Sets the value axis format. |
DJAreaChartBuilder |
setWidth(int width)
Sets the chart width. |
DJAreaChartBuilder |
setX(int x)
Sets the x position. |
DJAreaChartBuilder |
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 DJAreaChartBuilder()
Method Detail |
---|
public DJAreaChartBuilder setOperation(byte operation)
setOperation
in class AbstractChartBuilder<DJAreaChartBuilder>
operation
- the chart data operationpublic DJAreaChartBuilder setLink(DJHyperLink link)
setLink
in class AbstractChartBuilder<DJAreaChartBuilder>
link
- the hyperlinkpublic DJAreaChartBuilder setBackColor(java.awt.Color backColor)
setBackColor
in class AbstractChartBuilder<DJAreaChartBuilder>
backColor
- the background colorpublic DJAreaChartBuilder setHeight(int height)
setHeight
in class AbstractChartBuilder<DJAreaChartBuilder>
height
- the chart heightpublic DJAreaChartBuilder setWidth(int width)
setWidth
in class AbstractChartBuilder<DJAreaChartBuilder>
width
- the chart widthpublic DJAreaChartBuilder setCentered(boolean centered)
setCentered
in class AbstractChartBuilder<DJAreaChartBuilder>
centered
- the centeredpublic DJAreaChartBuilder setPosition(byte position)
setPosition
in class AbstractChartBuilder<DJAreaChartBuilder>
position
- the positionpublic DJAreaChartBuilder setY(int y)
setY
in class AbstractChartBuilder<DJAreaChartBuilder>
y
- the y positionpublic DJAreaChartBuilder setX(int x)
setX
in class AbstractChartBuilder<DJAreaChartBuilder>
y
- the x positionpublic DJAreaChartBuilder setShowLegend(boolean showLegend)
setShowLegend
in class AbstractChartBuilder<DJAreaChartBuilder>
showLegend
- the legend visibilitypublic DJAreaChartBuilder setTitleColor(java.awt.Color titleColor)
setTitleColor
in class AbstractChartBuilder<DJAreaChartBuilder>
titleColor
- the title colorpublic DJAreaChartBuilder setSubtitleColor(java.awt.Color subtitleColor)
setSubtitleColor
in class AbstractChartBuilder<DJAreaChartBuilder>
subtitleColor
- the subtitle colorpublic DJAreaChartBuilder setLegendColor(java.awt.Color legendColor)
setLegendColor
in class AbstractChartBuilder<DJAreaChartBuilder>
legendColor
- the legend colorpublic DJAreaChartBuilder setLegendBackgroundColor(java.awt.Color legendBackgroundColor)
setLegendBackgroundColor
in class AbstractChartBuilder<DJAreaChartBuilder>
legendBackgroundColor
- the legend background colorpublic DJAreaChartBuilder setTheme(java.lang.String theme)
setTheme
in class AbstractChartBuilder<DJAreaChartBuilder>
theme
- the themepublic DJAreaChartBuilder setTitleFont(Font titleFont)
setTitleFont
in class AbstractChartBuilder<DJAreaChartBuilder>
titleFont
- the title fontpublic DJAreaChartBuilder setSubtitleFont(Font subtitleFont)
setSubtitleFont
in class AbstractChartBuilder<DJAreaChartBuilder>
subtitleFont
- the subtitle fontpublic DJAreaChartBuilder setLegendFont(Font legendFont)
setLegendFont
in class AbstractChartBuilder<DJAreaChartBuilder>
legendFont
- the legend fontpublic DJAreaChartBuilder setLegendPosition(byte legendPosition)
setLegendPosition
in class AbstractChartBuilder<DJAreaChartBuilder>
legendPosition
- the legend positionpublic DJAreaChartBuilder setTitlePosition(byte titlePosition)
setTitlePosition
in class AbstractChartBuilder<DJAreaChartBuilder>
titlePosition
- the title positionpublic DJAreaChartBuilder setTitle(java.lang.String title)
setTitle
in class AbstractChartBuilder<DJAreaChartBuilder>
title
- the titlepublic DJAreaChartBuilder setTitle(StringExpression titleExpression)
setTitle
in class AbstractChartBuilder<DJAreaChartBuilder>
titleExpression
- the title expressionpublic DJAreaChartBuilder setSubtitle(java.lang.String subtitle)
setSubtitle
in class AbstractChartBuilder<DJAreaChartBuilder>
subtitle
- the subtitlepublic DJAreaChartBuilder setSubtitle(StringExpression subtitleExpression)
setSubtitle
in class AbstractChartBuilder<DJAreaChartBuilder>
subtitleExpression
- the subtitle expressionpublic DJAreaChartBuilder setLineStyle(byte lineStyle)
setLineStyle
in class AbstractChartBuilder<DJAreaChartBuilder>
lineStyle
- one of the line style constants in DJChartOptions classpublic DJAreaChartBuilder setLineWidth(float lineWidth)
setLineWidth
in class AbstractChartBuilder<DJAreaChartBuilder>
lineWidth
- the line widthpublic DJAreaChartBuilder setLineColor(java.awt.Color lineColor)
setLineColor
in class AbstractChartBuilder<DJAreaChartBuilder>
lineColor
- the line colorpublic DJAreaChartBuilder setPadding(int padding)
setPadding
in class AbstractChartBuilder<DJAreaChartBuilder>
padding
- the paddingpublic DJAreaChartBuilder setCustomizerClass(java.lang.String customizerClass)
setCustomizerClass
in class AbstractChartBuilder<DJAreaChartBuilder>
JRChartCustomizer
public DJAreaChartBuilder setCategory(PropertyColumn category)
setCategory
in class AbstractChartBuilder<DJAreaChartBuilder>
category
- the category columnpublic DJAreaChartBuilder addSerie(AbstractColumn column)
addSerie
in class AbstractChartBuilder<DJAreaChartBuilder>
column
- the serie columnpublic DJAreaChartBuilder addSerie(AbstractColumn column, java.lang.String label)
column
- the serie columnlabel
- column the custom labelpublic DJAreaChartBuilder addSerie(AbstractColumn column, StringExpression labelExpression)
column
- the serie columnlabel
- column the custom labelpublic DJAreaChartBuilder setUseSeriesAsCategory(boolean useSeriesAsCategory)
public DJAreaChartBuilder setLabelRotation(double labelRotation)
labelRotation
- the label rotationpublic DJAreaChartBuilder setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
orientation
- the plot orientationpublic DJAreaChartBuilder addSeriesColor(java.awt.Color color)
addSeriesColor
in class AbstractChartBuilder<DJAreaChartBuilder>
color
- the series colorpublic DJAreaChartBuilder setSeriesColors(java.util.List seriesColors)
setSeriesColors
in class AbstractChartBuilder<DJAreaChartBuilder>
seriesColors
- the series colorspublic DJAreaChartBuilder setCategoryAxisFormat(DJAxisFormat categoryAxisFormat)
categoryAxisFormat
- the category axis formatpublic DJAreaChartBuilder setValueAxisFormat(DJAxisFormat valueAxisFormat)
valueAxisFormat
- the value axis formatprotected CategoryDataset getDataset()
getDataset
in class AbstractChartBuilder<DJAreaChartBuilder>
protected AreaPlot getPlot()
getPlot
in class AbstractChartBuilder<DJAreaChartBuilder>
protected byte getChartType()
getChartType
in class AbstractChartBuilder<DJAreaChartBuilder>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |