| java.lang.Object org.jfree.chart.annotations.AbstractXYAnnotation org.jfree.chart.annotations.XYDrawableAnnotation
Constructor Summary | |
public | XYDrawableAnnotation(double x, double y, double width, double height, Drawable drawable) Creates a new annotation to be displayed within the given area. |
XYDrawableAnnotation | public XYDrawableAnnotation(double x, double y, double width, double height, Drawable drawable)(Code) | | Creates a new annotation to be displayed within the given area.
Parameters: x - the x-coordinate for the area. Parameters: y - the y-coordinate for the area. Parameters: width - the width of the area. Parameters: height - the height of the area. Parameters: drawable - the drawable object (null not permitted). |
draw | public void draw(Graphics2D g2, XYPlot plot, Rectangle2D dataArea, ValueAxis domainAxis, ValueAxis rangeAxis, int rendererIndex, PlotRenderingInfo info)(Code) | | 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. Parameters: rendererIndex - the renderer index. Parameters: info - if supplied, this info object will be populated withentity information. |
equals | public boolean equals(Object obj)(Code) | | Tests this annotation for equality with an arbitrary object.
Parameters: obj - the object to test against. true or false . |
hashCode | public int hashCode()(Code) | | Returns a hash code.
A hash code. |
Methods inherited from org.jfree.chart.annotations.AbstractXYAnnotation | protected void addEntity(PlotRenderingInfo info, Shape hotspot, int rendererIndex, String toolTipText, String urlText)(Code)(Java Doc) abstract public void draw(Graphics2D g2, XYPlot plot, Rectangle2D dataArea, ValueAxis domainAxis, ValueAxis rangeAxis, int rendererIndex, PlotRenderingInfo info)(Code)(Java Doc) public boolean equals(Object obj)(Code)(Java Doc) public String getToolTipText()(Code)(Java Doc) public String getURL()(Code)(Java Doc) public int hashCode()(Code)(Java Doc) public void setToolTipText(String text)(Code)(Java Doc) public void setURL(String url)(Code)(Java Doc)
|
|
|