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 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, templates
CHART_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_TOP
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
NO_BOOKMARK
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
Modifier | Constructor and Description |
---|---|
protected |
JRFillChart(JRBaseFiller filler,
JRChart chart,
JRFillObjectFactory factory) |
Modifier and Type | Method and Description |
---|---|
void |
collectExpressions(JRExpressionCollector collector) |
protected MeterInterval |
convertInterval(JRMeterInterval interval,
byte evaluation)
Converts a JasperReports meter interval to one that JFreeChart understands.
|
protected 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 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 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, transferProperties
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
clone
getBackcolor, getForecolor, getHeight, getMode, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode, setMode, setMode
getDefaultStyleProvider, getStyle, getStyleNameReference
getParentProperties, getPropertiesMap, hasProperties
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 JFreeChart jfreeChart
protected ChartHyperlinkProvider chartHyperlinkProvider
protected JRFillChart(JRBaseFiller filler, JRChart chart, JRFillObjectFactory factory)
public ModeEnum getModeValue()
JRCommonElement
getModeValue
in interface JRCommonElement
getModeValue
in class JRFillElement
public boolean isShowLegend()
getShowLegend()
isShowLegend
in interface JRChart
public void setShowLegend(boolean isShowLegend)
setShowLegend(Boolean)
setShowLegend
in interface JRChart
public java.lang.Boolean getShowLegend()
getShowLegend
in interface JRChart
public void setShowLegend(java.lang.Boolean isShowLegend)
setShowLegend
in interface JRChart
public java.lang.String getRenderType()
getRenderType
in interface JRChart
public void setRenderType(java.lang.String renderType)
setRenderType
in interface JRChart
public byte getEvaluationTime()
getEvaluationTimeValue()
.getEvaluationTime
in interface JRChart
public EvaluationTimeEnum getEvaluationTimeValue()
JRChart
getEvaluationTimeValue
in interface JRChart
getEvaluationTimeValue
in class JRFillElement
public JRGroup getEvaluationGroup()
JRChart
getEvaluationGroup
in interface JRChart
public JRBox getBox()
getLineBox()
JRChart
public JRLineBox getLineBox()
getLineBox
in interface JRBoxContainer
public byte getBorder()
getLineBox()
public java.lang.Byte getOwnBorder()
getLineBox()
getOwnBorder
in interface JRBox
public void setBorder(byte border)
getLineBox()
public void setBorder(java.lang.Byte border)
getLineBox()
public java.awt.Color getBorderColor()
getLineBox()
getBorderColor
in interface JRBox
public java.awt.Color getOwnBorderColor()
getLineBox()
getOwnBorderColor
in interface JRBox
public void setBorderColor(java.awt.Color borderColor)
getLineBox()
setBorderColor
in interface JRBox
public int getPadding()
getLineBox()
getPadding
in interface JRBox
public java.lang.Integer getOwnPadding()
getLineBox()
getOwnPadding
in interface JRBox
public void setPadding(int padding)
getLineBox()
setPadding
in interface JRBox
public void setPadding(java.lang.Integer padding)
getLineBox()
setPadding
in interface JRBox
public byte getTopBorder()
getLineBox()
getTopBorder
in interface JRBox
public java.lang.Byte getOwnTopBorder()
getLineBox()
getOwnTopBorder
in interface JRBox
public void setTopBorder(byte topBorder)
getLineBox()
setTopBorder
in interface JRBox
public void setTopBorder(java.lang.Byte topBorder)
getLineBox()
setTopBorder
in interface JRBox
public java.awt.Color getTopBorderColor()
getLineBox()
getTopBorderColor
in interface JRBox
public java.awt.Color getOwnTopBorderColor()
getLineBox()
getOwnTopBorderColor
in interface JRBox
public void setTopBorderColor(java.awt.Color topBorderColor)
getLineBox()
setTopBorderColor
in interface JRBox
public int getTopPadding()
getLineBox()
getTopPadding
in interface JRBox
public java.lang.Integer getOwnTopPadding()
getLineBox()
getOwnTopPadding
in interface JRBox
public void setTopPadding(int topPadding)
getLineBox()
setTopPadding
in interface JRBox
public void setTopPadding(java.lang.Integer topPadding)
getLineBox()
setTopPadding
in interface JRBox
public byte getLeftBorder()
getLineBox()
getLeftBorder
in interface JRBox
public java.lang.Byte getOwnLeftBorder()
getLineBox()
getOwnLeftBorder
in interface JRBox
public void setLeftBorder(byte leftBorder)
getLineBox()
setLeftBorder
in interface JRBox
public void setLeftBorder(java.lang.Byte leftBorder)
getLineBox()
setLeftBorder
in interface JRBox
public java.awt.Color getLeftBorderColor()
getLineBox()
getLeftBorderColor
in interface JRBox
public java.awt.Color getOwnLeftBorderColor()
getLineBox()
getOwnLeftBorderColor
in interface JRBox
public void setLeftBorderColor(java.awt.Color leftBorderColor)
getLineBox()
setLeftBorderColor
in interface JRBox
public int getLeftPadding()
getLineBox()
getLeftPadding
in interface JRBox
public java.lang.Integer getOwnLeftPadding()
getLineBox()
getOwnLeftPadding
in interface JRBox
public void setLeftPadding(int leftPadding)
getLineBox()
setLeftPadding
in interface JRBox
public void setLeftPadding(java.lang.Integer leftPadding)
getLineBox()
setLeftPadding
in interface JRBox
public byte getBottomBorder()
getLineBox()
getBottomBorder
in interface JRBox
public java.lang.Byte getOwnBottomBorder()
getLineBox()
getOwnBottomBorder
in interface JRBox
public void setBottomBorder(byte bottomBorder)
getLineBox()
setBottomBorder
in interface JRBox
public void setBottomBorder(java.lang.Byte bottomBorder)
getLineBox()
setBottomBorder
in interface JRBox
public java.awt.Color getBottomBorderColor()
getLineBox()
getBottomBorderColor
in interface JRBox
public java.awt.Color getOwnBottomBorderColor()
getLineBox()
getOwnBottomBorderColor
in interface JRBox
public void setBottomBorderColor(java.awt.Color bottomBorderColor)
getLineBox()
setBottomBorderColor
in interface JRBox
public int getBottomPadding()
getLineBox()
getBottomPadding
in interface JRBox
public java.lang.Integer getOwnBottomPadding()
getLineBox()
getOwnBottomPadding
in interface JRBox
public void setBottomPadding(int bottomPadding)
getLineBox()
setBottomPadding
in interface JRBox
public void setBottomPadding(java.lang.Integer bottomPadding)
getLineBox()
setBottomPadding
in interface JRBox
public byte getRightBorder()
getLineBox()
getRightBorder
in interface JRBox
public java.lang.Byte getOwnRightBorder()
getLineBox()
getOwnRightBorder
in interface JRBox
public void setRightBorder(byte rightBorder)
getLineBox()
setRightBorder
in interface JRBox
public void setRightBorder(java.lang.Byte rightBorder)
getLineBox()
setRightBorder
in interface JRBox
public java.awt.Color getRightBorderColor()
getLineBox()
getRightBorderColor
in interface JRBox
public java.awt.Color getOwnRightBorderColor()
getLineBox()
getOwnRightBorderColor
in interface JRBox
public void setRightBorderColor(java.awt.Color rightBorderColor)
getLineBox()
setRightBorderColor
in interface JRBox
public int getRightPadding()
getLineBox()
getRightPadding
in interface JRBox
public java.lang.Integer getOwnRightPadding()
getLineBox()
getOwnRightPadding
in interface JRBox
public void setRightPadding(int rightPadding)
getLineBox()
setRightPadding
in interface JRBox
public void setRightPadding(java.lang.Integer rightPadding)
getLineBox()
setRightPadding
in interface JRBox
public JRFont getTitleFont()
getTitleFont
in interface JRChart
public byte getTitlePosition()
getTitlePositionValue()
getTitlePosition
in interface JRChart
public void setTitlePosition(byte titlePosition)
setTitlePosition(EdgeEnum)
setTitlePosition
in interface JRChart
public java.lang.Byte getTitlePositionByte()
getTitlePositionValue()
getTitlePositionByte
in interface JRChart
public void setTitlePosition(java.lang.Byte titlePosition)
setTitlePosition(EdgeEnum)
setTitlePosition
in interface JRChart
public EdgeEnum getTitlePositionValue()
JRChart
getTitlePositionValue
in interface JRChart
public void setTitlePosition(EdgeEnum titlePosition)
JRChart
setTitlePosition
in interface JRChart
public java.awt.Color getTitleColor()
getTitleColor
in interface JRChart
public java.awt.Color getOwnTitleColor()
getOwnTitleColor
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 getOwnSubtitleColor()
getOwnSubtitleColor
in interface JRChart
public java.awt.Color getSubtitleColor()
getSubtitleColor
in interface JRChart
public void setSubtitleColor(java.awt.Color subtitleColor)
setSubtitleColor
in interface JRChart
public java.awt.Color getOwnLegendColor()
getOwnLegendColor
in interface JRChart
public java.awt.Color getLegendColor()
getLegendColor
in interface JRChart
public void setLegendColor(java.awt.Color legendColor)
setLegendColor
in interface JRChart
legendColor
- the color to use for text in the legendpublic java.awt.Color getOwnLegendBackgroundColor()
getOwnLegendBackgroundColor
in interface JRChart
public java.awt.Color getLegendBackgroundColor()
getLegendBackgroundColor
in interface JRChart
public void setLegendBackgroundColor(java.awt.Color legendBackgroundColor)
setLegendBackgroundColor
in interface JRChart
legendBackgroundColor
- the color to use for the background of the legendpublic JRFont getLegendFont()
getLegendFont
in interface JRChart
public byte getLegendPosition()
getLegendPositionValue()
getLegendPosition
in interface JRChart
public void setLegendPosition(byte legendPosition)
setLegendPosition(EdgeEnum)
setLegendPosition
in interface JRChart
public java.lang.Byte getLegendPositionByte()
getLegendPositionValue()
getLegendPositionByte
in interface JRChart
public void setLegendPosition(java.lang.Byte legendPosition)
setLegendPosition(EdgeEnum)
setLegendPosition
in interface JRChart
public EdgeEnum getLegendPositionValue()
getLegendPositionValue
in interface JRChart
public void setLegendPosition(EdgeEnum legendPosition)
setLegendPosition
in interface JRChart
public JRExpression getTitleExpression()
JRChart
getTitleExpression
in interface JRChart
public JRExpression getSubtitleExpression()
JRChart
getSubtitleExpression
in interface JRChart
public byte getHyperlinkType()
getHyperlinkTypeValue()
.getHyperlinkType
in interface JRHyperlink
public 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 JRHyperlink
JRHyperlink.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 JRHyperlink
JRHyperlink.getLinkTarget()
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 java.util.Locale getLocale()
public java.util.TimeZone getTimeZone()
public JRChartDataset getDataset()
JRChart
getDataset
in interface JRChart
public void setDataset(JRFillChartDataset dataset)
public JRChartPlot getPlot()
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 java.lang.String getHyperlinkTooltip()
public java.awt.Color getDefaultLineColor()
getDefaultLineColor
in interface JRBoxContainer
protected JRTemplateImage getJRTemplateImage()
protected JRTemplateElement createElementTemplate()
createElementTemplate
in class JRFillElement
protected void rewind()
rewind
in class JRFillElement
protected void evaluate(byte evaluation) throws JRException
evaluate
in class JRFillElement
JRException
protected void evaluateRenderer(byte evaluation) throws JRException
JRException
protected ChartHyperlinkProvider getHyperlinkProvider()
protected JFreeChart evaluateChart(byte evaluation) throws JRException
JRException
protected boolean prepare(int availableHeight, 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 void collectExpressions(JRExpressionCollector collector)
collectExpressions
in interface JRElement
public void visit(JRVisitor visitor)
visit
in interface JRVisitable
protected ChartHyperlinkProvider createChartHyperlinkProvider()
protected void createMultiAxisChart(byte evaluation) throws JRException
evaluation
- current expression evaluation phaseJRException
protected 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 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 AxisLocation getChartAxisLocation(JRFillChartAxis chartAxis)
protected void resolveElement(JRPrintElement element, byte evaluation) throws JRException
JRFillElement
resolveElement
in class JRFillElement
element
- the elementevaluation
- the evaluation typeJRException
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 JRFillCloneable createClone(JRFillCloneFactory factory)
JRFillCloneable
createClone
in interface JRFillCloneable
factory
- the clone factory to use while creating the clonepublic JRHyperlinkParameter[] getHyperlinkParameters()
JRHyperlink
The parameters can be used by custom hyperlink types to generate dynamic links.
getHyperlinkParameters
in interface JRHyperlink
public java.lang.String getLinkType()
JRHyperlink
The type can be one of the built-in types (Reference, LocalAnchor, LocalPage, RemoteAnchor, RemotePage), or can be an arbitrary type.
getLinkType
in interface JRHyperlink
public java.lang.String getLinkTarget()
JRHyperlink
The type can be one of the built-in names (Self, Blank, Top, Parent), or can be an arbitrary name.
getLinkTarget
in interface JRHyperlink
public JRExpression getHyperlinkTooltipExpression()
JRHyperlink
getHyperlinkTooltipExpression
in interface JRHyperlink
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com