| java.lang.Object | |||
| ↳ | org.jfree.data.general.AbstractDataset | ||
| ↳ | org.jfree.data.general.AbstractSeriesDataset | ||
| ↳ | org.jfree.data.category.DefaultIntervalCategoryDataset | ||
A convenience class that provides a default implementation of the
IntervalCategoryDataset interface.
The standard constructor accepts data in a two dimensional array where the first dimension is the series, and the second dimension is the category.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new dataset using the specified data values and automatically
generated series and category keys.
| |||||||||||
Constructs a dataset and populates it with data from the array.
| |||||||||||
Constructs a DefaultIntervalCategoryDataset, populates it with data
from the arrays, and uses the supplied names for the series.
| |||||||||||
Constructs a DefaultIntervalCategoryDataset, populates it with data
from the arrays, and uses the supplied names for the series and the
supplied objects for the categories.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns a clone of this dataset.
| |||||||||||
Tests this dataset for equality with an arbitrary object.
| |||||||||||
This method is deprecated.
Use
getColumnKeys() instead.
| |||||||||||
Returns the number of categories in the dataset.
| |||||||||||
Returns the index for the given category.
| |||||||||||
Returns the number of categories in the dataset.
| |||||||||||
Returns a column index.
| |||||||||||
Returns a column key.
| |||||||||||
Returns a list of the categories in the dataset.
| |||||||||||
Returns the end data value for one category in a series.
| |||||||||||
Returns the end data value for one category in a series.
| |||||||||||
This method is deprecated.
Use
getCategoryCount() instead.
| |||||||||||
Returns the number of series in the dataset (possibly zero).
| |||||||||||
Returns a row index.
| |||||||||||
Returns the name of the specified series.
| |||||||||||
Returns a list of the series in the dataset.
| |||||||||||
This method is deprecated.
Use
getRowKeys() instead.
| |||||||||||
Returns the number of series in the dataset (possibly zero).
| |||||||||||
Returns a series index.
| |||||||||||
Returns the name of the specified series.
| |||||||||||
Returns the start data value for one category in a series.
| |||||||||||
Returns the start data value for one category in a series.
| |||||||||||
Returns the data value for one category in a series.
| |||||||||||
Returns the data value for one category in a series.
| |||||||||||
Sets the categories for the dataset.
| |||||||||||
Sets the end data value for one category in a series.
| |||||||||||
Sets the names of the series in the dataset.
| |||||||||||
Sets the start data value for one category in a series.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.jfree.data.general.AbstractSeriesDataset
| |||||||||||
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.general.Dataset
| |||||||||||
From interface
org.jfree.data.general.SeriesChangeListener
| |||||||||||
From interface
org.jfree.data.general.SeriesDataset
| |||||||||||
Creates a new dataset using the specified data values and automatically generated series and category keys.
| starts | the starting values for the intervals (null
not permitted). |
|---|---|
| ends | the ending values for the intervals (null not
permitted).
|
Constructs a dataset and populates it with data from the array.
The arrays are indexed as data[series][category]. Series and category
names are automatically generated - you can change them using the
setSeriesKeys(Comparable[]) and
setCategoryKeys(Comparable[]) methods.
| starts | the start values data. |
|---|---|
| ends | the end values data. |
Constructs a DefaultIntervalCategoryDataset, populates it with data from the arrays, and uses the supplied names for the series.
Category names are generated automatically ("Category 1", "Category 2", etc).
| seriesNames | the series names (if null, series names
will be generated automatically). |
|---|---|
| starts | the start values data, indexed as data[series][category]. |
| ends | the end values data, indexed as data[series][category]. |
Constructs a DefaultIntervalCategoryDataset, populates it with data from the arrays, and uses the supplied names for the series and the supplied objects for the categories.
| seriesKeys | the series keys (if null, series keys
will be generated automatically). |
|---|---|
| categoryKeys | the category keys (if null, category
keys will be generated automatically). |
| starts | the start values data, indexed as data[series][category]. |
| ends | the end values data, indexed as data[series][category]. |
Returns a clone of this dataset.
| CloneNotSupportedException | if there is a problem cloning the dataset. |
|---|
Tests this dataset for equality with an arbitrary object.
| obj | the object (null permitted). |
|---|
This method is deprecated.
Use getColumnKeys() instead.
Returns a list of the categories in the dataset.
Returns the number of categories in the dataset.
Returns the index for the given category.
| category | the category (null not permitted). |
|---|
Returns the number of categories in the dataset. This method is part of
the CategoryDataset interface.
Returns a column index.
| columnKey | the column key (null not permitted). |
|---|
Returns a column key.
| column | the column index. |
|---|
Returns a list of the categories in the dataset. This method supports
the CategoryDataset interface.
Returns the end data value for one category in a series.
| series | the required series (zero based index). |
|---|---|
| category | the required category. |
Returns the end data value for one category in a series.
| series | the required series. |
|---|---|
| category | the required category. |
This method is deprecated.
Use getCategoryCount() instead.
Returns the item count.
Returns the number of series in the dataset (possibly zero).
Returns a row index.
| rowKey | the row key. |
|---|
Returns the name of the specified series.
| row | the index of the required row/series (zero-based). |
|---|
Returns a list of the series in the dataset. This method supports the
CategoryDataset interface.
This method is deprecated.
Use getRowKeys() instead.
Returns a list of the series in the dataset.
Returns the number of series in the dataset (possibly zero).
Returns a series index.
| seriesKey | the series key. |
|---|
Returns the name of the specified series.
| series | the index of the required series (zero-based). |
|---|
Returns the start data value for one category in a series.
| series | the required series. |
|---|---|
| category | the required category. |
null).Returns the start data value for one category in a series.
| series | the required series (zero based index). |
|---|---|
| category | the required category. |
null).Returns the data value for one category in a series.
This method is part of the CategoryDataset interface. Not particularly meaningful for this class...returns the end value.
| series | the required series (zero based index). |
|---|---|
| category | the required category. |
Returns the data value for one category in a series.
This method is part of the CategoryDataset interface. Not particularly meaningful for this class...returns the end value.
| series | The required series (zero based index). |
|---|---|
| category | The required category. |
Sets the categories for the dataset.
| categoryKeys | an array of objects representing the categories in the dataset. |
|---|
Sets the end data value for one category in a series.
| series | the series (zero-based index). |
|---|---|
| category | the category. |
| value | the value. |
Sets the names of the series in the dataset.
| seriesKeys | the new keys (null not permitted, the
length of the array must match the number of series in the
dataset). |
|---|
Sets the start data value for one category in a series.
| series | the series (zero-based index). |
|---|---|
| category | the category. |
| value | The value. |