| java.lang.Object | ||
| ↳ | org.jfree.chart.annotations.TextAnnotation | |
| ↳ | org.jfree.chart.annotations.CategoryTextAnnotation | |
Known Direct Subclasses
|
A text annotation that can be placed on a CategoryPlot.
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.jfree.chart.annotations.TextAnnotation
| |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.jfree.chart.annotations.TextAnnotation
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new annotation to be displayed at the given location.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns a clone of the annotation.
| |||||||||||
Draws the annotation.
| |||||||||||
Tests this object for equality with another.
| |||||||||||
Returns the category.
| |||||||||||
Returns the category anchor point.
| |||||||||||
Returns the value that the annotation attaches to.
| |||||||||||
Returns a hash code for this instance.
| |||||||||||
Sets the category that the annotation attaches to.
| |||||||||||
Sets the category anchor point.
| |||||||||||
Sets the value.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.jfree.chart.annotations.TextAnnotation
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.jfree.chart.annotations.CategoryAnnotation
| |||||||||||
Creates a new annotation to be displayed at the given location.
| text | the text (null not permitted). |
|---|---|
| category | the category (null not permitted). |
| value | the value. |
Returns a clone of the annotation.
| CloneNotSupportedException | this class will not throw this exception, but subclasses (if any) might. |
|---|
Draws the annotation.
| g2 | the graphics device. |
|---|---|
| plot | the plot. |
| dataArea | the data area. |
| domainAxis | the domain axis. |
| rangeAxis | the range axis. |
Tests this object for equality with another.
| obj | the object (null permitted). |
|---|
true or false.
Returns the category anchor point.
Returns a hash code for this instance.
Sets the category that the annotation attaches to.
| category | the category (null not permitted). |
|---|
Sets the category anchor point.
| anchor | the anchor point (null not permitted). |
|---|