Creates a new annotation to be displayed at the given location.
Parameters: text - the text (null not permitted). Parameters: category - the category (null not permitted). Parameters: value - the value.
Returns a clone of the annotation.
A clone. throws: CloneNotSupportedException - this class will not throw this exception, but subclasses (if any) might.
Draws the annotation.
Parameters: g2 - the graphics device. Parameters: plot - the plot. Parameters: dataArea - the data area. Parameters: domainAxis - the domain axis. Parameters: rangeAxis - the range axis.
Sets the category that the annotation attaches to.
Parameters: category - the category (null not permitted). See Also:CategoryTextAnnotation.getCategory()