java.lang.Object | ||
↳ | org.jfree.chart.annotations.AbstractXYAnnotation | |
↳ | org.jfree.chart.annotations.XYTitleAnnotation |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new annotation to be displayed at the specified (x, y)
location.
| |||||||||||
Creates a new annotation to be displayed at the specified (x, y)
location.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a clone of the annotation.
| |||||||||||
Draws the annotation.
| |||||||||||
Tests this object for equality with an arbitrary object.
| |||||||||||
Returns the coordinate type (set in the constructor).
| |||||||||||
Returns the maximum height.
| |||||||||||
Returns the maximum width.
| |||||||||||
Returns the title for the annotation.
| |||||||||||
Returns the title anchor for the annotation.
| |||||||||||
Returns the x-coordinate for the annotation.
| |||||||||||
Returns the y-coordinate for the annotation.
| |||||||||||
Returns a hash code for this object.
| |||||||||||
Sets the maximum height.
| |||||||||||
Sets the maximum width.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Creates a new annotation to be displayed at the specified (x, y) location.
x | the x-coordinate (in data space). |
---|---|
y | the y-coordinate (in data space). |
title | the title (null not permitted).
|
Creates a new annotation to be displayed at the specified (x, y) location.
x | the x-coordinate (in data space). |
---|---|
y | the y-coordinate (in data space). |
title | the title (null not permitted). |
anchor | the title anchor (null not permitted).
|
Returns a clone of the annotation.
CloneNotSupportedException | if the annotation can't be cloned. |
---|
Draws the annotation. This method is called by the drawing code in the
XYPlot
class, you don't normally need to call this method
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 | if supplied, this info object will be populated with entity information. |
Tests this object for equality with an arbitrary object.
obj | the object (null permitted). |
---|
Returns the coordinate type (set in the constructor).
null
).
Returns the maximum height.
Returns the maximum width.
Returns the title anchor for the annotation.
Returns the x-coordinate for the annotation.
Returns the y-coordinate for the annotation.
Returns a hash code for this object.
Sets the maximum height.
max | the maximum height. |
---|
Sets the maximum width.
max | the maximum width (0.0 or less means no maximum). |
---|