|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.jrefinery.chart.LegendItemCollection
public class LegendItemCollection
A collection of legend items.
| Field Summary | |
|---|---|
protected java.util.List |
items
Storage for the 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 |
draw(java.awt.Graphics2D g2,
double x,
double y)
Draws the legend item collection at the specified location. |
java.util.Iterator |
iterator()
Returns an iterator that provides access to all the legend items. |
void |
layoutLegendItems(LegendItemLayout layout)
Arranges the legend items according to a specific layout. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.List items
| Constructor Detail |
|---|
public LegendItemCollection()
| Method Detail |
|---|
public void add(LegendItem item)
public java.util.Iterator iterator()
public void layoutLegendItems(LegendItemLayout layout)
public void draw(java.awt.Graphics2D g2,
double x,
double y)
g2 - The graphics device.x - The x location.y - The y location.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||