|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.base.JRBaseElement
net.sf.jasperreports.engine.design.JRDesignElement
net.sf.jasperreports.engine.design.JRDesignChart
public class JRDesignChart
| Field Summary | |
|---|---|
protected JRExpression |
anchorNameExpression
|
protected int |
bookmarkLevel
The bookmark level for the anchor associated with this chart. |
protected JRBox |
box
|
protected byte |
chartType
|
protected java.lang.String |
customizerClass
|
protected JRChartDataset |
dataset
|
protected JRGroup |
evaluationGroup
|
protected byte |
evaluationTime
|
protected JRExpression |
hyperlinkAnchorExpression
|
protected JRExpression |
hyperlinkPageExpression
|
protected JRExpression |
hyperlinkReferenceExpression
|
protected byte |
hyperlinkTarget
|
protected byte |
hyperlinkType
|
protected boolean |
isShowLegend
|
protected JRChartPlot |
plot
|
protected java.awt.Color |
subtitleColor
|
protected JRExpression |
subtitleExpression
|
protected JRFont |
subtitleFont
|
protected java.awt.Color |
titleColor
|
protected JRExpression |
titleExpression
|
protected JRFont |
titleFont
|
protected byte |
titlePosition
|
| Fields inherited from class net.sf.jasperreports.engine.base.JRBaseElement |
|---|
backcolor, elementGroup, forecolor, height, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, key, mode, positionType, printWhenExpression, printWhenGroupChanges, stretchType, width, x, y |
| Fields inherited from interface net.sf.jasperreports.engine.JRChart |
|---|
CHART_TYPE_AREA, CHART_TYPE_BAR, CHART_TYPE_BAR3D, CHART_TYPE_BUBBLE, CHART_TYPE_CANDLESTICK, CHART_TYPE_HIGHLOW, CHART_TYPE_LINE, CHART_TYPE_PIE, CHART_TYPE_PIE3D, CHART_TYPE_SCATTER, CHART_TYPE_STACKEDBAR, CHART_TYPE_STACKEDBAR3D, CHART_TYPE_TIMESERIES, CHART_TYPE_XYAREA, CHART_TYPE_XYBAR, CHART_TYPE_XYLINE, TITLE_POSITION_BOTTOM, TITLE_POSITION_LEFT, TITLE_POSITION_RIGHT, TITLE_POSITION_TOP |
| Fields inherited from interface net.sf.jasperreports.engine.JRElement |
|---|
MODE_OPAQUE, MODE_TRANSPARENT, POSITION_TYPE_FIX_RELATIVE_TO_BOTTOM, POSITION_TYPE_FIX_RELATIVE_TO_TOP, POSITION_TYPE_FLOAT, STRETCH_TYPE_NO_STRETCH, STRETCH_TYPE_RELATIVE_TO_BAND_HEIGHT, STRETCH_TYPE_RELATIVE_TO_TALLEST_OBJECT |
| Fields inherited from interface net.sf.jasperreports.engine.JRAnchor |
|---|
NO_BOOKMARK |
| Fields inherited from interface net.sf.jasperreports.engine.JRHyperlink |
|---|
HYPERLINK_TARGET_BLANK, HYPERLINK_TARGET_SELF, HYPERLINK_TYPE_LOCAL_ANCHOR, HYPERLINK_TYPE_LOCAL_PAGE, HYPERLINK_TYPE_NONE, HYPERLINK_TYPE_REFERENCE, HYPERLINK_TYPE_REMOTE_ANCHOR, HYPERLINK_TYPE_REMOTE_PAGE |
| Constructor Summary | |
|---|---|
JRDesignChart(byte chartType)
|
|
| Method Summary | |
|---|---|
void |
collectExpressions(JRExpressionCollector collector)
|
JRExpression |
getAnchorNameExpression()
Returns an expression whose value represents the anchor name. |
int |
getBookmarkLevel()
Returns the level of the bookmark corresponding to the anchor. |
JRBox |
getBox()
Gets the box around the element. |
byte |
getChartType()
Gets the chart type. |
JRChild |
getCopy(JRAbstractObjectFactory factory)
|
java.lang.String |
getCustomizerClass()
Gets a user specified chart customizer class name. |
JRChartDataset |
getDataset()
Gets the chart dataset. |
JRGroup |
getEvaluationGroup()
Gets the evaluation group for this chart (only applies when evaluation time is group). |
byte |
getEvaluationTime()
Returns the evaluation time for this chart. |
JRExpression |
getHyperlinkAnchorExpression()
Returns the expression whose value represents the anchor. |
JRExpression |
getHyperlinkPageExpression()
Returns an integer representing the page index of the link. |
JRExpression |
getHyperlinkReferenceExpression()
Returns the expression whose value represents the hyperlink reference. |
byte |
getHyperlinkTarget()
Retrieves the hyperlink target for the element. |
byte |
getHyperlinkType()
Retrieves the hyperlink type for the element. |
JRChartPlot |
getPlot()
Gets the chart plot. |
java.awt.Color |
getSubtitleColor()
|
JRExpression |
getSubtitleExpression()
Gets the expression whose evaluation will form the subtitle. |
JRFont |
getSubtitleFont()
|
java.awt.Color |
getTitleColor()
|
JRExpression |
getTitleExpression()
Gets the expression whose evaluation will form the title. |
JRFont |
getTitleFont()
|
byte |
getTitlePosition()
Gets the title position relative to the chart. |
boolean |
isShowLegend()
|
void |
setAnchorNameExpression(JRExpression anchorNameExpression)
|
void |
setBookmarkLevel(int bookmarkLevel)
Sets the boomark level for the anchor associated with this chart. |
void |
setBox(JRBox box)
|
void |
setChartType(byte chartType)
|
void |
setCustomizerClass(java.lang.String customizerClass)
Sets a user specified chart customizer class name. |
void |
setDataset(JRChartDataset ds)
|
void |
setEvaluationGroup(JRGroup group)
|
void |
setEvaluationTime(byte evaluationTime)
|
void |
setHyperlinkAnchorExpression(JRExpression hyperlinkAnchorExpression)
|
void |
setHyperlinkPageExpression(JRExpression hyperlinkPageExpression)
|
void |
setHyperlinkReferenceExpression(JRExpression hyperlinkReferenceExpression)
|
void |
setHyperlinkTarget(byte hyperlinkTarget)
|
void |
setHyperlinkType(byte hyperlinkType)
|
void |
setShowLegend(boolean isShowLegend)
|
void |
setSubtitleColor(java.awt.Color subtitleColor)
|
void |
setSubtitleExpression(JRExpression expression)
|
void |
setSubtitleFont(JRFont font)
|
void |
setTitleColor(java.awt.Color titleColor)
|
void |
setTitleExpression(JRExpression expression)
|
void |
setTitleFont(JRFont font)
|
void |
setTitlePosition(byte titlePosition)
Sets the title position relative to the chart. |
void |
writeXml(JRXmlWriter xmlWriter)
|
| Methods inherited from class net.sf.jasperreports.engine.design.JRDesignElement |
|---|
setElementGroup, setHeight, setKey, setPrintWhenExpression, setPrintWhenGroupChanges, setY |
| Methods inherited from class net.sf.jasperreports.engine.base.JRBaseElement |
|---|
getBackcolor, getElementGroup, getForecolor, getHeight, getKey, getMode, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getStretchType, getWidth, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sf.jasperreports.engine.JRElement |
|---|
getBackcolor, getElementGroup, getForecolor, getHeight, getKey, getMode, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getStretchType, getWidth, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX |
| Field Detail |
|---|
protected byte chartType
protected boolean isShowLegend
protected byte evaluationTime
protected byte hyperlinkType
protected byte hyperlinkTarget
protected byte titlePosition
protected java.awt.Color titleColor
protected java.awt.Color subtitleColor
protected JRBox box
protected JRFont titleFont
protected JRFont subtitleFont
protected java.lang.String customizerClass
protected JRGroup evaluationGroup
protected JRExpression titleExpression
protected JRExpression subtitleExpression
protected JRExpression anchorNameExpression
protected JRExpression hyperlinkReferenceExpression
protected JRExpression hyperlinkAnchorExpression
protected JRExpression hyperlinkPageExpression
protected JRChartDataset dataset
protected JRChartPlot plot
protected int bookmarkLevel
JRAnchor.getBookmarkLevel()| Constructor Detail |
|---|
public JRDesignChart(byte chartType)
| Method Detail |
|---|
public boolean isShowLegend()
isShowLegend in interface JRChartpublic void setShowLegend(boolean isShowLegend)
setShowLegend in interface JRChartpublic byte getEvaluationTime()
JRChart
getEvaluationTime in interface JRChartpublic void setEvaluationTime(byte evaluationTime)
public JRGroup getEvaluationGroup()
JRChart
getEvaluationGroup in interface JRChartpublic void setEvaluationGroup(JRGroup group)
public JRBox getBox()
JRChart
getBox in interface JRChartpublic void setBox(JRBox box)
public JRFont getTitleFont()
getTitleFont in interface JRChartpublic void setTitleFont(JRFont font)
public byte getTitlePosition()
JRChart
getTitlePosition in interface JRChartpublic void setTitlePosition(byte titlePosition)
JRChart
setTitlePosition in interface JRChartpublic java.awt.Color getTitleColor()
getTitleColor in interface JRChartpublic void setTitleColor(java.awt.Color titleColor)
setTitleColor in interface JRChartpublic JRFont getSubtitleFont()
getSubtitleFont in interface JRChartpublic void setSubtitleFont(JRFont font)
public java.awt.Color getSubtitleColor()
getSubtitleColor in interface JRChartpublic void setSubtitleColor(java.awt.Color subtitleColor)
setSubtitleColor in interface JRChartpublic byte getHyperlinkType()
JRHyperlink
getHyperlinkType in interface JRHyperlinkpublic void setHyperlinkType(byte hyperlinkType)
public byte getHyperlinkTarget()
JRHyperlink
getHyperlinkTarget in interface JRHyperlinkpublic void setHyperlinkTarget(byte hyperlinkTarget)
public JRExpression getTitleExpression()
JRChart
getTitleExpression in interface JRChartpublic void setTitleExpression(JRExpression expression)
public JRExpression getSubtitleExpression()
JRChart
getSubtitleExpression in interface JRChartpublic void setSubtitleExpression(JRExpression expression)
public JRExpression getAnchorNameExpression()
JRAnchor
getAnchorNameExpression in interface JRAnchorpublic void setAnchorNameExpression(JRExpression anchorNameExpression)
public JRExpression getHyperlinkReferenceExpression()
JRHyperlink
getHyperlinkReferenceExpression in interface JRHyperlinkpublic void setHyperlinkReferenceExpression(JRExpression hyperlinkReferenceExpression)
public JRExpression getHyperlinkAnchorExpression()
JRHyperlink
getHyperlinkAnchorExpression in interface JRHyperlinkpublic void setHyperlinkAnchorExpression(JRExpression hyperlinkAnchorExpression)
public JRExpression getHyperlinkPageExpression()
JRHyperlink
getHyperlinkPageExpression in interface JRHyperlinkpublic void setHyperlinkPageExpression(JRExpression hyperlinkPageExpression)
public JRChartDataset getDataset()
JRChart
getDataset in interface JRChartpublic JRChartPlot getPlot()
JRChart
getPlot in interface JRChartpublic byte getChartType()
JRChart
getChartType in interface JRChartpublic void setChartType(byte chartType)
public void setDataset(JRChartDataset ds)
public JRChild getCopy(JRAbstractObjectFactory factory)
getCopy in interface JRChildpublic void collectExpressions(JRExpressionCollector collector)
collectExpressions in interface JRElementpublic void writeXml(JRXmlWriter xmlWriter)
writeXml in interface JRChildpublic int getBookmarkLevel()
JRAnchor
getBookmarkLevel in interface JRAnchorNO_BOOKMARK if no bookmark should be created for this anchorpublic void setBookmarkLevel(int bookmarkLevel)
bookmarkLevel - the bookmark level (starting from 1)
or NO_BOOKMARK if no bookmark should be createdpublic java.lang.String getCustomizerClass()
JRChart
getCustomizerClass in interface JRChartJRChartCustomizerpublic void setCustomizerClass(java.lang.String customizerClass)
JRChartCustomizer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||