org.jfree.data.xy
public class XYBarDataset extends AbstractIntervalXYDataset implements IntervalXYDataset, DatasetChangeListener
Constructor Summary | |
---|---|
XYBarDataset(XYDataset underlying, double barWidth)
Creates a new dataset.
|
Method Summary | |
---|---|
Object | clone()
Returns an independent copy of the dataset. |
void | datasetChanged(DatasetChangeEvent event)
Receives notification of an dataset change event.
|
boolean | equals(Object obj)
Tests this dataset for equality with an arbitrary object.
|
double | getBarWidth()
Returns the bar width.
|
Number | getEndX(int series, int item)
Returns the ending X value for the specified series and item.
|
double | getEndXValue(int series, int item)
Returns the ending x-value (as a double primitive) for an item within
a series.
|
Number | getEndY(int series, int item)
Returns the ending Y value for the specified series and item.
|
double | getEndYValue(int series, int item)
Returns the ending y-value (as a double primitive) for an item within
a series.
|
int | getItemCount(int series)
Returns the number of items in a series.
|
int | getSeriesCount()
Returns the number of series in the dataset.
|
Comparable | getSeriesKey(int series)
Returns the key for a series.
|
Number | getStartX(int series, int item)
Returns the starting X value for the specified series and item.
|
double | getStartXValue(int series, int item)
Returns the starting x-value (as a double primitive) for an item within
a series.
|
Number | getStartY(int series, int item)
Returns the starting Y value for the specified series and item.
|
double | getStartYValue(int series, int item)
Returns the starting y-value (as a double primitive) for an item within
a series.
|
XYDataset | getUnderlyingDataset()
Returns the underlying dataset that was specified via the constructor.
|
Number | getX(int series, int item)
Returns the x-value for an item within a series.
|
double | getXValue(int series, int item)
Returns the x-value (as a double primitive) for an item within a series.
|
Number | getY(int series, int item)
Returns the y-value for an item within a series.
|
double | getYValue(int series, int item)
Returns the y-value (as a double primitive) for an item within a series.
|
void | setBarWidth(double barWidth)
Sets the bar width and sends a DatasetChangeEvent to all
registered listeners.
|
Parameters: underlying the underlying dataset (null
not
permitted). barWidth the width of the bars.
Returns: An independent copy of the dataset.
Throws: CloneNotSupportedException if the dataset cannot be cloned for any reason.
Parameters: event information about the event.
Parameters: obj the object (null
permitted).
Returns: A boolean.
Parameters: series the series index (zero-based). item the item index (zero-based).
Returns: The value.
Parameters: series the series index (zero-based). item the item index (zero-based).
Returns: The value.
See Also: XYBarDataset
Parameters: series the series index (zero-based). item the item index (zero-based).
Returns: The value.
Parameters: series the series index (zero-based). item the item index (zero-based).
Returns: The value.
See Also: XYBarDataset
Parameters: series the series index (zero-based).
Returns: The item count.
Returns: The series count.
Parameters: series the series index (in the range 0
to
getSeriesCount() - 1
).
Returns: The series key.
Parameters: series the series index (zero-based). item the item index (zero-based).
Returns: The value.
Parameters: series the series index (zero-based). item the item index (zero-based).
Returns: The value.
See Also: XYBarDataset
Parameters: series the series index (zero-based). item the item index (zero-based).
Returns: The value.
Parameters: series the series index (zero-based). item the item index (zero-based).
Returns: The value.
See Also: XYBarDataset
Returns: The underlying dataset (never null
).
Since: 1.0.4
Parameters: series the series index (zero-based). item the item index (zero-based).
Returns: The x-value.
See Also: XYBarDataset
Parameters: series the series index (zero-based). item the item index (zero-based).
Returns: The value.
See Also: XYBarDataset
Parameters: series the series index (zero-based). item the item index (zero-based).
Returns: The y-value (possibly null
).
See Also: XYBarDataset
Parameters: series the series index (zero-based). item the item index (zero-based).
Returns: The value.
See Also: XYBarDataset
Parameters: barWidth the bar width.
Since: 1.0.4
See Also: getBarWidth