Class TaskSubTaskIntervalCategoryToolTipGenerator
- java.lang.Object
-
- org.jfree.chart.labels.AbstractCategoryItemLabelGenerator
-
- org.jfree.chart.labels.StandardCategoryToolTipGenerator
-
- org.jfree.chart.labels.IntervalCategoryToolTipGenerator
-
- org.processmining.servicelevelagreements.plugin.visualizers.TaskSubTaskIntervalCategoryToolTipGenerator
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,org.jfree.chart.labels.CategoryToolTipGenerator,org.jfree.util.PublicCloneable
public class TaskSubTaskIntervalCategoryToolTipGenerator extends org.jfree.chart.labels.IntervalCategoryToolTipGeneratorBased on code from {@link http://www.jfree.org/phpBB2/viewtopic.php?f=3&t=25380}- Author:
- B.F.A. Hompes
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TaskSubTaskIntervalCategoryToolTipGenerator()TaskSubTaskIntervalCategoryToolTipGenerator(java.lang.String labelFormat, java.text.DateFormat format)TaskSubTaskIntervalCategoryToolTipGenerator(java.lang.String labelFormat, java.text.NumberFormat format)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object[]createItemArray(org.jfree.data.category.CategoryDataset dataset, int row, int column)Creates the array of items that can be passed to theMessageFormatclass for creating labels.voidsetSubTaskIndex(int subTaskIndex)-
Methods inherited from class org.jfree.chart.labels.StandardCategoryToolTipGenerator
generateToolTip
-
-
-
-
Constructor Detail
-
TaskSubTaskIntervalCategoryToolTipGenerator
public TaskSubTaskIntervalCategoryToolTipGenerator()
-
TaskSubTaskIntervalCategoryToolTipGenerator
public TaskSubTaskIntervalCategoryToolTipGenerator(java.lang.String labelFormat, java.text.NumberFormat format)
-
TaskSubTaskIntervalCategoryToolTipGenerator
public TaskSubTaskIntervalCategoryToolTipGenerator(java.lang.String labelFormat, java.text.DateFormat format)
-
-
Method Detail
-
createItemArray
protected java.lang.Object[] createItemArray(org.jfree.data.category.CategoryDataset dataset, int row, int column)Creates the array of items that can be passed to theMessageFormatclass for creating labels.- Overrides:
createItemArrayin classorg.jfree.chart.labels.IntervalCategoryToolTipGenerator- Parameters:
dataset- the dataset (nullnot permitted).row- the row index (zero-based).column- the column index (zero-based).- Returns:
- The items (never
null).
-
setSubTaskIndex
public void setSubTaskIndex(int subTaskIndex)
-
-