|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectar.com.fdvs.dj.domain.DJBaseElement
ar.com.fdvs.dj.domain.chart.DJChartOptions
public class DJChartOptions
Field Summary | |
---|---|
static byte |
EDGE_BOTTOM
|
static byte |
EDGE_LEFT
|
static byte |
EDGE_RIGHT
|
static byte |
EDGE_TOP
|
static byte |
LINE_STYLE_DASHED
Constant useful for specifying dashed line style. |
static byte |
LINE_STYLE_DOTTED
Constant useful for specifying dotted line style. |
static byte |
LINE_STYLE_DOUBLE
Constant useful for specifying double line style. |
static byte |
LINE_STYLE_SOLID
Constant useful for specifying solid line style. |
static byte |
POSITION_FOOTER
|
static byte |
POSITION_HEADER
|
Fields inherited from interface ar.com.fdvs.dj.domain.entities.Entity |
---|
SERIAL_VERSION_UID |
Constructor Summary | |
---|---|
DJChartOptions()
|
Method Summary | |
---|---|
java.awt.Color |
getBackColor()
Returns the background color. |
java.lang.String |
getCustomizerClass()
Returns a user specified chart customizer class name. |
int |
getHeight()
Returns the chart height. |
java.awt.Color |
getLegendBackgroundColor()
Returns the legend background color. |
java.awt.Color |
getLegendColor()
Returns the legend color. |
Font |
getLegendFont()
Returns the legend font. |
java.lang.Byte |
getLegendPosition()
Returns the legend position (EDGE_TOP, EDGE_BOTTOM, EDGE_LEFT, EDGE_RIGHT). |
java.awt.Color |
getLineColor()
Returns the line color. |
java.lang.Byte |
getLineStyle()
Gets the line style (LINE_STYLE_SOLID, LINE_STYLE_DASHED, LINE_STYLE_DOTTED, LINE_STYLE_DOUBLE). |
java.lang.Float |
getLineWidth()
Returns the line width. |
java.lang.Integer |
getPadding()
Returns the padding. |
byte |
getPosition()
Returns the position (DJChartOptions.POSITION_FOOTER or DJChartOptions.POSITION_HEADER). |
java.lang.Boolean |
getShowLegend()
Returns the legend visibility. |
java.awt.Color |
getSubtitleColor()
Returns the subtitle color. |
StringExpression |
getSubtitleExpression()
Returns the subtitle expression. |
Font |
getSubtitleFont()
Returns the subtitle font. |
java.lang.String |
getTheme()
Returns the theme. |
java.awt.Color |
getTitleColor()
Returns the title color. |
StringExpression |
getTitleExpression()
Returns the title expression. |
Font |
getTitleFont()
Returns the title font. |
java.lang.Byte |
getTitlePosition()
Returns the title position (EDGE_TOP, EDGE_BOTTOM, EDGE_LEFT, EDGE_RIGHT). |
int |
getWidth()
Returns the chart width. |
int |
getX()
Returns the x position. |
int |
getY()
Returns the y position. |
boolean |
isCentered()
Returns the true if the chart is centered. |
void |
setBackColor(java.awt.Color backColor)
Sets the background color. |
void |
setCentered(boolean centered)
Sets the centered. |
void |
setCustomizerClass(java.lang.String customizerClass)
Sets a user specified chart customizer class name. |
void |
setHeight(int height)
Sets the chart height. |
void |
setLegendBackgroundColor(java.awt.Color legendBackgroundColor)
Sets the legend background color. |
void |
setLegendColor(java.awt.Color legendColor)
Sets the legend color. |
void |
setLegendFont(Font legendFont)
Sets the legend font. |
void |
setLegendPosition(byte legendPosition)
Sets the legend position (EDGE_TOP, EDGE_BOTTOM, EDGE_LEFT, EDGE_RIGHT). |
void |
setLineColor(java.awt.Color lineColor)
Sets the line color. |
void |
setLineStyle(byte lineStyle)
Sets the line style (LINE_STYLE_SOLID, LINE_STYLE_DASHED, LINE_STYLE_DOTTED, LINE_STYLE_DOUBLE). |
void |
setLineWidth(java.lang.Float lineWidth)
Sets the line width. |
void |
setPadding(java.lang.Integer padding)
Sets the padding. |
void |
setPosition(byte position)
Sets the position (DJChartOptions.POSITION_FOOTER or DJChartOptions.POSITION_HEADER). |
void |
setShowLegend(java.lang.Boolean showLegend)
Sets the legend visibility. |
void |
setSubtitleColor(java.awt.Color subtitleColor)
Sets the subtitle color. |
void |
setSubtitleExpression(StringExpression subtitleExpression)
Sets the subtitle expression. |
void |
setSubtitleFont(Font subtitleFont)
Sets the subtitle font. |
void |
setTheme(java.lang.String theme)
Sets the theme. |
void |
setTitleColor(java.awt.Color titleColor)
Sets the title color. |
void |
setTitleExpression(StringExpression titleExpression)
Sets the title expression. |
void |
setTitleFont(Font titleFont)
Sets the title font. |
void |
setTitlePosition(byte titlePosition)
Sets the title position (EDGE_TOP, EDGE_BOTTOM, EDGE_LEFT, EDGE_RIGHT). |
void |
setWidth(int width)
Sets the chart width. |
void |
setX(int x)
Sets the x position. |
void |
setY(int y)
Sets the y position. |
void |
transform(DynamicJasperDesign design,
java.lang.String name,
net.sf.jasperreports.engine.design.JRDesignChart chart,
int width)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final byte POSITION_FOOTER
public static final byte POSITION_HEADER
public static final byte EDGE_TOP
public static final byte EDGE_BOTTOM
public static final byte EDGE_LEFT
public static final byte EDGE_RIGHT
public static final byte LINE_STYLE_SOLID
public static final byte LINE_STYLE_DASHED
public static final byte LINE_STYLE_DOTTED
public static final byte LINE_STYLE_DOUBLE
Constructor Detail |
---|
public DJChartOptions()
Method Detail |
---|
public java.awt.Color getBackColor()
public void setBackColor(java.awt.Color backColor)
backColor
- the background colorpublic int getHeight()
public void setHeight(int height)
height
- the chart heightpublic int getWidth()
public void setWidth(int width)
width
- the chart widthpublic boolean isCentered()
public void setCentered(boolean centered)
centered
- the centeredpublic byte getPosition()
public void setPosition(byte position)
position
- the positionpublic int getY()
public void setY(int y)
y
- the y positionpublic int getX()
public void setX(int x)
y
- the x positionpublic java.lang.Boolean getShowLegend()
public void setShowLegend(java.lang.Boolean showLegend)
showLegend
- the legend visibilitypublic java.awt.Color getTitleColor()
public void setTitleColor(java.awt.Color titleColor)
titleColor
- the title colorpublic java.awt.Color getSubtitleColor()
public void setSubtitleColor(java.awt.Color subtitleColor)
subtitleColor
- the subtitle colorpublic java.awt.Color getLegendColor()
public void setLegendColor(java.awt.Color legendColor)
legendColor
- the legend colorpublic java.awt.Color getLegendBackgroundColor()
public void setLegendBackgroundColor(java.awt.Color legendBackgroundColor)
legendBackgroundColor
- the legend background colorpublic java.lang.String getTheme()
public void setTheme(java.lang.String theme)
theme
- the themepublic Font getTitleFont()
public void setTitleFont(Font titleFont)
titleFont
- the title fontpublic Font getSubtitleFont()
public void setSubtitleFont(Font subtitleFont)
subtitleFont
- the subtitle fontpublic Font getLegendFont()
public void setLegendFont(Font legendFont)
legendFont
- the legend fontpublic java.lang.Byte getLegendPosition()
public void setLegendPosition(byte legendPosition)
legendPosition
- the legend positionpublic java.lang.Byte getTitlePosition()
public void setTitlePosition(byte titlePosition)
titlePosition
- the title positionpublic StringExpression getTitleExpression()
public void setTitleExpression(StringExpression titleExpression)
titleExpression
- the title expressionpublic StringExpression getSubtitleExpression()
public void setSubtitleExpression(StringExpression subtitleExpression)
subtitleExpression
- the subtitle expressionpublic java.lang.Byte getLineStyle()
public void setLineStyle(byte lineStyle)
lineStyle
- one of the line style constants in this classpublic java.lang.Float getLineWidth()
public void setLineWidth(java.lang.Float lineWidth)
lineWidth
- the line widthpublic java.awt.Color getLineColor()
public void setLineColor(java.awt.Color lineColor)
lineColor
- the line colorpublic java.lang.Integer getPadding()
public void setPadding(java.lang.Integer padding)
padding
- the paddingpublic void setCustomizerClass(java.lang.String customizerClass)
JRChartCustomizer
public java.lang.String getCustomizerClass()
JRChartCustomizer
public void transform(DynamicJasperDesign design, java.lang.String name, net.sf.jasperreports.engine.design.JRDesignChart chart, int width)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |