java.lang.Object | ||
↳ | org.jfree.chart.entity.ChartEntity | |
↳ | org.jfree.chart.entity.LegendItemEntity |
An entity that represents an item within a legend.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a legend item entity.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a clone of the entity.
| |||||||||||
Tests this object for equality with an arbitrary object.
| |||||||||||
Returns a reference to the dataset that this legend item is derived
from.
| |||||||||||
This method is deprecated.
As of 1.0.6, use the
getSeriesKey() method.
| |||||||||||
Returns the series key that identifies the legend item.
| |||||||||||
Sets a reference to the dataset that this legend item is derived from.
| |||||||||||
This method is deprecated.
As of 1.0.6, use the
setSeriesKey(Comparable)
method.
| |||||||||||
Sets the key for the series.
| |||||||||||
Returns a string representing this object (useful for debugging
purposes).
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Returns a clone of the entity.
CloneNotSupportedException | if there is a problem cloning the object. |
---|
Tests this object for equality with an arbitrary object.
obj | the object (null permitted). |
---|
Returns a reference to the dataset that this legend item is derived from.
This method is deprecated.
As of 1.0.6, use the getSeriesKey()
method.
Returns the series index.
Returns the series key that identifies the legend item.
Sets a reference to the dataset that this legend item is derived from.
dataset | the dataset. |
---|
This method is deprecated.
As of 1.0.6, use the setSeriesKey(Comparable)
method.
Sets the series index.
index | the series index. |
---|
Returns a string representing this object (useful for debugging purposes).
null
).