| org.jfree.data.xy.AbstractXYDataset org.jfree.data.xy.AbstractIntervalXYDataset org.jfree.data.xy.XYBarDataset
Method Summary | |
public Object | clone() Returns an independent copy of the dataset. | public void | datasetChanged(DatasetChangeEvent event) Receives notification of an dataset change event. | public boolean | equals(Object obj) Tests this dataset for equality with an arbitrary object.
Parameters: obj - the object (null permitted). | public double | getBarWidth() Returns the bar width. | 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 double | getEndXValue(int series, int item) Returns the ending x-value (as a double primitive) for an item within
a series.
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 | getEndYValue(int series, int item) Returns the ending y-value (as a double primitive) for an item within
a series. | public int | getItemCount(int series) Returns the number of items in a series.
Parameters: series - the series index (zero-based). | public int | getSeriesCount() Returns the number of series in the dataset. | public Comparable | getSeriesKey(int series) Returns the key for a series.
Parameters: series - the series index (in the range 0 to getSeriesCount() - 1 ). | 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 double | getStartXValue(int series, int item) Returns the starting x-value (as a double primitive) for an item within
a series.
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 double | getStartYValue(int series, int item) Returns the starting y-value (as a double primitive) for an item within
a series. | public XYDataset | getUnderlyingDataset() Returns the underlying dataset that was specified via the constructor. | public Number | getX(int series, int item) Returns the x-value for an item within a series. | public double | getXValue(int series, int item) Returns the x-value (as a double primitive) for an item within a series.
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 an item within a series.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). | public double | getYValue(int series, int item) Returns the y-value (as a double primitive) for an item within a series.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). | public void | setBarWidth(double barWidth) Sets the bar width and sends a
DatasetChangeEvent to all
registered listeners. |
XYBarDataset | public XYBarDataset(XYDataset underlying, double barWidth)(Code) | | Creates a new dataset.
Parameters: underlying - the underlying dataset (null not permitted). Parameters: barWidth - the width of the bars. |
clone | public Object clone() throws CloneNotSupportedException(Code) | | Returns an independent copy of the dataset. Note that:
- the underlying dataset is only cloned if it implements the
PublicCloneable interface;
- the listeners registered with this dataset are not carried over to
the cloned dataset.
An independent copy of the dataset. throws: CloneNotSupportedException - if the dataset cannot be cloned for any reason. |
datasetChanged | public void datasetChanged(DatasetChangeEvent event)(Code) | | Receives notification of an dataset change event.
Parameters: event - information about the event. |
equals | public boolean equals(Object obj)(Code) | | Tests this dataset for equality with an arbitrary object.
Parameters: obj - the object (null permitted). A boolean. |
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 value. |
getEndXValue | public double getEndXValue(int series, int item)(Code) | | Returns the ending x-value (as a double primitive) for an item within
a series.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). The value. See Also: XYBarDataset.getXValue(int,int) |
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 value. |
getEndYValue | public double getEndYValue(int series, int item)(Code) | | Returns the ending y-value (as a double primitive) for an item within
a series.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). The value. See Also: XYBarDataset.getYValue(int,int) |
getItemCount | public int getItemCount(int series)(Code) | | Returns the number of items in a series.
Parameters: series - the series index (zero-based). The item count. |
getSeriesCount | public int getSeriesCount()(Code) | | Returns the number of series in the dataset.
The series count. |
getSeriesKey | public Comparable getSeriesKey(int series)(Code) | | Returns the key for a series.
Parameters: series - the series index (in the range 0 to getSeriesCount() - 1 ). The series key. |
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 value. |
getStartXValue | public double getStartXValue(int series, int item)(Code) | | Returns the starting x-value (as a double primitive) for an item within
a series.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). The value. See Also: XYBarDataset.getXValue(int,int) |
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 value. |
getStartYValue | public double getStartYValue(int series, int item)(Code) | | Returns the starting y-value (as a double primitive) for an item within
a series.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). The value. See Also: XYBarDataset.getYValue(int,int) |
getUnderlyingDataset | public XYDataset getUnderlyingDataset()(Code) | | Returns the underlying dataset that was specified via the constructor.
The underlying dataset (never null ). since: 1.0.4 |
getX | public Number getX(int series, int item)(Code) | | Returns the x-value for an item within a series.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). The x-value. See Also: XYBarDataset.getXValue(int,int) |
getXValue | public double getXValue(int series, int item)(Code) | | Returns the x-value (as a double primitive) for an item within a series.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). The value. See Also: XYBarDataset.getX(int,int) |
getY | public Number getY(int series, int item)(Code) | | Returns the y-value for an item within a series.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). The y-value (possibly null ). See Also: XYBarDataset.getYValue(int,int) |
getYValue | public double getYValue(int series, int item)(Code) | | Returns the y-value (as a double primitive) for an item within a series.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). The value. See Also: XYBarDataset.getY(int,int) |
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)
|
|
|