Package net.sf.jasperreports.charts.base
Class JRBaseTimePeriodSeries
- java.lang.Object
-
- net.sf.jasperreports.charts.base.JRBaseTimePeriodSeries
-
- All Implemented Interfaces:
Serializable
,Cloneable
,JRTimePeriodSeries
,JRCloneable
- Direct Known Subclasses:
JRDesignTimePeriodSeries
public class JRBaseTimePeriodSeries extends Object implements JRTimePeriodSeries, Serializable
- Author:
- Flavius Sana (flavius_sana@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected JRExpression
endDateExpression
protected JRHyperlink
itemHyperlink
protected JRExpression
labelExpression
protected JRExpression
seriesExpression
protected JRExpression
startDateExpression
protected JRExpression
valueExpression
-
Constructor Summary
Constructors Modifier Constructor Description protected
JRBaseTimePeriodSeries()
JRBaseTimePeriodSeries(JRTimePeriodSeries timePeriodSeries, ChartsBaseObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
JRExpression
getEndDateExpression()
JRHyperlink
getItemHyperlink()
Returns the hyperlink specification for chart items.JRExpression
getLabelExpression()
JRExpression
getSeriesExpression()
JRExpression
getStartDateExpression()
JRExpression
getValueExpression()
-
-
-
Field Detail
-
seriesExpression
protected JRExpression seriesExpression
-
startDateExpression
protected JRExpression startDateExpression
-
endDateExpression
protected JRExpression endDateExpression
-
valueExpression
protected JRExpression valueExpression
-
labelExpression
protected JRExpression labelExpression
-
itemHyperlink
protected JRHyperlink itemHyperlink
-
-
Constructor Detail
-
JRBaseTimePeriodSeries
protected JRBaseTimePeriodSeries()
-
JRBaseTimePeriodSeries
public JRBaseTimePeriodSeries(JRTimePeriodSeries timePeriodSeries, ChartsBaseObjectFactory factory)
-
-
Method Detail
-
getSeriesExpression
public JRExpression getSeriesExpression()
- Specified by:
getSeriesExpression
in interfaceJRTimePeriodSeries
- Returns:
- a
java.lang.Comparable
object that identifies each series.
-
getStartDateExpression
public JRExpression getStartDateExpression()
- Specified by:
getStartDateExpression
in interfaceJRTimePeriodSeries
- Returns:
- a
java.util.Date
expression representing the start of the time period
-
getEndDateExpression
public JRExpression getEndDateExpression()
- Specified by:
getEndDateExpression
in interfaceJRTimePeriodSeries
- Returns:
- a
java.util.Date
expression representing the end of the time period
-
getValueExpression
public JRExpression getValueExpression()
- Specified by:
getValueExpression
in interfaceJRTimePeriodSeries
- Returns:
- a numeric expression representing the value associated with the time period.
-
getLabelExpression
public JRExpression getLabelExpression()
- Specified by:
getLabelExpression
in interfaceJRTimePeriodSeries
- Returns:
- the label expression. If present, its values will be used to customize item labels in the resulting chart.
-
getItemHyperlink
public JRHyperlink getItemHyperlink()
Description copied from interface:JRTimePeriodSeries
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 interfaceJRTimePeriodSeries
- Returns:
- hyperlink specification for chart items
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classObject
-
-