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