public class XYAnnotationEntity extends ChartEntity implements java.io.Serializable
XYPlot
.Constructor and Description |
---|
XYAnnotationEntity(java.awt.Shape hotspot,
int rendererIndex,
java.lang.String toolTipText,
java.lang.String urlText)
Creates a new entity.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Tests the entity for equality with an arbitrary object.
|
int |
getRendererIndex()
Returns the renderer index.
|
void |
setRendererIndex(int index)
Sets the renderer index.
|
clone, getArea, getImageMapAreaTag, getShapeCoords, getShapeType, getToolTipText, getURLText, hashCode, setArea, setToolTipText, setURLText, toString
public XYAnnotationEntity(java.awt.Shape hotspot, int rendererIndex, java.lang.String toolTipText, java.lang.String urlText)
hotspot
- the area.rendererIndex
- the rendererIndex (zero-based index).toolTipText
- the tool tip text.urlText
- the URL text for HTML image maps.public int getRendererIndex()
public void setRendererIndex(int index)
index
- the item index (zero-based).public boolean equals(java.lang.Object obj)
equals
in class ChartEntity
obj
- the object (null
permitted).