| java.lang.Object | ||
| ↳ | org.jfree.data.general.Series | |
| ↳ | org.jfree.data.gantt.TaskSeries | |
A series that contains zero, one or many Task objects.
This class is used as a building block for the TaskSeriesCollection
class that can be used to construct basic Gantt charts.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new series with the specified name.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Adds a task to the series and sends a
SeriesChangeEvent to all registered
listeners. | |||||||||||
Returns an independent copy of this series.
| |||||||||||
Tests this object for equality with an arbitrary object.
| |||||||||||
Returns a task from the series.
| |||||||||||
Returns the task in the series that has the specified description.
| |||||||||||
Returns the number of items in the series.
| |||||||||||
Returns an unmodifialble list of the tasks in the series.
| |||||||||||
Removes a task from the series and sends
a
SeriesChangeEvent
to all registered listeners. | |||||||||||
Removes all tasks from the series and sends
a
SeriesChangeEvent
to all registered listeners. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.jfree.data.general.Series
| |||||||||||
From class
java.lang.Object
| |||||||||||
Constructs a new series with the specified name.
| name | the series name (null not permitted).
|
|---|
Adds a task to the series and sends a
SeriesChangeEvent to all registered
listeners.
| task | the task (null not permitted).
|
|---|
Returns an independent copy of this series.
| CloneNotSupportedException | if there is some problem cloning the dataset. |
|---|
Tests this object for equality with an arbitrary object.
| obj | the object to test against (null permitted). |
|---|
Returns a task from the series.
| index | the task index (zero-based). |
|---|
Returns the task in the series that has the specified description.
| description | the name (null not permitted). |
|---|
null).
Returns the number of items in the series.
Returns an unmodifialble list of the tasks in the series.
Removes a task from the series and sends
a SeriesChangeEvent
to all registered listeners.
| task | the task. |
|---|
Removes all tasks from the series and sends
a SeriesChangeEvent
to all registered listeners.