|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the methods that a collection of entities is required to implement.
Method Summary | |
void |
addEntity(ChartEntity entity)
Adds an entity to the collection. |
void |
clear()
Clears all entities. |
ChartEntity |
getEntity(double x,
double y)
Returns an entity whose area contains the specified point. |
java.util.Iterator |
iterator()
Returns an iterator for the entities in the collection. |
Method Detail |
public void clear()
public void addEntity(ChartEntity entity)
entity
- the entity.public ChartEntity getEntity(double x, double y)
x
- the x coordinate.y
- the y coordinate.
public java.util.Iterator iterator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |