| org.jfree.data.xy.AbstractXYDataset org.jfree.data.xy.AbstractIntervalXYDataset org.jfree.data.xy.CategoryTableXYDataset
Method Summary | |
public void | add(double x, double y, String seriesName) Adds a data item to this dataset and sends a
DatasetChangeEvent
to all registered listeners. | public void | add(Number x, Number y, String seriesName, boolean notify) Adds a data item to this dataset and, if requested, sends a
DatasetChangeEvent to all registered listeners. | public boolean | equals(Object obj) Tests this dataset for equality with an arbitrary object.
Parameters: obj - the object (null permitted). | public Range | getDomainBounds(boolean includeInterval) Returns the range of the values in this dataset's domain.
Parameters: includeInterval - a flag that determines whether or not thex-interval is taken into account. | public double | getDomainLowerBound(boolean includeInterval) Returns the minimum x-value in the dataset.
Parameters: includeInterval - a flag that determines whether or not thex-interval is taken into account. | public double | getDomainUpperBound(boolean includeInterval) Returns the maximum x-value in the dataset.
Parameters: includeInterval - a flag that determines whether or not thex-interval is taken into account. | public Number | getEndX(int series, int item) Returns the ending X value for the specified series and item.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). | public Number | getEndY(int series, int item) Returns the ending Y value for the specified series and item.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). | public double | getIntervalPositionFactor() Returns the interval position factor. | public double | getIntervalWidth() Returns the full interval width. | public int | getItemCount() Returns the number of x values in the dataset. | public int | getItemCount(int series) Returns the number of items in the specified series.
Returns the same as
CategoryTableXYDataset.getItemCount .
Parameters: series - the series index (zero-based). | public int | getSeriesCount() Returns the number of series in the collection. | public Comparable | getSeriesKey(int series) Returns the key for a series.
Parameters: series - the series index (zero-based). | public Number | getStartX(int series, int item) Returns the starting X value for the specified series and item.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). | public Number | getStartY(int series, int item) Returns the starting Y value for the specified series and item.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). | public Number | getX(int series, int item) Returns the x-value for the specified series and item.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). | public Number | getY(int series, int item) Returns the y-value for the specified series and item.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). | public boolean | isAutoWidth() Returns whether the interval width is automatically calculated or not. | public void | remove(double x, String seriesName) Removes a value from the dataset. | public void | remove(Number x, String seriesName, boolean notify) Removes an item from the dataset. | public void | setAutoWidth(boolean b) Sets the flag that indicates whether the interval width is automatically
calculated or not. | public void | setIntervalPositionFactor(double d) Sets the interval position factor. | public void | setIntervalWidth(double d) Sets the interval width to a fixed value, and sends a
DatasetChangeEvent to all registered listeners. |
CategoryTableXYDataset | public CategoryTableXYDataset()(Code) | | Creates a new empty CategoryTableXYDataset.
|
add | public void add(double x, double y, String seriesName)(Code) | | Adds a data item to this dataset and sends a
DatasetChangeEvent
to all registered listeners.
Parameters: x - the x value. Parameters: y - the y value. Parameters: seriesName - the name of the series to add the data item. |
add | public void add(Number x, Number y, String seriesName, boolean notify)(Code) | | Adds a data item to this dataset and, if requested, sends a
DatasetChangeEvent to all registered listeners.
Parameters: x - the x value. Parameters: y - the y value. Parameters: seriesName - the name of the series to add the data item. Parameters: notify - notify listeners? |
equals | public boolean equals(Object obj)(Code) | | Tests this dataset for equality with an arbitrary object.
Parameters: obj - the object (null permitted). A boolean. |
getDomainBounds | public Range getDomainBounds(boolean includeInterval)(Code) | | Returns the range of the values in this dataset's domain.
Parameters: includeInterval - a flag that determines whether or not thex-interval is taken into account. The range. |
getDomainLowerBound | public double getDomainLowerBound(boolean includeInterval)(Code) | | Returns the minimum x-value in the dataset.
Parameters: includeInterval - a flag that determines whether or not thex-interval is taken into account. The minimum value. |
getDomainUpperBound | public double getDomainUpperBound(boolean includeInterval)(Code) | | Returns the maximum x-value in the dataset.
Parameters: includeInterval - a flag that determines whether or not thex-interval is taken into account. The maximum value. |
getEndX | public Number getEndX(int series, int item)(Code) | | Returns the ending X value for the specified series and item.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). The ending X value. |
getEndY | public Number getEndY(int series, int item)(Code) | | Returns the ending Y value for the specified series and item.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). The ending Y value. |
getIntervalPositionFactor | public double getIntervalPositionFactor()(Code) | | Returns the interval position factor.
The interval position factor. |
getIntervalWidth | public double getIntervalWidth()(Code) | | Returns the full interval width.
The interval width to use. |
getItemCount | public int getItemCount()(Code) | | Returns the number of x values in the dataset.
The item count. |
getItemCount | public int getItemCount(int series)(Code) | | Returns the number of items in the specified series.
Returns the same as
CategoryTableXYDataset.getItemCount .
Parameters: series - the series index (zero-based). The item count. |
getSeriesCount | public int getSeriesCount()(Code) | | Returns the number of series in the collection.
The series count. |
getSeriesKey | public Comparable getSeriesKey(int series)(Code) | | Returns the key for a series.
Parameters: series - the series index (zero-based). The key for a series. |
getStartX | public Number getStartX(int series, int item)(Code) | | Returns the starting X value for the specified series and item.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). The starting X value. |
getStartY | public Number getStartY(int series, int item)(Code) | | Returns the starting Y value for the specified series and item.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). The starting Y value. |
getX | public Number getX(int series, int item)(Code) | | Returns the x-value for the specified series and item.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). The value. |
getY | public Number getY(int series, int item)(Code) | | Returns the y-value for the specified series and item.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). The y value (possibly null ). |
isAutoWidth | public boolean isAutoWidth()(Code) | | Returns whether the interval width is automatically calculated or not.
whether the width is automatically calculated or not. |
remove | public void remove(double x, String seriesName)(Code) | | Removes a value from the dataset.
Parameters: x - the x-value. Parameters: seriesName - the series name. |
remove | public void remove(Number x, String seriesName, boolean notify)(Code) | | Removes an item from the dataset.
Parameters: x - the x-value. Parameters: seriesName - the series name. Parameters: notify - notify listeners? |
setAutoWidth | public void setAutoWidth(boolean b)(Code) | | Sets the flag that indicates whether the interval width is automatically
calculated or not.
Parameters: b - the flag. |
setIntervalPositionFactor | public void setIntervalPositionFactor(double d)(Code) | | Sets the interval position factor. Must be between 0.0 and 1.0 inclusive.
If the factor is 0.5, the gap is in the middle of the x values. If it
is lesser than 0.5, the gap is farther to the left and if greater than
0.5 it gets farther to the right.
Parameters: d - the new interval position factor. |
setIntervalWidth | public void setIntervalWidth(double d)(Code) | | Sets the interval width to a fixed value, and sends a
DatasetChangeEvent to all registered listeners.
Parameters: d - the new interval width (must be > 0). |
Methods inherited from org.jfree.data.xy.AbstractIntervalXYDataset | public double getEndXValue(int series, int item)(Code)(Java Doc) public double getEndYValue(int series, int item)(Code)(Java Doc) public double getStartXValue(int series, int item)(Code)(Java Doc) public double getStartYValue(int series, int item)(Code)(Java Doc)
|
|
|