| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.jfree.data.general.AbstractDatasetorg.jfree.data.general.AbstractSeriesDatasetorg.jfree.data.xy.AbstractXYDatasetorg.jfree.data.xy.AbstractIntervalXYDatasetorg.jfree.data.xy.DefaultIntervalXYDatasetIntervalXYDataset interface
is provided by the XYIntervalSeriesCollection class.
Constructor Summary | |
| |
Method Summary | |
void |
|
Object |
|
boolean |
|
Number |
|
double |
|
Number |
|
double |
|
int |
|
int |
|
Comparable |
|
Number |
|
double |
|
Number |
|
double |
|
Number |
|
double |
|
Number |
|
double |
|
int |
|
Methods inherited from class org.jfree.data.xy.AbstractIntervalXYDataset | |
getEndXValue, getEndYValue, getStartXValue, getStartYValue | |
Methods inherited from class org.jfree.data.xy.AbstractXYDataset | |
getDomainOrder, getXValue, getYValue | |
Methods inherited from class org.jfree.data.general.AbstractSeriesDataset | |
getSeriesCount, getSeriesKey, indexOf, seriesChanged | |
Methods inherited from class org.jfree.data.general.AbstractDataset | |
addChangeListener, clone, fireDatasetChanged, getGroup, hasListener, notifyListeners, removeChangeListener, setGroup, validateObject | |
public DefaultIntervalXYDataset()
Creates a newDefaultIntervalXYDatasetinstance, initially containing no data.
public void addSeries(Comparable seriesKey, double[][] data)
Adds a series or if a series with the same key already exists replaces the data for that series, then sends aDatasetChangeEventto all registered listeners.
- Parameters:
seriesKey- the series key (nullnot permitted).data- the data (must be an array with length 6, containing six arrays of equal length, the first containing the x-values and the second containing the y-values).
public Object clone() throws CloneNotSupportedException
Returns a clone of this dataset.
- Overrides:
- clone in interface AbstractDataset
- Returns:
- A clone.
public boolean equals(Object obj)
Tests thisDefaultIntervalXYDatasetinstance for equality with an arbitrary object. This method returnstrueif and only if:
objis notnull;objis an instance ofDefaultIntervalXYDataset;- both datasets have the same number of series, each containing exactly the same values.
- Parameters:
obj- the object (nullpermitted).
- Returns:
- A boolean.
public Number getEndX(int series, int item)
Returns the ending x-value for an item within a series.
- Specified by:
- getEndX in interface IntervalXYDataset
- Parameters:
series- the series index (in the range0togetSeriesCount() - 1).item- the item index (in the range0togetItemCount(series)).
- Returns:
- The ending x-value.
- See Also:
getEndXValue(int,int)
public double getEndXValue(int series, int item)
Returns the ending x-value for an item within a series.
- Specified by:
- getEndXValue in interface IntervalXYDataset
- Overrides:
- getEndXValue in interface AbstractIntervalXYDataset
- Parameters:
series- the series index (in the range0togetSeriesCount() - 1).item- the item index (in the range0togetItemCount(series)).
- Returns:
- The ending x-value.
- See Also:
getEndX(int,int)
public Number getEndY(int series, int item)
Returns the ending y-value for an item within a series.
- Specified by:
- getEndY in interface IntervalXYDataset
- Parameters:
series- the series index (in the range0togetSeriesCount() - 1).item- the item index (in the range0togetItemCount(series)).
- Returns:
- The ending y-value.
- See Also:
getEndYValue(int,int)
public double getEndYValue(int series, int item)
Returns the ending y-value for an item within a series.
- Specified by:
- getEndYValue in interface IntervalXYDataset
- Overrides:
- getEndYValue in interface AbstractIntervalXYDataset
- Parameters:
series- the series index (in the range0togetSeriesCount() - 1).item- the item index (in the range0togetItemCount(series)).
- Returns:
- The ending y-value.
- See Also:
getEndY(int,int)
public int getItemCount(int series)
Returns the number of items in the specified series.
- Specified by:
- getItemCount in interface XYDataset
- Parameters:
series- the series index (in the range0togetSeriesCount() - 1).
- Returns:
- The item count.
public int getSeriesCount()
Returns the number of series in the dataset.
- Specified by:
- getSeriesCount in interface SeriesDataset
- Overrides:
- getSeriesCount in interface AbstractSeriesDataset
- Returns:
- The series count.
public Comparable getSeriesKey(int series)
Returns the key for a series.
- Specified by:
- getSeriesKey in interface SeriesDataset
- Overrides:
- getSeriesKey in interface AbstractSeriesDataset
- Parameters:
series- the series index (in the range0togetSeriesCount() - 1).
- Returns:
- The key for the series.
public Number getStartX(int series, int item)
Returns the starting x-value for an item within a series.
- Specified by:
- getStartX in interface IntervalXYDataset
- Parameters:
series- the series index (in the range0togetSeriesCount() - 1).item- the item index (in the range0togetItemCount(series)).
- Returns:
- The starting x-value.
- See Also:
getStartXValue(int,int)
public double getStartXValue(int series, int item)
Returns the starting x-value for an item within a series.
- Specified by:
- getStartXValue in interface IntervalXYDataset
- Overrides:
- getStartXValue in interface AbstractIntervalXYDataset
- Parameters:
series- the series index (in the range0togetSeriesCount() - 1).item- the item index (in the range0togetItemCount(series)).
- Returns:
- The starting x-value.
- See Also:
getStartX(int,int)
public Number getStartY(int series, int item)
Returns the starting y-value for an item within a series.
- Specified by:
- getStartY in interface IntervalXYDataset
- Parameters:
series- the series index (in the range0togetSeriesCount() - 1).item- the item index (in the range0togetItemCount(series)).
- Returns:
- The starting y-value.
- See Also:
getStartYValue(int,int)
public double getStartYValue(int series, int item)
Returns the starting y-value for an item within a series.
- Specified by:
- getStartYValue in interface IntervalXYDataset
- Overrides:
- getStartYValue in interface AbstractIntervalXYDataset
- Parameters:
series- the series index (in the range0togetSeriesCount() - 1).item- the item index (in the range0togetItemCount(series)).
- Returns:
- The starting y-value.
- See Also:
getStartY(int,int)
public Number getX(int series, int item)
Returns the x-value for an item within a series.
- Parameters:
series- the series index (in the range0togetSeriesCount() - 1).item- the item index (in the range0togetItemCount(series)).
- Returns:
- The x-value.
- See Also:
getXValue(int,int)
public double getXValue(int series, int item)
Returns the x-value for an item within a series.
- Overrides:
- getXValue in interface AbstractXYDataset
- Parameters:
series- the series index (in the range0togetSeriesCount() - 1).item- the item index (in the range0togetItemCount(series)).
- Returns:
- The x-value.
- See Also:
getX(int,int)
public Number getY(int series, int item)
Returns the y-value for an item within a series.
- Parameters:
series- the series index (in the range0togetSeriesCount() - 1).item- the item index (in the range0togetItemCount(series)).
- Returns:
- The y-value.
- See Also:
getYValue(int,int)
public double getYValue(int series, int item)
Returns the y-value for an item within a series.
- Overrides:
- getYValue in interface AbstractXYDataset
- Parameters:
series- the series index (in the range0togetSeriesCount() - 1).item- the item index (in the range0togetItemCount(series)).
- Returns:
- The y-value.
- See Also:
getY(int,int)