## Uses of Class
org.jfree.data.xy.XYDataItem

Packages that use XYDataItem
Package | Description
--- | ---
org.jfree.data.xy | A package containing the `XYDataset` interface and related classes.

### Uses of XYDataItem in org.jfree.data.xy

Methods in org.jfree.data.xy that return XYDataItem
Modifier and Type | Method and Description
--- | ---
`XYDataItem` | XYSeries.`addOrUpdate(double x, double y)` Adds or updates an item in the series and sends a `SeriesChangeEvent` to all registered listeners.
`XYDataItem` | XYSeries.`addOrUpdate(java.lang.Number x, java.lang.Number y)` Adds or updates an item in the series and sends a `SeriesChangeEvent` to all registered listeners.
`XYDataItem` | XYSeries.`addOrUpdate(XYDataItem item)` Adds or updates an item in the series and sends a `SeriesChangeEvent` to all registered listeners.
`XYDataItem` | XYSeries.`getDataItem(int index)` Return the data item with the specified index.
`XYDataItem` | XYSeries.`remove(int index)` Removes the item at the specified index and sends a `SeriesChangeEvent` to all registered listeners.
`XYDataItem` | XYSeries.`remove(java.lang.Number x)` Removes an item with the specified x-value and sends a `SeriesChangeEvent` to all registered listeners.

Methods in org.jfree.data.xy with parameters of type XYDataItem
Modifier and Type | Method and Description
--- | ---
`void` | XYSeries.`add(XYDataItem item)` Adds a data item to the series and sends a `SeriesChangeEvent` to all registered listeners.
`void` | XYSeries.`add(XYDataItem item, boolean notify)` Adds a data item to the series and, if requested, sends a `SeriesChangeEvent` to all registered listeners.
`XYDataItem` | XYSeries.`addOrUpdate(XYDataItem item)` Adds or updates an item in the series and sends a `SeriesChangeEvent` to all registered listeners.