org.jfree.chart.entity
Class LegendItemEntity
- Cloneable, PublicCloneable, Serializable
implements Cloneable, Serializable
An entity that represents an item within a legend.
Object | clone() - Returns a clone of the entity.
|
boolean | equals(Object obj) - Tests this object for equality with an arbitrary object.
|
int | getSeriesIndex() - Returns the series index.
|
void | setSeriesIndex(int index) - Sets the series index.
|
clone , equals , getArea , getImageMapAreaTag , getShapeCoords , getShapeType , getToolTipText , getURLText , setArea , setToolTipText , setURLText , toString |
LegendItemEntity
public LegendItemEntity(Shape area)
Creates a legend item entity.
clone
public Object clone()
throws CloneNotSupportedException
Returns a clone of the entity.
- clone in interface ChartEntity
equals
public boolean equals(Object obj)
Tests this object for equality with an arbitrary object.
- equals in interface ChartEntity
obj
- the object (null
permitted).
setSeriesIndex
public void setSeriesIndex(int index)
Sets the series index.
index
- the series index.