Package net.sf.jasperreports.charts.fill
Class JRFillGanttSeries
- java.lang.Object
-
- net.sf.jasperreports.charts.fill.JRFillGanttSeries
-
- All Implemented Interfaces:
JRGanttSeries
public class JRFillGanttSeries extends Object implements JRGanttSeries
- Author:
- Peter Risko (peter@risko.hu)
-
-
Field Summary
Fields Modifier and Type Field Description protected JRGanttSeriesparent
-
Constructor Summary
Constructors Constructor Description JRFillGanttSeries(JRGanttSeries ganttSeries, JRFillObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidevaluate(JRCalculator calculator)protected voidevaluateItemHyperlink(JRCalculator calculator)protected DategetEndDate()JRExpressiongetEndDateExpression()JRHyperlinkgetItemHyperlink()Returns the hyperlink specification for chart items.protected StringgetLabel()JRExpressiongetLabelExpression()protected NumbergetPercent()JRExpressiongetPercentExpression()protected JRPrintHyperlinkgetPrintItemHyperlink()protected Comparable<?>getSeries()JRExpressiongetSeriesExpression()protected DategetStartDate()JRExpressiongetStartDateExpression()protected StringgetSubtask()JRExpressiongetSubtaskExpression()protected StringgetTask()JRExpressiongetTaskExpression()booleanhasItemHyperlinks()
-
-
-
Field Detail
-
parent
protected JRGanttSeries parent
-
-
Constructor Detail
-
JRFillGanttSeries
public JRFillGanttSeries(JRGanttSeries ganttSeries, JRFillObjectFactory factory)
-
-
Method Detail
-
getSeriesExpression
public JRExpression getSeriesExpression()
- Specified by:
getSeriesExpressionin interfaceJRGanttSeries- Returns:
- the expression of the series name
-
getStartDateExpression
public JRExpression getStartDateExpression()
- Specified by:
getStartDateExpressionin interfaceJRGanttSeries- Returns:
- the start date expression
-
getEndDateExpression
public JRExpression getEndDateExpression()
- Specified by:
getEndDateExpressionin interfaceJRGanttSeries- Returns:
- the end date expression
-
getTaskExpression
public JRExpression getTaskExpression()
- Specified by:
getTaskExpressionin interfaceJRGanttSeries- Returns:
- the expression of the task name
-
getSubtaskExpression
public JRExpression getSubtaskExpression()
- Specified by:
getSubtaskExpressionin interfaceJRGanttSeries- Returns:
- the expression of the subtask name
-
getPercentExpression
public JRExpression getPercentExpression()
- Specified by:
getPercentExpressionin interfaceJRGanttSeries- Returns:
- the task percent expression
-
getLabelExpression
public JRExpression getLabelExpression()
- Specified by:
getLabelExpressionin interfaceJRGanttSeries- Returns:
- the label expression
-
getSeries
protected Comparable<?> getSeries()
-
getStartDate
protected Date getStartDate()
-
getEndDate
protected Date getEndDate()
-
getTask
protected String getTask()
-
getSubtask
protected String getSubtask()
-
getPercent
protected Number getPercent()
-
getLabel
protected 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:JRGanttSeriesReturns the hyperlink specification for chart items.The hyperlink will be evaluated for every chart item and an image map will be created for the chart.
- Specified by:
getItemHyperlinkin interfaceJRGanttSeries- Returns:
- hyperlink specification for chart items
-
hasItemHyperlinks
public boolean hasItemHyperlinks()
-
-