|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.base.JRBaseElement
net.sf.jasperreports.engine.base.JRBaseChart
public class JRBaseChart
| Field Summary | |
|---|---|
protected JRExpression |
anchorNameExpression
|
protected int |
bookmarkLevel
The bookmark level for the anchor associated with this chart. |
protected JRBox |
box
|
protected byte |
chartType
|
protected java.lang.String |
customizerClass
|
protected JRChartDataset |
dataset
|
protected JRGroup |
evaluationGroup
|
protected byte |
evaluationTime
|
protected JRExpression |
hyperlinkAnchorExpression
|
protected JRExpression |
hyperlinkPageExpression
|
protected JRExpression |
hyperlinkReferenceExpression
|
protected byte |
hyperlinkTarget
|
protected byte |
hyperlinkType
|
protected boolean |
isShowLegend
|
protected JRChartPlot |
plot
|
protected java.awt.Color |
subtitleColor
|
protected JRExpression |
subtitleExpression
|
protected JRFont |
subtitleFont
|
protected java.awt.Color |
titleColor
|
protected JRExpression |
titleExpression
|
protected JRFont |
titleFont
|
protected byte |
titlePosition
|
| Fields inherited from class net.sf.jasperreports.engine.base.JRBaseElement |
|---|
backcolor, elementGroup, forecolor, height, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, key, mode, positionType, printWhenExpression, printWhenGroupChanges, stretchType, width, x, y |
| 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 |
JRBaseChart(JRChart chart,
JRBaseObjectFactory factory)
|
| Method Summary | |
|---|---|
void |
collectExpressions(JRExpressionCollector collector)
|
JRExpression |
getAnchorNameExpression()
Returns an expression whose value represents the anchor name. |
int |
getBookmarkLevel()
Returns the level of the bookmark corresponding to the anchor. |
JRBox |
getBox()
Gets the box around the element. |
byte |
getChartType()
Gets the chart type. |
JRChild |
getCopy(JRAbstractObjectFactory factory)
|
java.lang.String |
getCustomizerClass()
Gets a user specified chart customizer class name. |
JRChartDataset |
getDataset()
Gets the chart dataset. |
JRGroup |
getEvaluationGroup()
Gets the evaluation group for this chart (only applies when evaluation time is group). |
byte |
getEvaluationTime()
Returns the evaluation time for this chart. |
JRExpression |
getHyperlinkAnchorExpression()
Returns the expression whose value represents the anchor. |
JRExpression |
getHyperlinkPageExpression()
Returns an integer representing the page index of the link. |
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. |
JRChartPlot |
getPlot()
Gets the chart plot. |
java.awt.Color |
getSubtitleColor()
|
JRExpression |
getSubtitleExpression()
Gets the expression whose evaluation will form the subtitle. |
JRFont |
getSubtitleFont()
|
java.awt.Color |
getTitleColor()
|
JRExpression |
getTitleExpression()
Gets the expression whose evaluation will form the title. |
JRFont |
getTitleFont()
|
byte |
getTitlePosition()
Gets the title position relative to the chart. |
boolean |
isShowLegend()
|
void |
setShowLegend(boolean isShowLegend)
|
void |
setSubtitleColor(java.awt.Color subtitleColor)
|
void |
setTitleColor(java.awt.Color titleColor)
|
void |
setTitlePosition(byte titlePosition)
Sets the title position relative to the chart. |
void |
writeXml(JRXmlWriter xmlWriter)
|
| Methods inherited from class net.sf.jasperreports.engine.base.JRBaseElement |
|---|
getBackcolor, getElementGroup, getForecolor, getHeight, getKey, getMode, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getStretchType, getWidth, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sf.jasperreports.engine.JRElement |
|---|
getBackcolor, getElementGroup, getForecolor, getHeight, getKey, getMode, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getStretchType, getWidth, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX |
| Field Detail |
|---|
protected byte chartType
protected boolean isShowLegend
protected byte evaluationTime
protected byte hyperlinkType
protected byte hyperlinkTarget
protected byte titlePosition
protected java.awt.Color titleColor
protected java.awt.Color subtitleColor
protected JRBox box
protected JRFont titleFont
protected JRFont subtitleFont
protected java.lang.String customizerClass
protected JRGroup evaluationGroup
protected JRExpression titleExpression
protected JRExpression subtitleExpression
protected JRExpression anchorNameExpression
protected JRExpression hyperlinkReferenceExpression
protected JRExpression hyperlinkAnchorExpression
protected JRExpression hyperlinkPageExpression
protected JRChartDataset dataset
protected JRChartPlot plot
protected int bookmarkLevel
JRAnchor.getBookmarkLevel()| Constructor Detail |
|---|
protected JRBaseChart(JRChart chart,
JRBaseObjectFactory factory)
| Method Detail |
|---|
public boolean isShowLegend()
isShowLegend in interface JRChartpublic void setShowLegend(boolean isShowLegend)
setShowLegend in interface JRChartpublic byte getEvaluationTime()
JRChart
getEvaluationTime in interface JRChartpublic JRGroup getEvaluationGroup()
JRChart
getEvaluationGroup in interface JRChartpublic JRBox getBox()
JRChart
getBox in interface JRChartpublic JRFont getTitleFont()
getTitleFont in interface JRChartpublic byte getTitlePosition()
JRChart
getTitlePosition in interface JRChartpublic void setTitlePosition(byte titlePosition)
JRChart
setTitlePosition in interface JRChartpublic java.awt.Color getTitleColor()
getTitleColor in interface JRChartpublic void setTitleColor(java.awt.Color titleColor)
setTitleColor in interface JRChartpublic JRFont getSubtitleFont()
getSubtitleFont in interface JRChartpublic java.awt.Color getSubtitleColor()
getSubtitleColor in interface JRChartpublic void setSubtitleColor(java.awt.Color subtitleColor)
setSubtitleColor in interface JRChartpublic byte getHyperlinkType()
JRHyperlink
getHyperlinkType in interface JRHyperlinkpublic byte getHyperlinkTarget()
JRHyperlink
getHyperlinkTarget in interface JRHyperlinkpublic JRExpression getTitleExpression()
JRChart
getTitleExpression in interface JRChartpublic JRExpression getSubtitleExpression()
JRChart
getSubtitleExpression in interface JRChartpublic 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 JRChartDataset getDataset()
JRChart
getDataset in interface JRChartpublic JRChartPlot getPlot()
JRChart
getPlot in interface JRChartpublic byte getChartType()
JRChart
getChartType in interface JRChartpublic JRChild getCopy(JRAbstractObjectFactory factory)
getCopy in interface JRChildpublic void collectExpressions(JRExpressionCollector collector)
collectExpressions in interface JRElementpublic void writeXml(JRXmlWriter xmlWriter)
writeXml in interface JRChildpublic 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 JRChartJRChartCustomizer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||