Package net.sf.jasperreports.charts.fill
Class JRFillXyzSeries
- java.lang.Object
-
- net.sf.jasperreports.charts.fill.JRFillXyzSeries
-
- All Implemented Interfaces:
Cloneable
,JRXyzSeries
,JRCloneable
public class JRFillXyzSeries extends Object implements JRXyzSeries
- Author:
- Flavius Sana (flavius_sana@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description JRFillXyzSeries(JRXyzSeries xyzSeries, ChartsFillObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
protected void
evaluate(JRCalculator calculator)
protected void
evaluateItemHyperlink(JRCalculator calculator)
JRHyperlink
getItemHyperlink()
Returns the hyperlink specification for chart items.protected JRPrintHyperlink
getPrintItemHyperlink()
protected Comparable<?>
getSeries()
JRExpression
getSeriesExpression()
protected Number
getXValue()
JRExpression
getXValueExpression()
protected Number
getYValue()
JRExpression
getYValueExpression()
protected Number
getZValue()
JRExpression
getZValueExpression()
boolean
hasItemHyperlinks()
-
-
-
Constructor Detail
-
JRFillXyzSeries
public JRFillXyzSeries(JRXyzSeries xyzSeries, ChartsFillObjectFactory factory)
-
-
Method Detail
-
getSeriesExpression
public JRExpression getSeriesExpression()
- Specified by:
getSeriesExpression
in interfaceJRXyzSeries
- Returns:
- a
java.lang.Comparable
object 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<xyzSeries>
tag is used inside the<xyzDataset>
tag.
-
getXValueExpression
public JRExpression getXValueExpression()
- Specified by:
getXValueExpression
in interfaceJRXyzSeries
- Returns:
- a numeric expression representing the X value from the (x, y, z) item that will be added to the current data series.
-
getYValueExpression
public JRExpression getYValueExpression()
- Specified by:
getYValueExpression
in interfaceJRXyzSeries
- Returns:
- a numeric expression representing the Y value from the (x, y, z) item that will be added to the current data series.
-
getZValueExpression
public JRExpression getZValueExpression()
- Specified by:
getZValueExpression
in interfaceJRXyzSeries
- Returns:
- a numeric expression representing the Z value from the (x, y, z) item that will be added to the current data series.
-
getSeries
protected Comparable<?> getSeries()
-
getXValue
protected Number getXValue()
-
getYValue
protected Number getYValue()
-
getZValue
protected Number getZValue()
-
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:JRXyzSeries
Returns 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:
getItemHyperlink
in interfaceJRXyzSeries
- Returns:
- hyperlink specification for chart items
-
hasItemHyperlinks
public boolean hasItemHyperlinks()
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classObject
-
-