org.jfree.chart.annotations
Interface CategoryAnnotation

All Superinterfaces:
Annotation
All Known Implementing Classes:
CategoryTextAnnotation

public interface CategoryAnnotation
extends Annotation

The interface that must be supported by annotations that are to be added to an CategoryPlot.

Author:
David Gilbert

Method Summary
 void draw(java.awt.Graphics2D g2, CategoryPlot plot, java.awt.geom.Rectangle2D dataArea, CategoryAxis domainAxis, ValueAxis rangeAxis)
          Draws the annotation.
 

Method Detail

draw

public void draw(java.awt.Graphics2D g2,
                 CategoryPlot plot,
                 java.awt.geom.Rectangle2D dataArea,
                 CategoryAxis domainAxis,
                 ValueAxis rangeAxis)
Draws the annotation.

Parameters:
g2 - the graphics device.
plot - the plot.
dataArea - the data area.
domainAxis - the domain axis.
rangeAxis - the range axis.