|
||||||||||
| 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 ChartHyperlinkProvider |
chartHyperlinkProvider
|
protected byte |
chartType
|
protected java.lang.String |
customizerClass
|
protected JRFillChartDataset |
dataset
|
protected JRGroup |
evaluationGroup
|
protected org.jfree.chart.JFreeChart |
jfreeChart
|
protected JRFont |
legendFont
|
protected JRLineBox |
lineBox
|
protected JRChartPlot |
plot
|
protected JRRenderable |
renderer
|
protected java.lang.String |
renderType
|
protected JRFont |
subtitleFont
|
protected java.lang.String |
themeName
|
protected JRFont |
titleFont
|
| Fields inherited from class net.sf.jasperreports.engine.fill.JRFillElement |
|---|
band, conditionalStylesContainer, currentEvaluation, currentStyle, defaultStyleProvider, delayedEvaluationsMap, dynamicProperties, elementGroup, expressionEvaluator, filler, initStyle, mergedProperties, originProvider, parent, printWhenGroupChanges, staticProperties, templates |
| 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_CUSTOM, HYPERLINK_TARGET_PARENT, HYPERLINK_TARGET_SELF, HYPERLINK_TARGET_TOP, HYPERLINK_TYPE_CUSTOM, HYPERLINK_TYPE_LOCAL_ANCHOR, HYPERLINK_TYPE_LOCAL_PAGE, HYPERLINK_TYPE_NONE, HYPERLINK_TYPE_NULL, 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 org.jfree.chart.plot.MeterInterval |
convertInterval(JRMeterInterval interval,
byte evaluation)
Converts a JasperReports meter interval to one that JFreeChart understands. |
protected org.jfree.data.Range |
convertRange(JRDataRange dataRange,
byte evaluation)
Converts a JasperReport data range into one understood by JFreeChart. |
protected void |
copy(JRPrintImage printImage)
|
protected ChartHyperlinkProvider |
createChartHyperlinkProvider()
|
JRFillCloneable |
createClone(JRFillCloneFactory factory)
Creates a working clone of itself. |
protected JRTemplateElement |
createElementTemplate()
|
protected void |
createMultiAxisChart(byte evaluation)
Build and configure a multiple axis chart. |
protected void |
evaluate(byte evaluation)
|
protected org.jfree.chart.JFreeChart |
evaluateChart(byte evaluation)
|
protected void |
evaluateRenderer(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()
Deprecated. Replaced by getLineBox() |
java.awt.Color |
getBorderColor()
Deprecated. Replaced by getLineBox() |
byte |
getBottomBorder()
Deprecated. Replaced by getLineBox() |
java.awt.Color |
getBottomBorderColor()
Deprecated. Replaced by getLineBox() |
int |
getBottomPadding()
Deprecated. Replaced by getLineBox() |
JRBox |
getBox()
Deprecated. Replaced by getLineBox() |
protected org.jfree.chart.axis.AxisLocation |
getChartAxisLocation(JRFillChartAxis chartAxis)
|
byte |
getChartType()
Gets the chart type. |
java.lang.String |
getCustomizerClass()
Gets a user specified chart customizer class name. |
JRChartDataset |
getDataset()
Gets the chart dataset. |
java.awt.Color |
getDefaultLineColor()
|
JRGroup |
getEvaluationGroup()
Gets the evaluation group for this chart (only applies when evaluation time is group). |
byte |
getEvaluationTime()
Deprecated. Replaced by getEvaluationTimeValue(). |
EvaluationTimeEnum |
getEvaluationTimeValue()
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. |
JRHyperlinkParameter[] |
getHyperlinkParameters()
Returns the list of hyperlink parameters. |
protected ChartHyperlinkProvider |
getHyperlinkProvider()
|
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. |
protected java.lang.String |
getHyperlinkTooltip()
|
JRExpression |
getHyperlinkTooltipExpression()
Returns the expression which will generate the hyperlink tooltip. |
byte |
getHyperlinkType()
Deprecated. Replaced by getHyperlinkTypeValue(). |
HyperlinkTypeEnum |
getHyperlinkTypeValue()
Retrieves the hyperlink type for the element. |
protected JRTemplateImage |
getJRTemplateImage()
|
byte |
getLeftBorder()
Deprecated. Replaced by getLineBox() |
java.awt.Color |
getLeftBorderColor()
Deprecated. Replaced by getLineBox() |
int |
getLeftPadding()
Deprecated. Replaced by getLineBox() |
java.awt.Color |
getLegendBackgroundColor()
Returns the color to use as the background of the legend. |
java.awt.Color |
getLegendColor()
Returns the inherited color to use for text in the legend. |
JRFont |
getLegendFont()
Returns the font to use in the legend. |
byte |
getLegendPosition()
Deprecated. Replaced by getLegendPositionValue() |
java.lang.Byte |
getLegendPositionByte()
Deprecated. Replaced by getLegendPositionValue() |
EdgeEnum |
getLegendPositionValue()
|
JRLineBox |
getLineBox()
|
java.lang.String |
getLinkTarget()
Returns the hyperlink target name. |
java.lang.String |
getLinkType()
Returns the hyperlink type. |
java.util.Locale |
getLocale()
|
ModeEnum |
getModeValue()
Returns the element transparency mode. |
java.lang.Byte |
getOwnBorder()
Deprecated. Replaced by getLineBox() |
java.awt.Color |
getOwnBorderColor()
Deprecated. Replaced by getLineBox() |
java.lang.Byte |
getOwnBottomBorder()
Deprecated. Replaced by getLineBox() |
java.awt.Color |
getOwnBottomBorderColor()
Deprecated. Replaced by getLineBox() |
java.lang.Integer |
getOwnBottomPadding()
Deprecated. Replaced by getLineBox() |
java.lang.Byte |
getOwnLeftBorder()
Deprecated. Replaced by getLineBox() |
java.awt.Color |
getOwnLeftBorderColor()
Deprecated. Replaced by getLineBox() |
java.lang.Integer |
getOwnLeftPadding()
Deprecated. Replaced by getLineBox() |
java.awt.Color |
getOwnLegendBackgroundColor()
Returns the color to use as the background of the legend. |
java.awt.Color |
getOwnLegendColor()
Returns the color to use for text in the legend. |
java.lang.Integer |
getOwnPadding()
Deprecated. Replaced by getLineBox() |
java.lang.Byte |
getOwnRightBorder()
Deprecated. Replaced by getLineBox() |
java.awt.Color |
getOwnRightBorderColor()
Deprecated. Replaced by getLineBox() |
java.lang.Integer |
getOwnRightPadding()
Deprecated. Replaced by getLineBox() |
java.awt.Color |
getOwnSubtitleColor()
|
java.awt.Color |
getOwnTitleColor()
|
java.lang.Byte |
getOwnTopBorder()
Deprecated. Replaced by getLineBox() |
java.awt.Color |
getOwnTopBorderColor()
Deprecated. Replaced by getLineBox() |
java.lang.Integer |
getOwnTopPadding()
Deprecated. Replaced by getLineBox() |
int |
getPadding()
Deprecated. Replaced by getLineBox() |
JRChartPlot |
getPlot()
Gets the chart plot. |
protected JRRenderable |
getRenderer()
|
java.lang.String |
getRenderType()
|
byte |
getRightBorder()
Deprecated. Replaced by getLineBox() |
java.awt.Color |
getRightBorderColor()
Deprecated. Replaced by getLineBox() |
int |
getRightPadding()
Deprecated. Replaced by getLineBox() |
java.lang.Boolean |
getShowLegend()
|
java.awt.Color |
getSubtitleColor()
|
JRExpression |
getSubtitleExpression()
Gets the expression whose evaluation will form the subtitle. |
JRFont |
getSubtitleFont()
|
java.lang.String |
getTheme()
|
java.util.TimeZone |
getTimeZone()
|
java.awt.Color |
getTitleColor()
|
JRExpression |
getTitleExpression()
Gets the expression whose evaluation will form the title. |
JRFont |
getTitleFont()
|
byte |
getTitlePosition()
Deprecated. Replaced by getTitlePositionValue() |
java.lang.Byte |
getTitlePositionByte()
Deprecated. Replaced by getTitlePositionValue() |
EdgeEnum |
getTitlePositionValue()
Gets the title position relative to the chart. |
byte |
getTopBorder()
Deprecated. Replaced by getLineBox() |
java.awt.Color |
getTopBorderColor()
Deprecated. Replaced by getLineBox() |
int |
getTopPadding()
Deprecated. Replaced by getLineBox() |
boolean |
isShowLegend()
Deprecated. Replaced by getShowLegend() |
protected boolean |
prepare(int availableHeight,
boolean isOverflow)
|
protected void |
resolveElement(JRPrintElement element,
byte evaluation)
Resolves an element. |
protected void |
rewind()
|
void |
setBorder(byte border)
Deprecated. Replaced by getLineBox() |
void |
setBorder(java.lang.Byte border)
Deprecated. Replaced by getLineBox() |
void |
setBorderColor(java.awt.Color borderColor)
Deprecated. Replaced by getLineBox() |
void |
setBottomBorder(byte bottomBorder)
Deprecated. Replaced by getLineBox() |
void |
setBottomBorder(java.lang.Byte bottomBorder)
Deprecated. Replaced by getLineBox() |
void |
setBottomBorderColor(java.awt.Color bottomBorderColor)
Deprecated. Replaced by getLineBox() |
void |
setBottomPadding(int bottomPadding)
Deprecated. Replaced by getLineBox() |
void |
setBottomPadding(java.lang.Integer bottomPadding)
Deprecated. Replaced by getLineBox() |
void |
setDataset(JRFillChartDataset dataset)
|
void |
setLeftBorder(byte leftBorder)
Deprecated. Replaced by getLineBox() |
void |
setLeftBorder(java.lang.Byte leftBorder)
Deprecated. Replaced by getLineBox() |
void |
setLeftBorderColor(java.awt.Color leftBorderColor)
Deprecated. Replaced by getLineBox() |
void |
setLeftPadding(int leftPadding)
Deprecated. Replaced by getLineBox() |
void |
setLeftPadding(java.lang.Integer leftPadding)
Deprecated. Replaced by getLineBox() |
void |
setLegendBackgroundColor(java.awt.Color legendBackgroundColor)
Sets the color to use for the background of the legend. |
void |
setLegendColor(java.awt.Color legendColor)
Sets the color to use for text in the legend. |
void |
setLegendPosition(byte legendPosition)
Deprecated. Replaced by setLegendPosition(EdgeEnum) |
void |
setLegendPosition(java.lang.Byte legendPosition)
Deprecated. Replaced by setLegendPosition(EdgeEnum) |
void |
setLegendPosition(EdgeEnum legendPosition)
|
void |
setPadding(int padding)
Deprecated. Replaced by getLineBox() |
void |
setPadding(java.lang.Integer padding)
Deprecated. Replaced by getLineBox() |
void |
setRenderType(java.lang.String renderType)
|
void |
setRightBorder(byte rightBorder)
Deprecated. Replaced by getLineBox() |
void |
setRightBorder(java.lang.Byte rightBorder)
Deprecated. Replaced by getLineBox() |
void |
setRightBorderColor(java.awt.Color rightBorderColor)
Deprecated. Replaced by getLineBox() |
void |
setRightPadding(int rightPadding)
Deprecated. Replaced by getLineBox() |
void |
setRightPadding(java.lang.Integer rightPadding)
Deprecated. Replaced by getLineBox() |
void |
setShowLegend(boolean isShowLegend)
Deprecated. Replaced by setShowLegend(Boolean) |
void |
setShowLegend(java.lang.Boolean isShowLegend)
|
void |
setSubtitleColor(java.awt.Color subtitleColor)
|
void |
setTheme(java.lang.String theme)
|
void |
setTitleColor(java.awt.Color titleColor)
|
void |
setTitlePosition(byte titlePosition)
Deprecated. Replaced by setTitlePosition(EdgeEnum) |
void |
setTitlePosition(java.lang.Byte titlePosition)
Deprecated. Replaced by setTitlePosition(EdgeEnum) |
void |
setTitlePosition(EdgeEnum titlePosition)
Sets the title position relative to the chart. |
void |
setTopBorder(byte topBorder)
Deprecated. Replaced by getLineBox() |
void |
setTopBorder(java.lang.Byte topBorder)
Deprecated. Replaced by getLineBox() |
void |
setTopBorderColor(java.awt.Color topBorderColor)
Deprecated. Replaced by getLineBox() |
void |
setTopPadding(int topPadding)
Deprecated. Replaced by getLineBox() |
void |
setTopPadding(java.lang.Integer topPadding)
Deprecated. Replaced by getLineBox() |
void |
visit(JRVisitor visitor)
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sf.jasperreports.engine.JRElement |
|---|
getElementGroup, getKey, getPositionType, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchType, getStretchTypeValue, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setStretchType, setWidth, setX |
| Methods inherited from interface net.sf.jasperreports.engine.JRChild |
|---|
clone |
| Methods inherited from interface net.sf.jasperreports.engine.JRCloneable |
|---|
clone |
| Methods inherited from interface net.sf.jasperreports.engine.JRCommonElement |
|---|
getBackcolor, getForecolor, getHeight, getMode, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode, setMode, setMode |
| Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer |
|---|
getDefaultStyleProvider, getStyle, getStyleNameReference |
| Methods inherited from interface net.sf.jasperreports.engine.JRPropertiesHolder |
|---|
getParentProperties, getPropertiesMap, hasProperties |
| Field Detail |
|---|
protected byte chartType
protected JRFont titleFont
protected JRFont subtitleFont
protected JRFont legendFont
protected final JRLineBox lineBox
protected JRGroup evaluationGroup
protected JRFillChartDataset dataset
protected JRChartPlot plot
protected JRRenderable renderer
protected java.lang.String customizerClass
protected JRChartCustomizer chartCustomizer
protected java.lang.String renderType
protected java.lang.String themeName
protected org.jfree.chart.JFreeChart jfreeChart
protected ChartHyperlinkProvider chartHyperlinkProvider
| Constructor Detail |
|---|
protected JRFillChart(JRBaseFiller filler,
JRChart chart,
JRFillObjectFactory factory)
| Method Detail |
|---|
public ModeEnum getModeValue()
JRCommonElement
getModeValue in interface JRCommonElementgetModeValue in class JRFillElementpublic boolean isShowLegend()
getShowLegend()
isShowLegend in interface JRChartpublic void setShowLegend(boolean isShowLegend)
setShowLegend(Boolean)
setShowLegend in interface JRChartpublic java.lang.Boolean getShowLegend()
getShowLegend in interface JRChartpublic void setShowLegend(java.lang.Boolean isShowLegend)
setShowLegend in interface JRChartpublic java.lang.String getRenderType()
getRenderType in interface JRChartpublic void setRenderType(java.lang.String renderType)
setRenderType in interface JRChartpublic java.lang.String getTheme()
getTheme in interface JRChartpublic void setTheme(java.lang.String theme)
setTheme in interface JRChartpublic byte getEvaluationTime()
getEvaluationTimeValue().
getEvaluationTime in interface JRChartpublic EvaluationTimeEnum getEvaluationTimeValue()
JRChart
getEvaluationTimeValue in interface JRChartgetEvaluationTimeValue in class JRFillElementpublic JRGroup getEvaluationGroup()
JRChart
getEvaluationGroup in interface JRChartpublic JRBox getBox()
getLineBox()
JRChart
getBox in interface JRChartpublic JRLineBox getLineBox()
getLineBox in interface JRBoxContainerpublic byte getBorder()
getLineBox()
getBorder in interface JRBoxpublic java.lang.Byte getOwnBorder()
getLineBox()
getOwnBorder in interface JRBoxpublic void setBorder(byte border)
getLineBox()
setBorder in interface JRBoxpublic void setBorder(java.lang.Byte border)
getLineBox()
setBorder in interface JRBoxpublic java.awt.Color getBorderColor()
getLineBox()
getBorderColor in interface JRBoxpublic java.awt.Color getOwnBorderColor()
getLineBox()
getOwnBorderColor in interface JRBoxpublic void setBorderColor(java.awt.Color borderColor)
getLineBox()
setBorderColor in interface JRBoxpublic int getPadding()
getLineBox()
getPadding in interface JRBoxpublic java.lang.Integer getOwnPadding()
getLineBox()
getOwnPadding in interface JRBoxpublic void setPadding(int padding)
getLineBox()
setPadding in interface JRBoxpublic void setPadding(java.lang.Integer padding)
getLineBox()
setPadding in interface JRBoxpublic byte getTopBorder()
getLineBox()
getTopBorder in interface JRBoxpublic java.lang.Byte getOwnTopBorder()
getLineBox()
getOwnTopBorder in interface JRBoxpublic void setTopBorder(byte topBorder)
getLineBox()
setTopBorder in interface JRBoxpublic void setTopBorder(java.lang.Byte topBorder)
getLineBox()
setTopBorder in interface JRBoxpublic java.awt.Color getTopBorderColor()
getLineBox()
getTopBorderColor in interface JRBoxpublic java.awt.Color getOwnTopBorderColor()
getLineBox()
getOwnTopBorderColor in interface JRBoxpublic void setTopBorderColor(java.awt.Color topBorderColor)
getLineBox()
setTopBorderColor in interface JRBoxpublic int getTopPadding()
getLineBox()
getTopPadding in interface JRBoxpublic java.lang.Integer getOwnTopPadding()
getLineBox()
getOwnTopPadding in interface JRBoxpublic void setTopPadding(int topPadding)
getLineBox()
setTopPadding in interface JRBoxpublic void setTopPadding(java.lang.Integer topPadding)
getLineBox()
setTopPadding in interface JRBoxpublic byte getLeftBorder()
getLineBox()
getLeftBorder in interface JRBoxpublic java.lang.Byte getOwnLeftBorder()
getLineBox()
getOwnLeftBorder in interface JRBoxpublic void setLeftBorder(byte leftBorder)
getLineBox()
setLeftBorder in interface JRBoxpublic void setLeftBorder(java.lang.Byte leftBorder)
getLineBox()
setLeftBorder in interface JRBoxpublic java.awt.Color getLeftBorderColor()
getLineBox()
getLeftBorderColor in interface JRBoxpublic java.awt.Color getOwnLeftBorderColor()
getLineBox()
getOwnLeftBorderColor in interface JRBoxpublic void setLeftBorderColor(java.awt.Color leftBorderColor)
getLineBox()
setLeftBorderColor in interface JRBoxpublic int getLeftPadding()
getLineBox()
getLeftPadding in interface JRBoxpublic java.lang.Integer getOwnLeftPadding()
getLineBox()
getOwnLeftPadding in interface JRBoxpublic void setLeftPadding(int leftPadding)
getLineBox()
setLeftPadding in interface JRBoxpublic void setLeftPadding(java.lang.Integer leftPadding)
getLineBox()
setLeftPadding in interface JRBoxpublic byte getBottomBorder()
getLineBox()
getBottomBorder in interface JRBoxpublic java.lang.Byte getOwnBottomBorder()
getLineBox()
getOwnBottomBorder in interface JRBoxpublic void setBottomBorder(byte bottomBorder)
getLineBox()
setBottomBorder in interface JRBoxpublic void setBottomBorder(java.lang.Byte bottomBorder)
getLineBox()
setBottomBorder in interface JRBoxpublic java.awt.Color getBottomBorderColor()
getLineBox()
getBottomBorderColor in interface JRBoxpublic java.awt.Color getOwnBottomBorderColor()
getLineBox()
getOwnBottomBorderColor in interface JRBoxpublic void setBottomBorderColor(java.awt.Color bottomBorderColor)
getLineBox()
setBottomBorderColor in interface JRBoxpublic int getBottomPadding()
getLineBox()
getBottomPadding in interface JRBoxpublic java.lang.Integer getOwnBottomPadding()
getLineBox()
getOwnBottomPadding in interface JRBoxpublic void setBottomPadding(int bottomPadding)
getLineBox()
setBottomPadding in interface JRBoxpublic void setBottomPadding(java.lang.Integer bottomPadding)
getLineBox()
setBottomPadding in interface JRBoxpublic byte getRightBorder()
getLineBox()
getRightBorder in interface JRBoxpublic java.lang.Byte getOwnRightBorder()
getLineBox()
getOwnRightBorder in interface JRBoxpublic void setRightBorder(byte rightBorder)
getLineBox()
setRightBorder in interface JRBoxpublic void setRightBorder(java.lang.Byte rightBorder)
getLineBox()
setRightBorder in interface JRBoxpublic java.awt.Color getRightBorderColor()
getLineBox()
getRightBorderColor in interface JRBoxpublic java.awt.Color getOwnRightBorderColor()
getLineBox()
getOwnRightBorderColor in interface JRBoxpublic void setRightBorderColor(java.awt.Color rightBorderColor)
getLineBox()
setRightBorderColor in interface JRBoxpublic int getRightPadding()
getLineBox()
getRightPadding in interface JRBoxpublic java.lang.Integer getOwnRightPadding()
getLineBox()
getOwnRightPadding in interface JRBoxpublic void setRightPadding(int rightPadding)
getLineBox()
setRightPadding in interface JRBoxpublic void setRightPadding(java.lang.Integer rightPadding)
getLineBox()
setRightPadding in interface JRBoxpublic JRFont getTitleFont()
getTitleFont in interface JRChartpublic byte getTitlePosition()
getTitlePositionValue()
getTitlePosition in interface JRChartpublic void setTitlePosition(byte titlePosition)
setTitlePosition(EdgeEnum)
setTitlePosition in interface JRChartpublic java.lang.Byte getTitlePositionByte()
getTitlePositionValue()
getTitlePositionByte in interface JRChartpublic void setTitlePosition(java.lang.Byte titlePosition)
setTitlePosition(EdgeEnum)
setTitlePosition in interface JRChartpublic EdgeEnum getTitlePositionValue()
JRChart
getTitlePositionValue in interface JRChartpublic void setTitlePosition(EdgeEnum titlePosition)
JRChart
setTitlePosition in interface JRChartpublic java.awt.Color getTitleColor()
getTitleColor in interface JRChartpublic java.awt.Color getOwnTitleColor()
getOwnTitleColor in interface JRChartpublic void setTitleColor(java.awt.Color titleColor)
setTitleColor in interface JRChartpublic JRFont getSubtitleFont()
getSubtitleFont in interface JRChartpublic java.awt.Color getOwnSubtitleColor()
getOwnSubtitleColor in interface JRChartpublic java.awt.Color getSubtitleColor()
getSubtitleColor in interface JRChartpublic void setSubtitleColor(java.awt.Color subtitleColor)
setSubtitleColor in interface JRChartpublic java.awt.Color getOwnLegendColor()
getOwnLegendColor in interface JRChartpublic java.awt.Color getLegendColor()
getLegendColor in interface JRChartpublic void setLegendColor(java.awt.Color legendColor)
setLegendColor in interface JRChartlegendColor - the color to use for text in the legendpublic java.awt.Color getOwnLegendBackgroundColor()
getOwnLegendBackgroundColor in interface JRChartpublic java.awt.Color getLegendBackgroundColor()
getLegendBackgroundColor in interface JRChartpublic void setLegendBackgroundColor(java.awt.Color legendBackgroundColor)
setLegendBackgroundColor in interface JRChartlegendBackgroundColor - the color to use for the background of the legendpublic JRFont getLegendFont()
getLegendFont in interface JRChartpublic byte getLegendPosition()
getLegendPositionValue()
getLegendPosition in interface JRChartpublic void setLegendPosition(byte legendPosition)
setLegendPosition(EdgeEnum)
setLegendPosition in interface JRChartpublic java.lang.Byte getLegendPositionByte()
getLegendPositionValue()
getLegendPositionByte in interface JRChartpublic void setLegendPosition(java.lang.Byte legendPosition)
setLegendPosition(EdgeEnum)
setLegendPosition in interface JRChartpublic EdgeEnum getLegendPositionValue()
getLegendPositionValue in interface JRChartpublic void setLegendPosition(EdgeEnum legendPosition)
setLegendPosition in interface JRChartpublic JRExpression getTitleExpression()
JRChart
getTitleExpression in interface JRChartpublic JRExpression getSubtitleExpression()
JRChart
getSubtitleExpression in interface JRChartpublic byte getHyperlinkType()
getHyperlinkTypeValue().
getHyperlinkType in interface JRHyperlinkpublic HyperlinkTypeEnum getHyperlinkTypeValue()
JRHyperlink
The actual hyperlink type is determined by getLinkType().
This method can is used to determine whether the hyperlink type is one of the
built-in types or a custom type.
When hyperlink is of custom type, CUSTOM is returned.
getHyperlinkTypeValue in interface JRHyperlinkJRHyperlink.getLinkType()public byte getHyperlinkTarget()
JRHyperlink
The actual hyperlink target is determined by getLinkTarget().
This method can is used to determine whether the hyperlink target is one of the
built-in target names or a custom one.
When hyperlink has a custom target name, HYPERLINK_TYPE_CUSTOM is returned.
getHyperlinkTarget in interface JRHyperlinkJRHyperlink.getLinkTarget()public 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 java.util.Locale getLocale()
public java.util.TimeZone getTimeZone()
public JRChartDataset getDataset()
JRChart
getDataset in interface JRChartpublic void setDataset(JRFillChartDataset dataset)
public 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 java.lang.String getHyperlinkTooltip()
public java.awt.Color getDefaultLineColor()
getDefaultLineColor in interface JRBoxContainerprotected JRTemplateImage getJRTemplateImage()
protected JRTemplateElement createElementTemplate()
createElementTemplate in class JRFillElementprotected void rewind()
rewind in class JRFillElement
protected void evaluate(byte evaluation)
throws JRException
evaluate in class JRFillElementJRException
protected void evaluateRenderer(byte evaluation)
throws JRException
JRExceptionprotected ChartHyperlinkProvider getHyperlinkProvider()
protected org.jfree.chart.JFreeChart evaluateChart(byte evaluation)
throws JRException
JRException
protected boolean prepare(int availableHeight,
boolean isOverflow)
prepare in class JRFillElementprotected JRPrintElement fill()
fill in class JRFillElementprotected void copy(JRPrintImage printImage)
public byte getChartType()
JRChart
getChartType in interface JRChartpublic void collectExpressions(JRExpressionCollector collector)
collectExpressions in interface JRElementpublic void visit(JRVisitor visitor)
visit in interface JRVisitableprotected ChartHyperlinkProvider createChartHyperlinkProvider()
protected void createMultiAxisChart(byte evaluation)
throws JRException
evaluation - current expression evaluation phase
JRException
protected org.jfree.data.Range convertRange(JRDataRange dataRange,
byte evaluation)
throws JRException
dataRange - the JasperReport version of the rangeevaluation - current expression evaluation phase
JRException - thrown when the low value of the range is greater than the
high value
protected org.jfree.chart.plot.MeterInterval convertInterval(JRMeterInterval interval,
byte evaluation)
throws JRException
interval - the JasperReports definition of an intervalevaluation - current evaluation time
JRException - thrown when the interval contains an invalid rangeprotected org.jfree.chart.axis.AxisLocation getChartAxisLocation(JRFillChartAxis chartAxis)
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 JRChartJRChartCustomizerpublic JRFillCloneable createClone(JRFillCloneFactory factory)
JRFillCloneable
createClone in interface JRFillCloneablefactory - the clone factory to use while creating the clone
public JRHyperlinkParameter[] getHyperlinkParameters()
JRHyperlinkThe parameters can be used by custom hyperlink types to generate dynamic links.
getHyperlinkParameters in interface JRHyperlinkpublic java.lang.String getLinkType()
JRHyperlinkThe type can be one of the built-in types (Reference, LocalAnchor, LocalPage, RemoteAnchor, RemotePage), or can be an arbitrary type.
getLinkType in interface JRHyperlinkpublic java.lang.String getLinkTarget()
JRHyperlinkThe type can be one of the built-in names (Self, Blank, Top, Parent), or can be an arbitrary name.
getLinkTarget in interface JRHyperlinkpublic JRExpression getHyperlinkTooltipExpression()
JRHyperlink
getHyperlinkTooltipExpression in interface JRHyperlink
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||