Module org.jfree.chart
Package org.jfree.data.gantt
Interface GanttCategoryDataset<R extends Comparable<R>,C extends Comparable<C>>
-
- All Superinterfaces:
CategoryDataset<R,C>,Dataset,IntervalCategoryDataset<R,C>,KeyedValues2D<R,C>,Values2D
- All Known Implementing Classes:
SlidingGanttCategoryDataset,TaskSeriesCollection
public interface GanttCategoryDataset<R extends Comparable<R>,C extends Comparable<C>> extends IntervalCategoryDataset<R,C>
An extension of theIntervalCategoryDatasetinterface that adds support for multiple sub-intervals.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NumbergetEndValue(int row, int column, int subinterval)Returns the end value of a sub-interval for a given item.NumbergetEndValue(R rowKey, C columnKey, int subinterval)Returns the end value of a sub-interval for a given item.NumbergetPercentComplete(int row, int column)Returns the percent complete for a given item.NumbergetPercentComplete(int row, int column, int subinterval)Returns the percentage complete value of a sub-interval for a given item.NumbergetPercentComplete(R rowKey, C columnKey)Returns the percent complete for a given item.NumbergetPercentComplete(R rowKey, C columnKey, int subinterval)Returns the percentage complete value of a sub-interval for a given item.NumbergetStartValue(int row, int column, int subinterval)Returns the start value of a sub-interval for a given item.NumbergetStartValue(R rowKey, C columnKey, int subinterval)Returns the start value of a sub-interval for a given item.intgetSubIntervalCount(int row, int column)Returns the number of sub-intervals for a given item.intgetSubIntervalCount(R rowKey, C columnKey)Returns the number of sub-intervals for a given item.-
Methods inherited from interface org.jfree.data.general.Dataset
addChangeListener, removeChangeListener
-
Methods inherited from interface org.jfree.data.category.IntervalCategoryDataset
getEndValue, getEndValue, getStartValue, getStartValue
-
Methods inherited from interface org.jfree.data.KeyedValues2D
getColumnIndex, getColumnKey, getColumnKeys, getRowIndex, getRowKey, getRowKeys, getValue
-
Methods inherited from interface org.jfree.data.Values2D
getColumnCount, getRowCount, getValue
-
-
-
-
Method Detail
-
getPercentComplete
Number getPercentComplete(int row, int column)
Returns the percent complete for a given item.- Parameters:
row- the row index (zero-based).column- the column index (zero-based).- Returns:
- The percent complete.
- See Also:
getPercentComplete(Comparable, Comparable)
-
getPercentComplete
Number getPercentComplete(R rowKey, C columnKey)
Returns the percent complete for a given item.- Parameters:
rowKey- the row key.columnKey- the column key.- Returns:
- The percent complete.
- See Also:
getPercentComplete(int, int)
-
getSubIntervalCount
int getSubIntervalCount(int row, int column)
Returns the number of sub-intervals for a given item.- Parameters:
row- the row index (zero-based).column- the column index (zero-based).- Returns:
- The sub-interval count.
- See Also:
getSubIntervalCount(Comparable, Comparable)
-
getSubIntervalCount
int getSubIntervalCount(R rowKey, C columnKey)
Returns the number of sub-intervals for a given item.- Parameters:
rowKey- the row key.columnKey- the column key.- Returns:
- The sub-interval count.
- See Also:
getSubIntervalCount(int, int)
-
getStartValue
Number getStartValue(int row, int column, int subinterval)
Returns the start value of a sub-interval for a given item.- Parameters:
row- the row index (zero-based).column- the column index (zero-based).subinterval- the sub-interval index (zero-based).- Returns:
- The start value (possibly
null). - See Also:
getEndValue(int, int, int)
-
getStartValue
Number getStartValue(R rowKey, C columnKey, int subinterval)
Returns the start value of a sub-interval for a given item.- Parameters:
rowKey- the row key.columnKey- the column key.subinterval- the sub-interval.- Returns:
- The start value (possibly
null). - See Also:
getEndValue(Comparable, Comparable, int)
-
getEndValue
Number getEndValue(int row, int column, int subinterval)
Returns the end value of a sub-interval for a given item.- Parameters:
row- the row index (zero-based).column- the column index (zero-based).subinterval- the sub-interval.- Returns:
- The end value (possibly
null). - See Also:
getStartValue(int, int, int)
-
getEndValue
Number getEndValue(R rowKey, C columnKey, int subinterval)
Returns the end value of a sub-interval for a given item.- Parameters:
rowKey- the row key.columnKey- the column key.subinterval- the sub-interval.- Returns:
- The end value (possibly
null). - See Also:
getStartValue(Comparable, Comparable, int)
-
getPercentComplete
Number getPercentComplete(int row, int column, int subinterval)
Returns the percentage complete value of a sub-interval for a given item.- Parameters:
row- the row index (zero-based).column- the column index (zero-based).subinterval- the sub-interval.- Returns:
- The percent complete value (possibly
null). - See Also:
getPercentComplete(Comparable, Comparable, int)
-
getPercentComplete
Number getPercentComplete(R rowKey, C columnKey, int subinterval)
Returns the percentage complete value of a sub-interval for a given item.- Parameters:
rowKey- the row key.columnKey- the column key.subinterval- the sub-interval.- Returns:
- The percent complete value (possibly
null). - See Also:
getPercentComplete(int, int, int)
-
-