org.jfree.chart.entity
Class LegendItemEntity

java.lang.Object
  extended byorg.jfree.chart.entity.ChartEntity
      extended byorg.jfree.chart.entity.LegendItemEntity

public class LegendItemEntity
extends ChartEntity

An entity that represents an item within a legend.

Author:
David Gilbert

Constructor Summary
LegendItemEntity(java.awt.Shape area)
          Creates a legend item entity.
 
Method Summary
 int getSeriesIndex()
          Returns the series index.
 void setSeriesIndex(int index)
          Sets the series index.
 
Methods inherited from class org.jfree.chart.entity.ChartEntity
getArea, getImageMapAreaTag, getShapeCoords, getShapeType, getToolTipText, getURLText, setArea, setToolTipText, setURLText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LegendItemEntity

public LegendItemEntity(java.awt.Shape area)
Creates a legend item entity.

Parameters:
area - the area.
Method Detail

getSeriesIndex

public int getSeriesIndex()
Returns the series index.

Returns:
The series index.

setSeriesIndex

public void setSeriesIndex(int index)
Sets the series index.

Parameters:
index - the series index.