java.lang.Object | ||||
↳ | org.jfree.data.general.AbstractDataset | |||
↳ | org.jfree.data.general.AbstractSeriesDataset | |||
↳ | org.jfree.data.xy.AbstractXYDataset | |||
↳ | org.jfree.data.gantt.XYTaskDataset |
A dataset implementation that wraps a TaskSeriesCollection
and
presents it as an IntervalXYDataset
, allowing a set of tasks to
be displayed using an XYBarRenderer
(and usually a
SymbolAxis
). This is a very specialised dataset implementation
---before using it, you should take some time to understand the use-cases
that it is designed for.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new dataset based on the supplied collection of tasks.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a clone of this dataset.
| |||||||||||
Receives a change event from the underlying dataset and responds by
firing a change event for this dataset.
| |||||||||||
Tests this dataset for equality with an arbitrary object.
| |||||||||||
Returns the ending date/time for the specified item (task) in the
given series, measured in milliseconds since 1-Jan-1970 (as in
java.util.Date).
| |||||||||||
Returns the ending date/time for the specified item (task) in the
given series, measured in milliseconds since 1-Jan-1970 (as in
java.util.Date).
| |||||||||||
Returns the ending value of the y-interval for an item in the
given series.
| |||||||||||
Returns the ending value of the y-interval for an item in the
given series.
| |||||||||||
Returns the number of items (tasks) in the specified series.
| |||||||||||
Returns the number of series in the dataset.
| |||||||||||
Returns the name of a series.
| |||||||||||
Returns the width of the interval for each series this dataset.
| |||||||||||
Returns the starting date/time for the specified item (task) in the
given series, measured in milliseconds since 1-Jan-1970 (as in
java.util.Date).
| |||||||||||
Returns the starting date/time for the specified item (task) in the
given series, measured in milliseconds since 1-Jan-1970 (as in
java.util.Date).
| |||||||||||
Returns the starting value of the y-interval for an item in the
given series.
| |||||||||||
Returns the starting value of the y-interval for an item in the
given series.
| |||||||||||
Returns the underlying task series collection that was supplied to the
constructor.
| |||||||||||
Returns the x-value for the specified series.
| |||||||||||
Returns the x-value (as a double primitive) for an item within a series.
| |||||||||||
Returns the y-value for the specified series/item.
| |||||||||||
Returns the y-value (as a double primitive) for an item within a series.
| |||||||||||
Returns a flag that indicates whether or not the dataset is transposed.
| |||||||||||
Sets the series interval width and sends a
DatasetChangeEvent to
all registered listeners. | |||||||||||
Sets the flag that controls whether or not the dataset is transposed
and sends a
DatasetChangeEvent to all registered listeners. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Creates a new dataset based on the supplied collection of tasks.
tasks | the underlying dataset (null not permitted).
|
---|
Returns a clone of this dataset.
CloneNotSupportedException | if there is a problem cloning. |
---|
Receives a change event from the underlying dataset and responds by firing a change event for this dataset.
event | the event. |
---|
Tests this dataset for equality with an arbitrary object.
obj | the object (null permitted). |
---|
Returns the ending date/time for the specified item (task) in the given series, measured in milliseconds since 1-Jan-1970 (as in java.util.Date).
series | the series index. |
---|---|
item | the item (or task) index. |
Returns the ending date/time for the specified item (task) in the given series, measured in milliseconds since 1-Jan-1970 (as in java.util.Date).
series | the series index. |
---|---|
item | the item (or task) index. |
Returns the ending value of the y-interval for an item in the given series.
series | the series index. |
---|---|
item | the item (or task) index. |
Returns the ending value of the y-interval for an item in the given series.
series | the series index. |
---|---|
item | the item (or task) index. |
Returns the number of items (tasks) in the specified series.
series | the series index (zero-based). |
---|
Returns the number of series in the dataset.
Returns the name of a series.
series | the series index (zero-based). |
---|
Returns the width of the interval for each series this dataset.
Returns the starting date/time for the specified item (task) in the given series, measured in milliseconds since 1-Jan-1970 (as in java.util.Date).
series | the series index. |
---|---|
item | the item (or task) index. |
Returns the starting date/time for the specified item (task) in the given series, measured in milliseconds since 1-Jan-1970 (as in java.util.Date).
series | the series index. |
---|---|
item | the item (or task) index. |
Returns the starting value of the y-interval for an item in the given series.
series | the series index. |
---|---|
item | the item (or task) index. |
Returns the starting value of the y-interval for an item in the given series.
series | the series index. |
---|---|
item | the item (or task) index. |
Returns the underlying task series collection that was supplied to the constructor.
null
).
Returns the x-value for the specified series.
series | the series index. |
---|---|
item | the item index. |
Returns the x-value (as a double primitive) for an item within a series.
series | the series index (zero-based). |
---|---|
item | the item index (zero-based). |
Returns the y-value for the specified series/item. In this implementation, we return the series index as the y-value (this means that every item in the series has a constant integer value).
series | the series index. |
---|---|
item | the item index. |
Returns the y-value (as a double primitive) for an item within a series.
series | the series index (zero-based). |
---|---|
item | the item index (zero-based). |
Returns a flag that indicates whether or not the dataset is transposed.
The default is false
which means the x-values are integers
corresponding to the series indices, and the y-values are millisecond
values corresponding to the task date/time intervals. If the flag
is set to true
, the x and y-values are reversed.
Sets the series interval width and sends a DatasetChangeEvent
to
all registered listeners.
w | the width. |
---|
Sets the flag that controls whether or not the dataset is transposed
and sends a DatasetChangeEvent
to all registered listeners.
transposed | the new flag value. |
---|