java.lang.Object | |
↳ | org.jfree.chart.LegendItemCollection |
A collection of legend items.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new legend item collection, initially empty.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a legend item to the collection.
| |||||||||||
Adds the legend items from another collection to this collection.
| |||||||||||
Returns a clone of the collection.
| |||||||||||
Tests this collection for equality with an arbitrary object.
| |||||||||||
Returns a legend item from the collection.
| |||||||||||
Returns the number of legend items in the collection.
| |||||||||||
Returns an iterator that provides access to all the legend items.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Constructs a new legend item collection, initially empty.
Adds a legend item to the collection.
item | the item to add. |
---|
Adds the legend items from another collection to this collection.
collection | the other collection. |
---|
Returns a clone of the collection.
CloneNotSupportedException | if an item in the collection is not cloneable. |
---|
Tests this collection for equality with an arbitrary object.
obj | the object (null permitted). |
---|
Returns a legend item from the collection.
index | the legend item index (zero-based). |
---|
Returns the number of legend items in the collection.
Returns an iterator that provides access to all the legend items.