public class AxisAnnotationEntity
extends org.jfree.chart.entity.ChartEntity
implements java.io.Serializable
XYPlot.| Constructor and Description |
|---|
AxisAnnotationEntity(java.awt.Shape hotspot,
int rendererIndex,
java.lang.String toolTipText,
java.lang.String urlText,
AxisAnnotation annotation)
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.
|
AxisAnnotation |
getAnnotation()
Gets the annotation.
|
int |
getRendererIndex()
Returns the renderer index.
|
void |
setRendererIndex(int index)
Sets the renderer index.
|
public AxisAnnotationEntity(java.awt.Shape hotspot,
int rendererIndex,
java.lang.String toolTipText,
java.lang.String urlText,
AxisAnnotation annotation)
hotspot - the area.rendererIndex - the rendererIndex (zero-based index).toolTipText - the tool tip text.urlText - the URL text for HTML image maps.annotation - the annotationpublic int getRendererIndex()
public AxisAnnotation getAnnotation()
public void setRendererIndex(int index)
index - the item index (zero-based).public boolean equals(java.lang.Object obj)
equals in class org.jfree.chart.entity.ChartEntityobj - the object (null permitted).