org.jfree.data.gantt
public class TaskSeriesCollection extends AbstractSeriesDataset implements GanttCategoryDataset, Cloneable, PublicCloneable, Serializable
Constructor Summary | |
---|---|
TaskSeriesCollection()
Default constructor. |
Method Summary | |
---|---|
void | add(TaskSeries series)
Adds a series to the dataset and sends a
DatasetChangeEvent to all registered
listeners.
|
boolean | equals(Object obj)
Tests this instance for equality with an arbitrary object.
|
int | getColumnCount()
Returns the number of column in the dataset.
|
int | getColumnIndex(Comparable columnKey)
Returns the column index for a column key.
|
Comparable | getColumnKey(int index)
Returns a column key.
|
List | getColumnKeys()
Returns a list of the column keys in the dataset.
|
Number | getEndValue(Comparable rowKey, Comparable columnKey)
Returns the end value for a task. |
Number | getEndValue(int row, int column)
Returns the end value for a task.
|
Number | getEndValue(int row, int column, int subinterval)
Returns the end value of a sub-interval for a given item.
|
Number | getEndValue(Comparable rowKey, Comparable columnKey, int subinterval)
Returns the end value of a sub-interval for a given item.
|
Number | getPercentComplete(int row, int column)
Returns the percent complete for a given item.
|
Number | getPercentComplete(Comparable rowKey, Comparable columnKey)
Returns the percent complete for a given item.
|
Number | getPercentComplete(int row, int column, int subinterval)
Returns the percentage complete value of a sub-interval for a given item.
|
Number | getPercentComplete(Comparable rowKey, Comparable columnKey, int subinterval)
Returns the percentage complete value of a sub-interval for a given item.
|
int | getRowCount()
Returns the number of rows (series) in the collection.
|
int | getRowIndex(Comparable rowKey)
Returns the row index for the given row key.
|
Comparable | getRowKey(int index)
Returns the key for a row.
|
List | getRowKeys()
Returns the row keys. |
TaskSeries | getSeries(Comparable key)
Returns a series from the collection.
|
TaskSeries | getSeries(int series)
Returns a series from the collection.
|
int | getSeriesCount()
Returns the number of series in the collection.
|
Comparable | getSeriesKey(int series)
Returns the name of a series.
|
Number | getStartValue(Comparable rowKey, Comparable columnKey)
Returns the start value for a task. |
Number | getStartValue(int row, int column)
Returns the start value for a task.
|
Number | getStartValue(int row, int column, int subinterval)
Returns the start value of a sub-interval for a given item.
|
Number | getStartValue(Comparable rowKey, Comparable columnKey, int subinterval)
Returns the start value of a sub-interval for a given item.
|
int | getSubIntervalCount(int row, int column)
Returns the number of sub-intervals for a given item.
|
int | getSubIntervalCount(Comparable rowKey, Comparable columnKey)
Returns the number of sub-intervals for a given item.
|
Number | getValue(Comparable rowKey, Comparable columnKey)
Returns the value for an item.
|
Number | getValue(int row, int column)
Returns the value for a task.
|
void | remove(TaskSeries series)
Removes a series from the collection and sends
a DatasetChangeEvent
to all registered listeners.
|
void | remove(int series)
Removes a series from the collection and sends
a DatasetChangeEvent
to all registered listeners.
|
void | removeAll()
Removes all the series from the collection and sends
a DatasetChangeEvent
to all registered listeners. |
void | seriesChanged(SeriesChangeEvent event)
Called when a series belonging to the dataset changes.
|
Parameters: series the series (null
not permitted).
Parameters: obj the object (null
permitted).
Returns: A boolean.
Returns: The column count.
Parameters: columnKey the columnKey.
Returns: The column index.
Parameters: index the column index.
Returns: The column key.
Returns: The category list.
Parameters: rowKey the series. columnKey the category.
Returns: The end value (possibly null
).
Parameters: row the row index (zero-based). column the column index (zero-based).
Returns: The end value.
Parameters: row the row index (zero-based). column the column index (zero-based). subinterval the subinterval.
Returns: The end value (possibly null
).
Parameters: rowKey the row key. columnKey the column key. subinterval the subinterval.
Returns: The end value (possibly null
).
Parameters: row the row index (zero-based). column the column index (zero-based).
Returns: The percent complete (possibly null
).
Parameters: rowKey the row key. columnKey the column key.
Returns: The percent complete.
Parameters: row the row index (zero-based). column the column index (zero-based). subinterval the sub-interval.
Returns: The percent complete value (possibly null
).
Parameters: rowKey the row key. columnKey the column key. subinterval the sub-interval.
Returns: The precent complete value (possibly null
).
Returns: The series count.
Parameters: rowKey the row key.
Returns: The index.
Parameters: index the row index (zero-based).
Returns: The key.
Returns: The row keys.
Parameters: key the series key (null
not permitted).
Returns: The series.
Since: 1.0.1
Parameters: series the series index (zero-based).
Returns: The series.
Since: 1.0.1
Returns: The series count.
Parameters: series the series index (zero-based).
Returns: The name of a series.
Parameters: rowKey the series. columnKey the category.
Returns: The start value (possibly null
).
Parameters: row the row index (zero-based). column the column index (zero-based).
Returns: The start value.
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
).
Parameters: rowKey the row key. columnKey the column key. subinterval the subinterval.
Returns: The start value (possibly null
).
Parameters: row the row index (zero-based). column the column index (zero-based).
Returns: The sub-interval count.
Parameters: rowKey the row key. columnKey the column key.
Returns: The sub-interval count.
Parameters: rowKey the row key. columnKey the column key.
Returns: The item value.
Parameters: row the row index (zero-based). column the column index (zero-based).
Returns: The start value.
Parameters: series the series.
Parameters: series the series (zero based index).
Parameters: event information about the change.