Interface GanttCategoryDataset

All Superinterfaces:
CategoryDataset, Dataset, IntervalCategoryDataset, KeyedValues2D, Values2D
All Known Implementing Classes:
TaskSeriesCollection

public interface GanttCategoryDataset
extends IntervalCategoryDataset
An extension of the IntervalCategoryDataset interface that adds support for multiple sub-intervals.
  • Method Details

    • 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.
    • getPercentComplete

      Number getPercentComplete​(Comparable rowKey, Comparable columnKey)
      Returns the percent complete for a given item.
      Parameters:
      rowKey - the row key.
      columnKey - the column key.
      Returns:
      The percent complete.
    • 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.
    • getSubIntervalCount

      int getSubIntervalCount​(Comparable rowKey, Comparable 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.
    • 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).
    • getStartValue

      Number getStartValue​(Comparable rowKey, Comparable 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).
    • 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).
    • getEndValue

      Number getEndValue​(Comparable rowKey, Comparable 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).
    • 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).
    • getPercentComplete

      Number getPercentComplete​(Comparable rowKey, Comparable 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 precent complete value (possibly null).