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 Details

    • ContourEntity

      public ContourEntity​(Shape area, String toolTipText)
      Constructor for ContourEntity.
      Parameters:
      area - the area.
      toolTipText - the tooltip text.
    • ContourEntity

      public ContourEntity​(Shape area, String toolTipText, String urlText)
      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

      public boolean equals​(Object obj)
      Tests the entity for equality with an arbitrary object.
      Overrides:
      equals in class ChartEntity
      Parameters:
      obj - the object (null permitted).
      Returns:
      A boolean.
    • clone

      public Object clone() throws CloneNotSupportedException
      Returns a clone of the entity.
      Overrides:
      clone in class ChartEntity
      Returns:
      A clone.
      Throws:
      CloneNotSupportedException - if cloning is not supported.