public class JRFillChart extends JRFillElement implements JRChart
| Modifier and Type | Field and Description |
|---|---|
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 |
band, conditionalStylesContainer, currentEvaluation, currentStyle, defaultStyleProvider, delayedEvaluationsMap, dynamicProperties, elementGroup, expressionEvaluator, filler, initStyle, mergedProperties, originProvider, parent, printWhenGroupChanges, staticProperties, templatesCHART_TYPE_AREA, CHART_TYPE_BAR, CHART_TYPE_BAR3D, CHART_TYPE_BUBBLE, CHART_TYPE_CANDLESTICK, CHART_TYPE_GANTT, CHART_TYPE_HIGHLOW, CHART_TYPE_LINE, CHART_TYPE_METER, CHART_TYPE_MULTI_AXIS, CHART_TYPE_PIE, CHART_TYPE_PIE3D, CHART_TYPE_SCATTER, CHART_TYPE_STACKEDAREA, CHART_TYPE_STACKEDBAR, CHART_TYPE_STACKEDBAR3D, CHART_TYPE_THERMOMETER, CHART_TYPE_TIMESERIES, CHART_TYPE_XYAREA, CHART_TYPE_XYBAR, CHART_TYPE_XYLINE, EDGE_BOTTOM, EDGE_LEFT, EDGE_RIGHT, EDGE_TOP, PROPERTY_CHART_RENDER_TYPE, PROPERTY_CHART_THEME, RENDER_TYPE_DRAW, RENDER_TYPE_IMAGE, RENDER_TYPE_SVG, TITLE_POSITION_BOTTOM, TITLE_POSITION_LEFT, TITLE_POSITION_RIGHT, TITLE_POSITION_TOPMODE_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_OBJECTNO_BOOKMARKHYPERLINK_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| Modifier | Constructor and Description |
|---|---|
protected |
JRFillChart(JRBaseFiller filler,
JRChart chart,
JRFillObjectFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
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) |
addDependantElement, clone, clone, collectDelayedEvaluations, collectDelayedEvaluations, collectDelayedEvaluations, collectStyleDelayedEvaluations, delayedEvaluate, evaluateExpression, evaluatePrintWhenExpression, evaluateProperties, getBackcolor, getBand, getDefaultStyleProvider, getDependantElements, getElementGroup, getElementOrigin, getElementTemplate, getEvaluatedProperties, getField, getForecolor, getGroupElements, getHeight, getKey, getMode, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getParentProperties, getPositionType, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertiesMap, getPropertyExpressions, getRelativeY, getStretchHeight, getStretchType, getStretchTypeValue, getStyle, getStyleNameReference, getTemplate, getVariable, getWidth, getX, getY, hasProperties, initDelayedEvaluationPrint, initDelayedEvaluations, isAlreadyPrinted, isAutoEvaluateNow, isDelayedStyleEvaluation, isEvaluateAuto, isEvaluateNow, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isPrintWhenExpressionNull, isPrintWhenTrue, isRemoveLineWhenBlank, isReprinted, isToPrint, isValueRepeating, moveDependantElements, performDelayedEvaluation, registerTemplate, reset, resolveElement, setAlreadyPrinted, setBackcolor, setBand, setConditionalStylesContainer, setCurrentEvaluation, setForecolor, setHeight, setMode, setMode, setMode, setOriginProvider, setPositionType, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setPrintWhenExpressionNull, setPrintWhenTrue, setRelativeY, setRemoveLineWhenBlank, setReprinted, setShrinkable, setStretchHeight, setStretchType, setStretchType, setStyle, setStyleNameReference, setToPrint, setValueRepeating, setWidth, setX, setY, stretchElement, stretchHeightFinal, transferProperties, transferPropertiesequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetElementGroup, getKey, getPositionType, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchType, getStretchTypeValue, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setStretchType, setWidth, setXclonegetBackcolor, getForecolor, getHeight, getMode, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode, setMode, setModegetDefaultStyleProvider, getStyle, getStyleNameReferencegetParentProperties, getPropertiesMap, hasPropertiesprotected 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
protected JRFillChart(JRBaseFiller filler, JRChart chart, JRFillObjectFactory factory)
public ModeEnum getModeValue()
JRCommonElementgetModeValue 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 byte getEvaluationTime()
getEvaluationTimeValue().getEvaluationTime in interface JRChartpublic EvaluationTimeEnum getEvaluationTimeValue()
JRChartgetEvaluationTimeValue in interface JRChartgetEvaluationTimeValue in class JRFillElementpublic JRGroup getEvaluationGroup()
JRChartgetEvaluationGroup in interface JRChartpublic JRBox getBox()
getLineBox()JRChartpublic JRLineBox getLineBox()
getLineBox in interface JRBoxContainerpublic byte getBorder()
getLineBox()public java.lang.Byte getOwnBorder()
getLineBox()getOwnBorder in interface JRBoxpublic void setBorder(byte border)
getLineBox()public void setBorder(java.lang.Byte border)
getLineBox()public 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()
JRChartgetTitlePositionValue in interface JRChartpublic void setTitlePosition(EdgeEnum titlePosition)
JRChartsetTitlePosition 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()
JRChartgetTitleExpression in interface JRChartpublic JRExpression getSubtitleExpression()
JRChartgetSubtitleExpression 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()
JRAnchorgetAnchorNameExpression in interface JRAnchorpublic JRExpression getHyperlinkReferenceExpression()
JRHyperlinkgetHyperlinkReferenceExpression in interface JRHyperlinkpublic JRExpression getHyperlinkAnchorExpression()
JRHyperlinkgetHyperlinkAnchorExpression in interface JRHyperlinkpublic JRExpression getHyperlinkPageExpression()
JRHyperlinkgetHyperlinkPageExpression in interface JRHyperlinkpublic java.util.Locale getLocale()
public java.util.TimeZone getTimeZone()
public JRChartDataset getDataset()
JRChartgetDataset in interface JRChartpublic void setDataset(JRFillChartDataset dataset)
public JRChartPlot getPlot()
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 JRFillElementprotected void evaluate(byte evaluation)
throws JRException
evaluate in class JRFillElementJRExceptionprotected void evaluateRenderer(byte evaluation)
throws JRException
JRExceptionprotected ChartHyperlinkProvider getHyperlinkProvider()
protected org.jfree.chart.JFreeChart evaluateChart(byte evaluation)
throws JRException
JRExceptionprotected boolean prepare(int availableHeight,
boolean isOverflow)
prepare in class JRFillElementprotected JRPrintElement fill()
fill in class JRFillElementprotected void copy(JRPrintImage printImage)
public byte getChartType()
JRChartgetChartType 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 phaseJRExceptionprotected org.jfree.data.Range convertRange(JRDataRange dataRange, byte evaluation) throws JRException
dataRange - the JasperReport version of the rangeevaluation - current expression evaluation phaseJRException - thrown when the low value of the range is greater than the
high valueprotected org.jfree.chart.plot.MeterInterval convertInterval(JRMeterInterval interval, byte evaluation) throws JRException
interval - the JasperReports definition of an intervalevaluation - current evaluation timeJRException - 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
JRFillElementresolveElement in class JRFillElementelement - the elementevaluation - the evaluation typeJRExceptionpublic int getBookmarkLevel()
JRAnchorgetBookmarkLevel in interface JRAnchorNO_BOOKMARK if no bookmark should be created for this anchorpublic java.lang.String getCustomizerClass()
JRChartgetCustomizerClass in interface JRChartJRChartCustomizerpublic JRFillCloneable createClone(JRFillCloneFactory factory)
JRFillCloneablecreateClone in interface JRFillCloneablefactory - the clone factory to use while creating the clonepublic 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()
JRHyperlinkgetHyperlinkTooltipExpression in interface JRHyperlink© 2001-2010 Jaspersoft Corporation www.jaspersoft.com