public class XYAnnotationEntity extends ChartEntity implements Serializable
XYPlot
.Constructor and Description |
---|
XYAnnotationEntity(Shape hotspot,
int rendererIndex,
String toolTipText,
String urlText)
Creates a new entity.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(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(Shape hotspot, int rendererIndex, String toolTipText, 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(Object obj)
equals
in class ChartEntity
obj
- the object (null
permitted).Copyright © 2000-2009 by Object Refinery Limited. All Rights Reserved.