| java.lang.Object | ||
| ↳ | org.jfree.chart.annotations.AbstractXYAnnotation | |
| ↳ | org.jfree.chart.annotations.XYShapeAnnotation | |
A simple Shape annotation that can be placed on an
XYPlot. The shape coordinates are specified in data space.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new annotation (where, by default, the shape is drawn
with a black outline).
| |||||||||||
Creates a new annotation where the shape is drawn as an outline using
the specified
stroke and outlinePaint. | |||||||||||
Creates a new annotation.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns a clone.
| |||||||||||
Draws the annotation.
| |||||||||||
Tests this annotation for equality with an arbitrary object.
| |||||||||||
Returns a hash code for this instance.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.jfree.chart.annotations.AbstractXYAnnotation
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.jfree.chart.annotations.XYAnnotation
| |||||||||||
Creates a new annotation (where, by default, the shape is drawn with a black outline).
| shape | the shape (coordinates in data space, null
not permitted).
|
|---|
Creates a new annotation where the shape is drawn as an outline using
the specified stroke and outlinePaint.
| shape | the shape (null not permitted). |
|---|---|
| stroke | the shape stroke (null permitted). |
| outlinePaint | the shape color (null permitted).
|
Creates a new annotation.
| shape | the shape (null not permitted). |
|---|---|
| stroke | the shape stroke (null permitted). |
| outlinePaint | the shape color (null permitted). |
| fillPaint | the paint used to fill the shape (null
permitted.
|
Draws the annotation. This method is usually called by the
XYPlot class, you shouldn't need to call it directly.
| g2 | the graphics device. |
|---|---|
| plot | the plot. |
| dataArea | the data area. |
| domainAxis | the domain axis. |
| rangeAxis | the range axis. |
| rendererIndex | the renderer index. |
| info | the plot rendering info. |
Tests this annotation for equality with an arbitrary object.
| obj | the object (null permitted). |
|---|
Returns a hash code for this instance.