| java.lang.Object | ||
| ↳ | org.jfree.data.general.AbstractDataset | |
| ↳ | org.jfree.data.gantt.SlidingGanttCategoryDataset | |
A GanttCategoryDataset implementation that presents a subset of the
categories in an underlying dataset. The index of the first "visible"
category can be modified, which provides a means of "sliding" through
the categories in the underlying dataset.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new instance.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns an independent copy of the dataset.
| |||||||||||
Tests this
SlidingCategoryDataset for equality with an
arbitrary object. | |||||||||||
Returns the number of columns in the table.
| |||||||||||
Returns the index for the specified column key.
| |||||||||||
Returns the column key for a given index.
| |||||||||||
Returns the column keys.
| |||||||||||
Returns the end value of a sub-interval for a given item.
| |||||||||||
Returns the end value of a sub-interval for a given item.
| |||||||||||
Returns the end value for the interval for a given series and category.
| |||||||||||
Returns the end value for the interval for a given series and category.
| |||||||||||
Returns the index of the first visible category.
| |||||||||||
Returns the maximum category count.
| |||||||||||
Returns the percentage complete value of a sub-interval for a given item.
| |||||||||||
Returns the percentage complete value of a sub-interval for a given item.
| |||||||||||
Returns the percent complete for a given item.
| |||||||||||
Returns the percent complete for a given item.
| |||||||||||
Returns the number of rows in the table.
| |||||||||||
Returns the row index for a given key.
| |||||||||||
Returns the row key for a given index.
| |||||||||||
Returns the row keys.
| |||||||||||
Returns the start value of a sub-interval for a given item.
| |||||||||||
Returns the start value for the interval for a given series and category.
| |||||||||||
Returns the start value of a sub-interval for a given item.
| |||||||||||
Returns the start value for the interval for a given series and category.
| |||||||||||
Returns the number of sub-intervals for a given item.
| |||||||||||
Returns the number of sub-intervals for a given item.
| |||||||||||
Returns the underlying dataset that was supplied to the constructor.
| |||||||||||
Returns a value from the table.
| |||||||||||
Returns the value for a pair of keys.
| |||||||||||
Sets the index of the first category that should be used from the
underlying dataset, and sends a
DatasetChangeEvent to all
registered listeners. | |||||||||||
Sets the maximum category count and sends a
DatasetChangeEvent
to all registered listeners. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.jfree.data.general.AbstractDataset
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.io.ObjectInputValidation
| |||||||||||
From interface
org.jfree.data.KeyedValues2D
| |||||||||||
From interface
org.jfree.data.Values2D
| |||||||||||
From interface
org.jfree.data.category.IntervalCategoryDataset
| |||||||||||
From interface
org.jfree.data.gantt.GanttCategoryDataset
| |||||||||||
From interface
org.jfree.data.general.Dataset
| |||||||||||
Creates a new instance.
| underlying | the underlying dataset (null not
permitted). |
|---|---|
| firstColumn | the index of the first visible column from the underlying dataset. |
| maxColumns | the maximumColumnCount. |
Returns an independent copy of the dataset. Note that:
| CloneNotSupportedException | if the dataset cannot be cloned for any reason. |
|---|
Tests this SlidingCategoryDataset for equality with an
arbitrary object.
| obj | the object (null permitted). |
|---|
Returns the number of columns in the table.
Returns the index for the specified column key.
| key | the key. |
|---|
Returns the column key for a given index.
| column | the column index (zero-based). |
|---|
| IndexOutOfBoundsException | if row is out of bounds.
|
|---|
Returns the end value of a sub-interval for a given item.
| rowKey | the row key. |
|---|---|
| columnKey | the column key. |
| subinterval | the sub-interval. |
null).Returns the end value of a sub-interval for a given item.
| row | the row index (zero-based). |
|---|---|
| column | the column index (zero-based). |
| subinterval | the sub-interval. |
null).Returns the end value for the interval for a given series and category.
| series | the series (zero-based index). |
|---|---|
| category | the category (zero-based index). |
null).
Returns the end value for the interval for a given series and category.
| rowKey | the series key. |
|---|---|
| columnKey | the category key. |
null).Returns the index of the first visible category.
Returns the maximum category count.
Returns the percentage complete value of a sub-interval for a given item.
| rowKey | the row key. |
|---|---|
| columnKey | the column key. |
| subinterval | the sub-interval. |
null).Returns the percentage complete value of a sub-interval for a given item.
| row | the row index (zero-based). |
|---|---|
| column | the column index (zero-based). |
| subinterval | the sub-interval. |
null).Returns the percent complete for a given item.
| series | the row index (zero-based). |
|---|---|
| category | the column index (zero-based). |
Returns the percent complete for a given item.
| rowKey | the row key. |
|---|---|
| columnKey | the column key. |
Returns the number of rows in the table.
Returns the row index for a given key.
| key | the row key. |
|---|
-1 if the key is unrecognised.
Returns the row key for a given index.
| row | the row index (zero-based). |
|---|
| IndexOutOfBoundsException | if row is out of bounds.
|
|---|
Returns the start value of a sub-interval for a given item.
| rowKey | the row key. |
|---|---|
| columnKey | the column key. |
| subinterval | the sub-interval. |
null).Returns the start value for the interval for a given series and category.
| rowKey | the series key. |
|---|---|
| columnKey | the category key. |
null).Returns the start value of a sub-interval for a given item.
| row | the row index (zero-based). |
|---|---|
| column | the column index (zero-based). |
| subinterval | the sub-interval index (zero-based). |
null).Returns the start value for the interval for a given series and category.
| row | the series (zero-based index). |
|---|---|
| column | the category (zero-based index). |
null).Returns the number of sub-intervals for a given item.
| row | the row index (zero-based). |
|---|---|
| column | the column index (zero-based). |
Returns the number of sub-intervals for a given item.
| rowKey | the row key. |
|---|---|
| columnKey | the column key. |
Returns the underlying dataset that was supplied to the constructor.
null).
Returns a value from the table.
| row | the row index (zero-based). |
|---|---|
| column | the column index (zero-based). |
null).
Returns the value for a pair of keys.
| rowKey | the row key (null not permitted). |
|---|---|
| columnKey | the column key (null not permitted). |
null).| UnknownKeyException | if either key is not defined in the dataset. |
|---|
Sets the index of the first category that should be used from the
underlying dataset, and sends a DatasetChangeEvent to all
registered listeners.
| first | the index. |
|---|
Sets the maximum category count and sends a DatasetChangeEvent
to all registered listeners.
| max | the maximum. |
|---|