org.jfree.chart.entity
Class XYAnnotationEntity
- Cloneable, PublicCloneable, Serializable
A chart entity that represents an annotation on an
XYPlot.
XYAnnotationEntity(Shape hotspot, int rendererIndex, String toolTipText, String urlText)- Creates a new entity.
|
clone, equals, getArea, getImageMapAreaTag, getShapeCoords, getShapeType, getToolTipText, getURLText, setArea, setToolTipText, setURLText, toString |
XYAnnotationEntity
public XYAnnotationEntity(Shape hotspot,
int rendererIndex,
String toolTipText,
String urlText) Creates a new entity.
hotspot - the area.rendererIndex - the rendererIndex (zero-based index).toolTipText - the tool tip text.urlText - the URL text for HTML image maps.
equals
public boolean equals(Object obj)
Tests the entity for equality with an arbitrary object.
- equals in interface ChartEntity
obj - the object (null permitted).
setRendererIndex
public void setRendererIndex(int index)
Sets the renderer index.
index - the item index (zero-based).