|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.fill.JRFillElement
net.sf.jasperreports.engine.fill.JRFillChart
public class JRFillChart
| Field Summary | |
|---|---|
protected JRChartCustomizer |
chartCustomizer
|
protected byte |
chartType
|
protected java.lang.String |
customizerClass
|
protected JRChartDataset |
dataset
|
protected JRGroup |
evaluationGroup
|
protected JRChartPlot |
plot
|
protected JRRenderable |
renderer
|
protected JRFont |
subtitleFont
|
protected JRFont |
titleFont
|
| Fields inherited from class net.sf.jasperreports.engine.fill.JRFillElement |
|---|
band, elementGroup, filler, parent, printWhenGroupChanges, template |
| 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 | |
|---|---|
protected |
JRFillChart(JRBaseFiller filler,
JRChart chart,
JRFillObjectFactory factory)
|
| Method Summary | |
|---|---|
void |
collectExpressions(JRExpressionCollector collector)
|
protected void |
copy(JRPrintImage printImage)
|
protected void |
evaluate(byte evaluation)
|
protected org.jfree.chart.JFreeChart |
evaluateAreaImage(byte evaluation)
|
protected org.jfree.chart.JFreeChart |
evaluateBar3DImage(byte evaluation)
|
protected org.jfree.chart.JFreeChart |
evaluateBarImage(byte evaluation)
|
protected org.jfree.chart.JFreeChart |
evaluateBubbleImage(byte evaluation)
|
protected org.jfree.chart.JFreeChart |
evaluateCandlestickImage(byte evaluation)
|
protected java.lang.Object |
evaluateExpression(JRExpression expression,
byte evaluation)
|
protected org.jfree.chart.JFreeChart |
evaluateHighLowImage(byte evaluation)
|
protected void |
evaluateImage(byte evaluation)
|
protected org.jfree.chart.JFreeChart |
evaluateLineImage(byte evaluation)
|
protected org.jfree.chart.JFreeChart |
evaluatePie3DImage(byte evaluation)
|
protected org.jfree.chart.JFreeChart |
evaluatePieImage(byte evaluation)
|
protected org.jfree.chart.JFreeChart |
evaluateScatterImage(byte evaluation)
|
protected org.jfree.chart.JFreeChart |
evaluateStackedBar3DImage(byte evaluation)
|
protected org.jfree.chart.JFreeChart |
evaluateStackedBarImage(byte evaluation)
|
protected org.jfree.chart.JFreeChart |
evaluateTimeSeriesImage(byte evaluation)
|
protected org.jfree.chart.JFreeChart |
evaluateXyAreaImage(byte evaluation)
|
protected org.jfree.chart.JFreeChart |
evaluateXYBarImage(byte evaluation)
|
protected org.jfree.chart.JFreeChart |
evaluateXyLineImage(byte evaluation)
|
protected JRPrintElement |
fill()
|
protected java.lang.String |
getAnchorName()
|
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. |
protected java.lang.String |
getHyperlinkAnchor()
|
JRExpression |
getHyperlinkAnchorExpression()
Returns the expression whose value represents the anchor. |
protected java.lang.Integer |
getHyperlinkPage()
|
JRExpression |
getHyperlinkPageExpression()
Returns an integer representing the page index of the link. |
protected java.lang.String |
getHyperlinkReference()
|
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. |
protected JRTemplateImage |
getJRTemplateImage()
|
JRChartPlot |
getPlot()
Gets the chart plot. |
protected JRRenderable |
getRenderer()
|
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()
|
protected boolean |
prepare(int availableStretchHeight,
boolean isOverflow)
|
protected void |
resolveElement(JRPrintElement element,
byte evaluation)
Resolves an element. |
protected void |
rewind()
|
void |
setShowLegend(boolean isShowLegend)
|
void |
setSubtitleColor(java.awt.Color subtitleColor)
|
void |
setTitleColor(java.awt.Color titleColor)
|
void |
setTitlePosition(byte titlePosition)
Sets the title position relative to the chart. |
void |
writeXml(JRXmlWriter writer)
The method is never called for fill charts |
| 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 JRFont titleFont
protected JRFont subtitleFont
protected JRGroup evaluationGroup
protected JRChartDataset dataset
protected JRChartPlot plot
protected JRRenderable renderer
protected java.lang.String customizerClass
protected JRChartCustomizer chartCustomizer
| Constructor Detail |
|---|
protected JRFillChart(JRBaseFiller filler,
JRChart chart,
JRFillObjectFactory factory)
| Method Detail |
|---|
public boolean isShowLegend()
isShowLegend in interface JRChartpublic void setShowLegend(boolean isShowLegend)
setShowLegend in interface JRChartpublic byte getEvaluationTime()
JRChart
getEvaluationTime in interface JRChartpublic JRGroup getEvaluationGroup()
JRChart
getEvaluationGroup in interface JRChartpublic JRBox getBox()
JRChart
getBox in interface JRChartpublic JRFont getTitleFont()
getTitleFont in interface JRChartpublic 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 java.awt.Color getSubtitleColor()
getSubtitleColor in interface JRChartpublic void setSubtitleColor(java.awt.Color subtitleColor)
setSubtitleColor in interface JRChartpublic JRExpression getTitleExpression()
JRChart
getTitleExpression in interface JRChartpublic JRExpression getSubtitleExpression()
JRChart
getSubtitleExpression in interface JRChartpublic byte getHyperlinkType()
JRHyperlink
getHyperlinkType in interface JRHyperlinkpublic byte getHyperlinkTarget()
JRHyperlink
getHyperlinkTarget in interface JRHyperlinkpublic JRExpression getAnchorNameExpression()
JRAnchor
getAnchorNameExpression in interface JRAnchorpublic JRExpression getHyperlinkReferenceExpression()
JRHyperlink
getHyperlinkReferenceExpression in interface JRHyperlinkpublic JRExpression getHyperlinkAnchorExpression()
JRHyperlink
getHyperlinkAnchorExpression in interface JRHyperlinkpublic JRExpression getHyperlinkPageExpression()
JRHyperlink
getHyperlinkPageExpression in interface JRHyperlinkpublic JRChartDataset getDataset()
JRChart
getDataset in interface JRChartpublic JRChartPlot getPlot()
JRChart
getPlot in interface JRChartprotected JRRenderable getRenderer()
protected java.lang.String getAnchorName()
protected java.lang.String getHyperlinkReference()
protected java.lang.String getHyperlinkAnchor()
protected java.lang.Integer getHyperlinkPage()
protected JRTemplateImage getJRTemplateImage()
protected java.lang.Object evaluateExpression(JRExpression expression,
byte evaluation)
throws JRException
JRExceptionprotected void rewind()
rewind in class JRFillElement
protected void evaluate(byte evaluation)
throws JRException
evaluate in class JRFillElementJRException
protected void evaluateImage(byte evaluation)
throws JRException
JRException
protected boolean prepare(int availableStretchHeight,
boolean isOverflow)
prepare in class JRFillElementprotected JRPrintElement fill()
fill in class JRFillElementprotected void copy(JRPrintImage printImage)
public byte getChartType()
JRChart
getChartType in interface JRChartpublic JRChild getCopy(JRAbstractObjectFactory factory)
getCopy in interface JRChildpublic void collectExpressions(JRExpressionCollector collector)
collectExpressions in interface JRElementpublic void writeXml(JRXmlWriter writer)
writeXml in interface JRChildwriter -
protected org.jfree.chart.JFreeChart evaluateAreaImage(byte evaluation)
throws JRException
JRException
protected org.jfree.chart.JFreeChart evaluateBar3DImage(byte evaluation)
throws JRException
JRException
protected org.jfree.chart.JFreeChart evaluateBarImage(byte evaluation)
throws JRException
JRException
protected org.jfree.chart.JFreeChart evaluateBubbleImage(byte evaluation)
throws JRException
JRException
protected org.jfree.chart.JFreeChart evaluateCandlestickImage(byte evaluation)
throws JRException
evaluation -
JRException
protected org.jfree.chart.JFreeChart evaluateHighLowImage(byte evaluation)
throws JRException
evaluation -
JRException
protected org.jfree.chart.JFreeChart evaluateLineImage(byte evaluation)
throws JRException
JRException
protected org.jfree.chart.JFreeChart evaluatePie3DImage(byte evaluation)
throws JRException
JRException
protected org.jfree.chart.JFreeChart evaluatePieImage(byte evaluation)
throws JRException
JRException
protected org.jfree.chart.JFreeChart evaluateScatterImage(byte evaluation)
throws JRException
JRException
protected org.jfree.chart.JFreeChart evaluateStackedBar3DImage(byte evaluation)
throws JRException
JRException
protected org.jfree.chart.JFreeChart evaluateStackedBarImage(byte evaluation)
throws JRException
JRException
protected org.jfree.chart.JFreeChart evaluateXyAreaImage(byte evaluation)
throws JRException
JRException
protected org.jfree.chart.JFreeChart evaluateXYBarImage(byte evaluation)
throws JRException
JRException
protected org.jfree.chart.JFreeChart evaluateXyLineImage(byte evaluation)
throws JRException
JRException
protected org.jfree.chart.JFreeChart evaluateTimeSeriesImage(byte evaluation)
throws JRException
JRException
protected void resolveElement(JRPrintElement element,
byte evaluation)
throws JRException
JRFillElement
resolveElement in class JRFillElementelement - the elementevaluation - the evaluation type
JRExceptionpublic int getBookmarkLevel()
JRAnchor
getBookmarkLevel in interface JRAnchorNO_BOOKMARK if no bookmark should be created for this anchorpublic java.lang.String getCustomizerClass()
JRChart
getCustomizerClass in interface JRChartJRChartCustomizer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||