|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.chart.LegendItemCollection
public class LegendItemCollection
A collection of legend items.
Constructor Summary | |
---|---|
LegendItemCollection()
Constructs a new legend item collection, initially empty. |
Method Summary | |
---|---|
void |
add(LegendItem item)
Adds a legend item to the collection. |
void |
addAll(LegendItemCollection collection)
Adds the legend items from another collection to this collection. |
LegendItem |
get(int index)
Returns a legend item from the collection. |
int |
getItemCount()
Returns the number of legend items in the collection. |
java.util.Iterator |
iterator()
Returns an iterator that provides access to all the legend items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LegendItemCollection()
Method Detail |
---|
public void add(LegendItem item)
item
- the item to add.public void addAll(LegendItemCollection collection)
collection
- the other collection.public LegendItem get(int index)
index
- the legend item index (zero-based).
public int getItemCount()
public java.util.Iterator iterator()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |