|
|||||||||||
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 JRFillChartDataset |
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, expressionEvaluator, 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)
|
JRCloneable |
createClone(JRFillCloneFactory factory)
Creates a working clone of itself. |
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 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. |
byte |
getBorder()
Gets the default border pen size (can be overwritten by individual settings). |
java.awt.Color |
getBorderColor()
Gets the default border color (can be overwritten by individual settings). |
byte |
getBottomBorder()
|
java.awt.Color |
getBottomBorderColor()
|
int |
getBottomPadding()
|
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()
|
byte |
getLeftBorder()
|
java.awt.Color |
getLeftBorderColor()
|
int |
getLeftPadding()
|
java.lang.Byte |
getOwnBorder()
|
java.awt.Color |
getOwnBorderColor()
|
java.lang.Byte |
getOwnBottomBorder()
|
java.awt.Color |
getOwnBottomBorderColor()
|
java.lang.Integer |
getOwnBottomPadding()
|
java.lang.Byte |
getOwnLeftBorder()
|
java.awt.Color |
getOwnLeftBorderColor()
|
java.lang.Integer |
getOwnLeftPadding()
|
java.lang.Integer |
getOwnPadding()
|
java.lang.Byte |
getOwnRightBorder()
|
java.awt.Color |
getOwnRightBorderColor()
|
java.lang.Integer |
getOwnRightPadding()
|
java.lang.Byte |
getOwnTopBorder()
Gets the top border pen size (if the default value was overwritten). |
java.awt.Color |
getOwnTopBorderColor()
Gets the top border color (if the default value was overwritten). |
java.lang.Integer |
getOwnTopPadding()
|
int |
getPadding()
Gets the default padding in pixels (can be overwritten by individual settings). |
JRChartPlot |
getPlot()
Gets the chart plot. |
protected JRRenderable |
getRenderer()
|
byte |
getRightBorder()
|
java.awt.Color |
getRightBorderColor()
|
int |
getRightPadding()
|
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. |
byte |
getTopBorder()
Gets the top border pen size. |
java.awt.Color |
getTopBorderColor()
Gets the top border color. |
int |
getTopPadding()
|
boolean |
isShowLegend()
|
protected boolean |
prepare(int availableStretchHeight,
boolean isOverflow)
|
protected void |
resolveElement(JRPrintElement element,
byte evaluation)
Resolves an element. |
protected void |
rewind()
|
void |
setBorder(byte border)
Sets the default border pen size (can be overwritten by individual settings). |
void |
setBorder(java.lang.Byte border)
|
void |
setBorderColor(java.awt.Color borderColor)
Sets the default border color (can be overwritten by individual settings). |
void |
setBottomBorder(byte bottomBorder)
|
void |
setBottomBorder(java.lang.Byte bottomBorder)
|
void |
setBottomBorderColor(java.awt.Color bottomBorderColor)
|
void |
setBottomPadding(int bottomPadding)
|
void |
setBottomPadding(java.lang.Integer bottomPadding)
|
void |
setLeftBorder(byte leftBorder)
|
void |
setLeftBorder(java.lang.Byte leftBorder)
|
void |
setLeftBorderColor(java.awt.Color leftBorderColor)
|
void |
setLeftPadding(int leftPadding)
|
void |
setLeftPadding(java.lang.Integer leftPadding)
|
void |
setPadding(int padding)
Sets the default padding in pixels (can be overwritten by individual settings). |
void |
setPadding(java.lang.Integer padding)
|
void |
setRightBorder(byte rightBorder)
|
void |
setRightBorder(java.lang.Byte rightBorder)
|
void |
setRightBorderColor(java.awt.Color rightBorderColor)
|
void |
setRightPadding(int rightPadding)
|
void |
setRightPadding(java.lang.Integer rightPadding)
|
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 |
setTopBorder(byte topBorder)
Sets the top border pen size. |
void |
setTopBorder(java.lang.Byte topBorder)
|
void |
setTopBorderColor(java.awt.Color topBorderColor)
Sets the top border color. |
void |
setTopPadding(int topPadding)
|
void |
setTopPadding(java.lang.Integer topPadding)
|
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, getOwnBackcolor, getOwnForecolor, getOwnMode, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getStretchType, getWidth, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX |
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer |
getDefaultStyleProvider, getStyle |
Field Detail |
protected byte chartType
protected JRFont titleFont
protected JRFont subtitleFont
protected JRGroup evaluationGroup
protected JRFillChartDataset 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 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
public byte getBorder()
JRBox
getBorder
in interface JRBox
public java.lang.Byte getOwnBorder()
getOwnBorder
in interface JRBox
public void setBorder(byte border)
JRBox
setBorder
in interface JRBox
public void setBorder(java.lang.Byte border)
setBorder
in interface JRBox
public java.awt.Color getBorderColor()
JRBox
getBorderColor
in interface JRBox
public java.awt.Color getOwnBorderColor()
getOwnBorderColor
in interface JRBox
public void setBorderColor(java.awt.Color borderColor)
JRBox
setBorderColor
in interface JRBox
public int getPadding()
JRBox
getPadding
in interface JRBox
public java.lang.Integer getOwnPadding()
getOwnPadding
in interface JRBox
public void setPadding(int padding)
JRBox
setPadding
in interface JRBox
public void setPadding(java.lang.Integer padding)
setPadding
in interface JRBox
public byte getTopBorder()
JRBox
getTopBorder
in interface JRBox
public java.lang.Byte getOwnTopBorder()
JRBox
getOwnTopBorder
in interface JRBox
public void setTopBorder(byte topBorder)
JRBox
setTopBorder
in interface JRBox
public void setTopBorder(java.lang.Byte topBorder)
setTopBorder
in interface JRBox
public java.awt.Color getTopBorderColor()
JRBox
getTopBorderColor
in interface JRBox
public java.awt.Color getOwnTopBorderColor()
JRBox
getOwnTopBorderColor
in interface JRBox
public void setTopBorderColor(java.awt.Color topBorderColor)
JRBox
setTopBorderColor
in interface JRBox
public int getTopPadding()
getTopPadding
in interface JRBox
public java.lang.Integer getOwnTopPadding()
getOwnTopPadding
in interface JRBox
public void setTopPadding(int topPadding)
setTopPadding
in interface JRBox
public void setTopPadding(java.lang.Integer topPadding)
setTopPadding
in interface JRBox
public byte getLeftBorder()
getLeftBorder
in interface JRBox
public java.lang.Byte getOwnLeftBorder()
getOwnLeftBorder
in interface JRBox
public void setLeftBorder(byte leftBorder)
setLeftBorder
in interface JRBox
public void setLeftBorder(java.lang.Byte leftBorder)
setLeftBorder
in interface JRBox
public java.awt.Color getLeftBorderColor()
getLeftBorderColor
in interface JRBox
public java.awt.Color getOwnLeftBorderColor()
getOwnLeftBorderColor
in interface JRBox
public void setLeftBorderColor(java.awt.Color leftBorderColor)
setLeftBorderColor
in interface JRBox
public int getLeftPadding()
getLeftPadding
in interface JRBox
public java.lang.Integer getOwnLeftPadding()
getOwnLeftPadding
in interface JRBox
public void setLeftPadding(int leftPadding)
setLeftPadding
in interface JRBox
public void setLeftPadding(java.lang.Integer leftPadding)
setLeftPadding
in interface JRBox
public byte getBottomBorder()
getBottomBorder
in interface JRBox
public java.lang.Byte getOwnBottomBorder()
getOwnBottomBorder
in interface JRBox
public void setBottomBorder(byte bottomBorder)
setBottomBorder
in interface JRBox
public void setBottomBorder(java.lang.Byte bottomBorder)
setBottomBorder
in interface JRBox
public java.awt.Color getBottomBorderColor()
getBottomBorderColor
in interface JRBox
public java.awt.Color getOwnBottomBorderColor()
getOwnBottomBorderColor
in interface JRBox
public void setBottomBorderColor(java.awt.Color bottomBorderColor)
setBottomBorderColor
in interface JRBox
public int getBottomPadding()
getBottomPadding
in interface JRBox
public java.lang.Integer getOwnBottomPadding()
getOwnBottomPadding
in interface JRBox
public void setBottomPadding(int bottomPadding)
setBottomPadding
in interface JRBox
public void setBottomPadding(java.lang.Integer bottomPadding)
setBottomPadding
in interface JRBox
public byte getRightBorder()
getRightBorder
in interface JRBox
public java.lang.Byte getOwnRightBorder()
getOwnRightBorder
in interface JRBox
public void setRightBorder(byte rightBorder)
setRightBorder
in interface JRBox
public void setRightBorder(java.lang.Byte rightBorder)
setRightBorder
in interface JRBox
public java.awt.Color getRightBorderColor()
getRightBorderColor
in interface JRBox
public java.awt.Color getOwnRightBorderColor()
getOwnRightBorderColor
in interface JRBox
public void setRightBorderColor(java.awt.Color rightBorderColor)
setRightBorderColor
in interface JRBox
public int getRightPadding()
getRightPadding
in interface JRBox
public java.lang.Integer getOwnRightPadding()
getOwnRightPadding
in interface JRBox
public void setRightPadding(int rightPadding)
setRightPadding
in interface JRBox
public void setRightPadding(java.lang.Integer rightPadding)
setRightPadding
in interface JRBox
public JRCloneable createClone(JRFillCloneFactory factory)
JRCloneable
createClone
in interface JRCloneable
factory
- the clone factory to use while creating the clone
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |