Package org.jfree.chart.entity
Class ContourEntity
java.lang.Object
org.jfree.chart.entity.ChartEntity
org.jfree.chart.entity.ContourEntity
- All Implemented Interfaces:
Serializable
,Cloneable
public class ContourEntity extends ChartEntity implements Cloneable, Serializable
Represents an item on a contour chart.
- Author:
- David M. O'Donnell
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ContourEntity(Shape area, String toolTipText)
Constructor for ContourEntity.ContourEntity(Shape area, String toolTipText, String urlText)
Constructor for ContourEntity. -
Method Summary
Methods inherited from class org.jfree.chart.entity.ChartEntity
getArea, getImageMapAreaTag, getShapeCoords, getShapeType, getToolTipText, getURLText, setArea, setToolTipText, setURLText
-
Constructor Details
-
ContourEntity
Constructor for ContourEntity.- Parameters:
area
- the area.toolTipText
- the tooltip text.
-
ContourEntity
Constructor for ContourEntity.- Parameters:
area
- the area.toolTipText
- the tooltip text.urlText
- the URL text.
-
-
Method Details
-
getIndex
public int getIndex()Returns the index.- Returns:
- The index.
-
setIndex
public void setIndex(int index)Sets the index.- Parameters:
index
- the index.
-
equals
Tests the entity for equality with an arbitrary object.- Overrides:
equals
in classChartEntity
- Parameters:
obj
- the object (null
permitted).- Returns:
- A boolean.
-
clone
Returns a clone of the entity.- Overrides:
clone
in classChartEntity
- Returns:
- A clone.
- Throws:
CloneNotSupportedException
- if cloning is not supported.
-