|
|||||||||||
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
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 JRChart
public void setShowLegend(boolean isShowLegend)
setShowLegend
in interface JRChart
public byte getEvaluationTime()
JRChart
getEvaluationTime
in interface JRChart
public JRGroup getEvaluationGroup()
JRChart
getEvaluationGroup
in interface JRChart
public JRBox getBox()
JRChart
getBox
in interface JRChart
public JRFont getTitleFont()
getTitleFont
in interface JRChart
public byte getTitlePosition()
JRChart
getTitlePosition
in interface JRChart
public void setTitlePosition(byte titlePosition)
JRChart
setTitlePosition
in interface JRChart
public java.awt.Color getTitleColor()
getTitleColor
in interface JRChart
public void setTitleColor(java.awt.Color titleColor)
setTitleColor
in interface JRChart
public JRFont getSubtitleFont()
getSubtitleFont
in interface JRChart
public java.awt.Color getSubtitleColor()
getSubtitleColor
in interface JRChart
public void setSubtitleColor(java.awt.Color subtitleColor)
setSubtitleColor
in interface JRChart
public JRExpression getTitleExpression()
JRChart
getTitleExpression
in interface JRChart
public JRExpression getSubtitleExpression()
JRChart
getSubtitleExpression
in interface JRChart
public byte getHyperlinkType()
JRHyperlink
getHyperlinkType
in interface JRHyperlink
public byte getHyperlinkTarget()
JRHyperlink
getHyperlinkTarget
in interface JRHyperlink
public JRExpression getAnchorNameExpression()
JRAnchor
getAnchorNameExpression
in interface JRAnchor
public JRExpression getHyperlinkReferenceExpression()
JRHyperlink
getHyperlinkReferenceExpression
in interface JRHyperlink
public JRExpression getHyperlinkAnchorExpression()
JRHyperlink
getHyperlinkAnchorExpression
in interface JRHyperlink
public JRExpression getHyperlinkPageExpression()
JRHyperlink
getHyperlinkPageExpression
in interface JRHyperlink
public JRChartDataset getDataset()
JRChart
getDataset
in interface JRChart
public JRChartPlot getPlot()
JRChart
getPlot
in interface JRChart
protected 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
JRException
protected void rewind()
rewind
in class JRFillElement
protected void evaluate(byte evaluation) throws JRException
evaluate
in class JRFillElement
JRException
protected void evaluateImage(byte evaluation) throws JRException
JRException
protected boolean prepare(int availableStretchHeight, boolean isOverflow)
prepare
in class JRFillElement
protected JRPrintElement fill()
fill
in class JRFillElement
protected void copy(JRPrintImage printImage)
public byte getChartType()
JRChart
getChartType
in interface JRChart
public JRChild getCopy(JRAbstractObjectFactory factory)
getCopy
in interface JRChild
public void collectExpressions(JRExpressionCollector collector)
collectExpressions
in interface JRElement
public void writeXml(JRXmlWriter writer)
writeXml
in interface JRChild
writer
- 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 JRFillElement
element
- the elementevaluation
- the evaluation type
JRException
public int getBookmarkLevel()
JRAnchor
getBookmarkLevel
in interface JRAnchor
NO_BOOKMARK
if no bookmark should be created for this anchorpublic java.lang.String getCustomizerClass()
JRChart
getCustomizerClass
in interface JRChart
JRChartCustomizer
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |