org.jfree.data.gantt

Interface GanttCategoryDataset

public interface GanttCategoryDataset extends IntervalCategoryDataset

An extension of the IntervalCategoryDataset interface that adds support for multiple sub-intervals.
Method Summary
NumbergetEndValue(int row, int column, int subinterval)
Returns the end value of a sub-interval for a given item.
NumbergetEndValue(Comparable rowKey, Comparable 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(Comparable rowKey, Comparable columnKey)
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(Comparable rowKey, Comparable 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(Comparable rowKey, Comparable 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(Comparable rowKey, Comparable columnKey)
Returns the number of sub-intervals for a given item.

Method Detail

getEndValue

public 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: GanttCategoryDataset

getEndValue

public 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).

See Also: GanttCategoryDataset

getPercentComplete

public 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: GanttCategoryDataset

getPercentComplete

public 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.

See Also: GanttCategoryDataset

getPercentComplete

public 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: GanttCategoryDataset

getPercentComplete

public 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 percent complete value (possibly null).

See Also: GanttCategoryDataset

getStartValue

public 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: GanttCategoryDataset

getStartValue

public 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).

See Also: GanttCategoryDataset

getSubIntervalCount

public 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: GanttCategoryDataset

getSubIntervalCount

public 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.

See Also: GanttCategoryDataset

Copyright © 2000-2009 by Object Refinery Limited. All Rights Reserved.