java.lang.Object | |
↳ | org.jfree.chart.annotations.AbstractXYAnnotation |
![]() |
![]() |
The interface that must be supported by annotations that are to be added to
an XYPlot
.
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new instance that has no tool tip or URL specified.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Draws the annotation.
| |||||||||||
Tests this annotation for equality with an arbitrary object.
| |||||||||||
Returns the tool tip text for the annotation.
| |||||||||||
Returns the URL for the annotation.
| |||||||||||
Returns a hash code for this instance.
| |||||||||||
Sets the tool tip text for the annotation.
| |||||||||||
Sets the URL for the annotation.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
A utility method for adding an
XYAnnotationEntity to
a PlotRenderingInfo instance. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Creates a new instance that has no tool tip or URL specified.
Draws the annotation.
g2 | the graphics device. |
---|---|
plot | the plot. |
dataArea | the data area. |
domainAxis | the domain axis. |
rangeAxis | the range axis. |
rendererIndex | the renderer index. |
info | if supplied, this info object will be populated with entity information. |
Tests this annotation for equality with an arbitrary object.
obj | the object (null permitted). |
---|
Returns the tool tip text for the annotation. This will be displayed in
a ChartPanel
when the mouse pointer hovers over
the annotation.
null
).Returns the URL for the annotation. This URL will be used to provide hyperlinks when an HTML image map is created for the chart.
null
).Returns a hash code for this instance.
Sets the tool tip text for the annotation.
text | the tool tip text (null permitted). |
---|
A utility method for adding an XYAnnotationEntity
to
a PlotRenderingInfo
instance.
info | the plot rendering info (null permitted). |
---|---|
hotspot | the hotspot area. |
rendererIndex | the renderer index. |
toolTipText | the tool tip text. |
urlText | the URL text. |