## Uses of Interface
org.jfree.chart.annotations.XYAnnotation

Packages that use XYAnnotation
Package | Description
--- | ---
org.jfree.chart | Core classes, including `JFreeChart` and `ChartPanel`.
org.jfree.chart.annotations | A framework for addings annotations to charts.
org.jfree.chart.plot | Plot classes and related interfaces.
org.jfree.chart.renderer.xy | Plug-in renderers for the `XYPlot` class.

### Uses of XYAnnotation in org.jfree.chart

Methods in org.jfree.chart with parameters of type XYAnnotation
Modifier and Type | Method and Description
--- | ---
`protected void` | StandardChartTheme.`applyToXYAnnotation(XYAnnotation annotation)` Applies the settings of this theme to the specified annotation.

### Uses of XYAnnotation in org.jfree.chart.annotations

Classes in org.jfree.chart.annotations that implement XYAnnotation
Modifier and Type | Class and Description
--- | ---
`class` | `AbstractXYAnnotation` The interface that must be supported by annotations that are to be added to an `XYPlot`.
`class` | `XYBoxAnnotation` A box annotation that can be placed on an `XYPlot`.
`class` | `XYDataImageAnnotation` An annotation that allows an image to be placed within a rectangle specified in data coordinates on an `XYPlot`.
`class` | `XYDrawableAnnotation` A general annotation that can be placed on an `XYPlot`.
`class` | `XYImageAnnotation` An annotation that allows an image to be placed at some location on an `XYPlot`.
`class` | `XYLineAnnotation` A simple line annotation that can be placed on an `XYPlot`.
`class` | `XYPointerAnnotation` An arrow and label that can be placed on an `XYPlot`.
`class` | `XYPolygonAnnotation` A polygon annotation that can be placed on an `XYPlot`.
`class` | `XYShapeAnnotation` A simple `Shape` annotation that can be placed on an `XYPlot`.
`class` | `XYTextAnnotation` A text annotation that can be placed at a particular (x, y) location on an `XYPlot`.
`class` | `XYTitleAnnotation` An annotation that allows any `Title` to be placed at a location on an `XYPlot`.

### Uses of XYAnnotation in org.jfree.chart.plot

Methods in org.jfree.chart.plot with parameters of type XYAnnotation
Modifier and Type | Method and Description
--- | ---
`void` | XYPlot.`addAnnotation(XYAnnotation annotation)` Adds an annotation to the plot and sends a `PlotChangeEvent` to all registered listeners.
`void` | ContourPlot.`addAnnotation(XYAnnotation annotation)` Deprecated. Adds an annotation to the plot.
`void` | XYPlot.`addAnnotation(XYAnnotation annotation, boolean notify)` Adds an annotation to the plot and, if requested, sends a `PlotChangeEvent` to all registered listeners.
`boolean` | XYPlot.`removeAnnotation(XYAnnotation annotation)` Removes an annotation from the plot and sends a `PlotChangeEvent` to all registered listeners.
`boolean` | XYPlot.`removeAnnotation(XYAnnotation annotation, boolean notify)` Removes an annotation from the plot and sends a `PlotChangeEvent` to all registered listeners.

### Uses of XYAnnotation in org.jfree.chart.renderer.xy

Methods in org.jfree.chart.renderer.xy with parameters of type XYAnnotation
Modifier and Type | Method and Description
--- | ---
`void` | XYItemRenderer.`addAnnotation(XYAnnotation annotation)` Adds an annotation and sends a `RendererChangeEvent` to all registered listeners.
`void` | AbstractXYItemRenderer.`addAnnotation(XYAnnotation annotation)` Adds an annotation and sends a `RendererChangeEvent` to all registered listeners.
`void` | XYItemRenderer.`addAnnotation(XYAnnotation annotation, org.jfree.ui.Layer layer)` Adds an annotation to the specified layer.
`void` | AbstractXYItemRenderer.`addAnnotation(XYAnnotation annotation, org.jfree.ui.Layer layer)` Adds an annotation to the specified layer and sends a `RendererChangeEvent` to all registered listeners.
`boolean` | XYItemRenderer.`removeAnnotation(XYAnnotation annotation)` Removes the specified annotation and sends a `RendererChangeEvent` to all registered listeners.
`boolean` | AbstractXYItemRenderer.`removeAnnotation(XYAnnotation annotation)` Removes the specified annotation and sends a `RendererChangeEvent` to all registered listeners.