Package net.sf.jasperreports.charts.fill
Class JRFillXySeries
- java.lang.Object
-
- net.sf.jasperreports.charts.fill.JRFillXySeries
-
- All Implemented Interfaces:
java.lang.Cloneable,JRXySeries,JRCloneable
public class JRFillXySeries extends java.lang.Object implements JRXySeries
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description protected JRXySeriesparent
-
Constructor Summary
Constructors Constructor Description JRFillXySeries(JRXySeries xySeries, JRFillObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()protected voidevaluate(JRCalculator calculator)protected voidevaluateItemHyperlink(JRCalculator calculator)java.lang.BooleangetAutoSort()JRHyperlinkgetItemHyperlink()Returns the hyperlink specification for chart items.protected java.lang.StringgetLabel()JRExpressiongetLabelExpression()protected JRPrintHyperlinkgetPrintItemHyperlink()protected java.lang.Comparable<?>getSeries()JRExpressiongetSeriesExpression()protected java.lang.NumbergetXValue()JRExpressiongetXValueExpression()protected java.lang.NumbergetYValue()JRExpressiongetYValueExpression()booleanhasItemHyperlinks()
-
-
-
Field Detail
-
parent
protected JRXySeries parent
-
-
Constructor Detail
-
JRFillXySeries
public JRFillXySeries(JRXySeries xySeries, JRFillObjectFactory factory)
-
-
Method Detail
-
getSeriesExpression
public JRExpression getSeriesExpression()
- Specified by:
getSeriesExpressionin interfaceJRXySeries- Returns:
- a
java.lang.Comparableobject that identifies a certain data series in the overall dataset. It can return different values, which will result in the dataset containing multiple series even when a single<xySeries>tag is used inside the<xyDataset>tag.
-
getXValueExpression
public JRExpression getXValueExpression()
- Specified by:
getXValueExpressionin interfaceJRXySeries- Returns:
- a numeric expression representing the X value from the (x, y) pair that will be added to the current data series.
-
getYValueExpression
public JRExpression getYValueExpression()
- Specified by:
getYValueExpressionin interfaceJRXySeries- Returns:
- a numeric expression representing the Y value from the (x, y) pair that will be added to the current data series.
-
getLabelExpression
public JRExpression getLabelExpression()
- Specified by:
getLabelExpressionin interfaceJRXySeries- Returns:
- the label expression. If present, it helps customize the item labels inside charts.
-
getAutoSort
public java.lang.Boolean getAutoSort()
- Specified by:
getAutoSortin interfaceJRXySeries
-
getSeries
protected java.lang.Comparable<?> getSeries()
-
getXValue
protected java.lang.Number getXValue()
-
getYValue
protected java.lang.Number getYValue()
-
getLabel
protected java.lang.String getLabel()
-
getPrintItemHyperlink
protected JRPrintHyperlink getPrintItemHyperlink()
-
evaluate
protected void evaluate(JRCalculator calculator) throws JRExpressionEvalException
- Throws:
JRExpressionEvalException
-
evaluateItemHyperlink
protected void evaluateItemHyperlink(JRCalculator calculator) throws JRExpressionEvalException
- Throws:
JRExpressionEvalException
-
getItemHyperlink
public JRHyperlink getItemHyperlink()
Description copied from interface:JRXySeriesReturns the hyperlink specification for chart items.The hyperlink will be evaluated for every chart item and a image map will be created for the chart.
- Specified by:
getItemHyperlinkin interfaceJRXySeries- Returns:
- hyperlink specification for chart items
-
hasItemHyperlinks
public boolean hasItemHyperlinks()
-
clone
public java.lang.Object clone()
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classjava.lang.Object
-
-