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 JRGanttSeries
parent
-
Constructor Summary
Constructors Constructor Description JRFillGanttSeries(JRGanttSeries ganttSeries, ChartsFillObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
evaluate(JRCalculator calculator)
protected void
evaluateItemHyperlink(JRCalculator calculator)
protected Date
getEndDate()
JRExpression
getEndDateExpression()
JRHyperlink
getItemHyperlink()
Returns the hyperlink specification for chart items.protected String
getLabel()
JRExpression
getLabelExpression()
protected Number
getPercent()
JRExpression
getPercentExpression()
protected JRPrintHyperlink
getPrintItemHyperlink()
protected Comparable<?>
getSeries()
JRExpression
getSeriesExpression()
protected Date
getStartDate()
JRExpression
getStartDateExpression()
protected String
getSubtask()
JRExpression
getSubtaskExpression()
protected String
getTask()
JRExpression
getTaskExpression()
boolean
hasItemHyperlinks()
-
-
-
Field Detail
-
parent
protected JRGanttSeries parent
-
-
Constructor Detail
-
JRFillGanttSeries
public JRFillGanttSeries(JRGanttSeries ganttSeries, ChartsFillObjectFactory factory)
-
-
Method Detail
-
getSeriesExpression
public JRExpression getSeriesExpression()
- Specified by:
getSeriesExpression
in interfaceJRGanttSeries
- Returns:
- the expression of the series name
-
getStartDateExpression
public JRExpression getStartDateExpression()
- Specified by:
getStartDateExpression
in interfaceJRGanttSeries
- Returns:
- the start date expression
-
getEndDateExpression
public JRExpression getEndDateExpression()
- Specified by:
getEndDateExpression
in interfaceJRGanttSeries
- Returns:
- the end date expression
-
getTaskExpression
public JRExpression getTaskExpression()
- Specified by:
getTaskExpression
in interfaceJRGanttSeries
- Returns:
- the expression of the task name
-
getSubtaskExpression
public JRExpression getSubtaskExpression()
- Specified by:
getSubtaskExpression
in interfaceJRGanttSeries
- Returns:
- the expression of the subtask name
-
getPercentExpression
public JRExpression getPercentExpression()
- Specified by:
getPercentExpression
in interfaceJRGanttSeries
- Returns:
- the task percent expression
-
getLabelExpression
public JRExpression getLabelExpression()
- Specified by:
getLabelExpression
in 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:JRGanttSeries
Returns 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:
getItemHyperlink
in interfaceJRGanttSeries
- Returns:
- hyperlink specification for chart items
-
hasItemHyperlinks
public boolean hasItemHyperlinks()
-
-