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 JRExpressionendDateExpressionprotected JRHyperlinkitemHyperlinkprotected JRExpressionlabelExpressionprotected JRExpressionseriesExpressionprotected JRExpressionstartDateExpressionprotected JRExpressionvalueExpression
-
Constructor Summary
Constructors Modifier Constructor Description protectedJRBaseTimePeriodSeries()JRBaseTimePeriodSeries(JRTimePeriodSeries timePeriodSeries, JRBaseObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()JRExpressiongetEndDateExpression()JRHyperlinkgetItemHyperlink()Returns the hyperlink specification for chart items.JRExpressiongetLabelExpression()JRExpressiongetSeriesExpression()JRExpressiongetStartDateExpression()JRExpressiongetValueExpression()
-
-
-
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, JRBaseObjectFactory factory)
-
-
Method Detail
-
getSeriesExpression
public JRExpression getSeriesExpression()
- Specified by:
getSeriesExpressionin interfaceJRTimePeriodSeries- Returns:
- a
java.lang.Comparableobject that identifies each series.
-
getStartDateExpression
public JRExpression getStartDateExpression()
- Specified by:
getStartDateExpressionin interfaceJRTimePeriodSeries- Returns:
- a
java.util.Dateexpression representing the start of the time period
-
getEndDateExpression
public JRExpression getEndDateExpression()
- Specified by:
getEndDateExpressionin interfaceJRTimePeriodSeries- Returns:
- a
java.util.Dateexpression representing the end of the time period
-
getValueExpression
public JRExpression getValueExpression()
- Specified by:
getValueExpressionin interfaceJRTimePeriodSeries- Returns:
- a numeric expression representing the value associated with the time period.
-
getLabelExpression
public JRExpression getLabelExpression()
- Specified by:
getLabelExpressionin 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:JRTimePeriodSeriesReturns 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 interfaceJRTimePeriodSeries- Returns:
- hyperlink specification for chart items
-
clone
public Object clone()
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classObject
-
-