|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jfree.chart.entity.StandardEntityCollection
A default implementation of the EntityCollection interface.
Constructor Summary | |
StandardEntityCollection()
Constructs a new entity collection (initially empty). |
Method Summary | |
void |
addEntity(ChartEntity entity)
Adds an entity. |
void |
clear()
Clears the entities. |
ChartEntity |
getEntity(double x,
double y)
Returns an entity for the specified coordinates. |
java.util.Iterator |
iterator()
Returns an iterator for the entities in the collection. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StandardEntityCollection()
Method Detail |
public void clear()
clear
in interface EntityCollection
public void addEntity(ChartEntity entity)
addEntity
in interface EntityCollection
entity
- the entity.public ChartEntity getEntity(double x, double y)
getEntity
in interface EntityCollection
x
- the x coordinate.y
- the y coordinate.
public java.util.Iterator iterator()
iterator
in interface EntityCollection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |